Skip to content

RSS text formatting / content type #9

Closed
rwstauner opened this Issue Jun 23, 2011 · 5 comments

2 participants

@rwstauner

I follow the RSS feed, but because the post is plain text my feed reader (google reader)
flattens everything into a single paragraph,
whereas the text of the review on the website is nicely formatted.

Would it be reasonable to either convert the "description" tags in the rss feed to html like the website does?

Or is it possible to specify a ccontent type of text/plain so that aggregators know it's plain text?
(I'm not sure if that's a valid solution).

Thanks!

@ranguard
Perl.org and CPAN.org sites member

What is the URL of the RSS feed you are following?

Thanks

@rwstauner
@ranguard
Perl.org and CPAN.org sites member

Thanks for the clarification @magnificent-tears, Looks like the code that needs changing is https://github.com/perlorg/perlweb/blob/master/lib/CPANRatings/Control.pm I'm not quite sure what to just yet :)

@rwstauner
@rwstauner rwstauner closed this Jun 25, 2011
@rwstauner rwstauner reopened this Jun 25, 2011
@rwstauner

I don't know how to start the webserver (see Issue #10),
but I would probably start by looking into changing

$text = $review->review;

to

$text = $review->review_html;

in as_rss()

@leejo leejo added a commit to leejo/perlweb that referenced this issue Mar 10, 2016
@leejo leejo resolve #9 - RSS description add HTML markup
user $review->review_html and then wrap it in <p> tags. also wrap
the overall rating in <p> tags.
0dbfb80
@abh abh pushed a commit that closed this issue Mar 11, 2016
@leejo leejo resolve #9 - RSS description add HTML markup
use $review->review_html and then wrap it in <p> tags. also wrap
the overall rating in <p> tags.
fef2f7d
@abh abh closed this in fef2f7d Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.