Skip to content

Commit

Permalink
- Add suggested commentrss to .info.
Browse files Browse the repository at this point in the history
  • Loading branch information
davereid committed Jan 3, 2009
1 parent ba367e5 commit 7413a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions feedburner.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
name = Feedburner
description = "Integrates with FeedBurner services, primarily feed redirection."
core = 6.x
suggests[] = commentrss
2 changes: 1 addition & 1 deletion feedburner.module
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function _feedburner_replace_feed_html(&$source) {
$internal_url = url($feed->path);
$external_url = url($feed->path, array('absolute' => TRUE));
$regex = '%(href=")'. preg_quote($internal_url, '/') .'(")|'. preg_quote($external_url, '/') .'%i';
$replace = '$1'. _feedburner_construct_url($feed->feedburner) . '$2';
$replace = '$1'. _feedburner_construct_url($feed->feedburner) .'$2';
$count = 0;
$source = preg_replace($regex, $replace, $source, -1, $count);
if ($count) {
Expand Down

0 comments on commit 7413a93

Please sign in to comment.