PDA

View Full Version : Line Breaks in an RSS Fead




ChexBoss32890
Aug 1, 2007, 12:24 AM
This sounds so dumb....

How do you insert a line break in a simple RSS XML document? :rolleyes::confused:

Neither <br /> or \n\r or \n or \r or \r\n work.

<br /> just doesn't show up at all, and the other show up... literally.



Winterfell
Aug 1, 2007, 07:54 PM
AFAIK, it depends on the RSS reader that you're using. A lot of them normalize line breaks to \n.

What RSS reader are you using?

yagran
Aug 2, 2007, 02:40 PM
aye.

the rss document itself should not contain line breaks, but the code that reads the rss document should insert them itself as it scans the items in your rss file.