in reply to RSS feed for CPAN Ratings

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).

Replies are listed 'Best First'.
Re^2: RSS feed for CPAN Ratings
by ask (Pilgrim) on Apr 23, 2005 at 02:41 UTC
    You could also send me a patch to make the CPAN Ratings RSS feed a RSS 2.0 feed with the full review included (or some variation of that). Atom feed? :-)

    - ask

    -- ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();