<< Back To All Blogs
Fixing FeedBurner (And RSS) newlines in a blog feed
Monday, February 23rd, 2009
I've been trying to figure out for the past couple of days why newlines (shown as br tags) in my blog were not showing up in FeedBurner. The newlines were appearing properly when I viewed my source feed separately (which had replaced slash n's with br's), however, FeedBurner was apparently ignoring these br's, stripping them completely.
The simple answer is that HTML is not a part of the RSS specification, and therefore FeedBurner was stripping them. In fact, it is completely up to the client reading the RSS feed of how it wants to render HTML. Some will ignore it completely, others will honor it fully. If you want newlines to show up in your FeedBurner blog, then leave line break as a slash n and not as a br.
Simple enough, although hopefully this will save a few of you some digging.
FeedBurnin' Tom Out.
Reading an XML file using LINQ
Comparing XML files in C# Using Microsoft's Diff and Patch Tool
Retrieving data from SharePoint SOAP Requests using LINQ
Currently no comments.
Add A Comment
Email Address: (not public, used to send notifications on further comments)
Enter the text above, except for the 1st and last character: