libo26 / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

do you think new line (\n) characters should be replaced by spaces ? #179

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I use feedparser.py to parse http://blog.andrew.net.au/index.rss, I'm
seeing \n characters in the results, like this:

"[...]I\'ve been fascinated by the\ninfrastructure that is the heartbeat of
the project.[...]".

When I then post process this for display, I need to make sure that the \n
characters are replaced by spaces.

Do you think this replacement should be done in feedparser ? As far as I'm
concerned, it doesn't really matter. However, several people might find it
helpful if feedparser processes the new line characters.

Original issue reported on code.google.com by alok.men...@gmail.com on 3 Aug 2009 at 11:39

GoogleCodeExporter commented 9 years ago
I don't believe that Feedparser should be rewriting the content. For the most 
the 
content of these blog posts are html and it will be up to the rendering agent 
to deal 
with it. However if you believe otherwise please send a message to the mailing 
list: 
http://groups.google.com/group/feedparser-dev and we can discuss it further.

Original comment by adewale on 27 Feb 2010 at 3:21