After looking at the "official feed" I decided that, as the reviews are usually pretty short, I would like to have them included in the feed. Which is done in gen_rss_cpanratings v 0.02.
The only changes are that the description is now built by capturing all the text of the review, markup and all. This is wrapped in a CDATA section, and passed as a reference to item, which, as the doc says: (In the unlikely event where you need to avoid the HTML-removal features, you can do this by passing scalar-references instead of normal strings, like so: rss_item($url, $title, \$not_to_be_escaped).). Easy.
I am not quite sure having markup in the description is entirely kosher, but the feed validates and displays properly in akregator, so I think I'll keep that version (which now updates every other hour).
In reply to Re: RSS feed for CPAN Ratings
by mirod
in thread RSS feed for CPAN Ratings
by mirod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |