Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

RSS text formatting / content type #9

Open
rwstauner opened this Issue · 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
Owner

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

Thanks

@rwstauner
@ranguard
Owner

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
@rwstauner rwstauner reopened this
@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()

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.