Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS Formatter ignores content #68

Closed
apmasell opened this issue May 10, 2010 · 0 comments
Closed

RSS Formatter ignores content #68

apmasell opened this issue May 10, 2010 · 0 comments

Comments

@apmasell
Copy link

Some RSS feeds as parsed by XML::Feed have the content member filled out, not the summary. The content should be displayed if it is available.

diff -ur a/MojoMojo/Formatter/RSS.pm b/MojoMojo/Formatter/RSS.pm
--- a/MojoMojo/Formatter/RSS.pm 2010-05-10 10:32:15.000000000 -0400
+++ b/MojoMojo/Formatter/RSS.pm 2010-05-10 10:31:41.000000000 -0400
@@ -83,7 +83,7 @@
         $content .= '
' . '<h3><a href="'.$entry->link.'">' . ($entry->title||"no title").'</a></h3>' - . ($entry->summary->body||"")."</div>\n"; + . ($entry->content->body||$entry->summary->body||"")."</div>\n"; return $content if $count==$entries; } return $content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant