I have an RSS feed for this blog that has the whole content of my posts. When I view it in my reader however, all my HTML is stripped out. My reader does NOT do this for other feeds. Ed’s shows blockquotes, images, etc. Why would mine not do it?
I’m sending a content type of text/xml and ?xml version=”1.0″ encoding=”iso-8859-1″?
The HTML is in there, I’ve verified that. What’s up?
It looks like the HTML in Ed’s feed is in a tag and is wrapped within a CDATA marker. The tags’ contents don’t include any HTML.
In addition, I believe the correct mime-type for RSS is text/rss+xml (though that sort of thing is far from standardised)
http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fderosia.com%2Fphlog%2Fincludes%2Ffullfeed.rss
throws up an error at the inclusion of HTML tags within the element.
Of course, I should have realised that throwing random tags into a comment box is often a bad idea. The HTML in Ed’s feed is in a ‘content:escaped’ tag. The feed validator throws errors at the inclusion of HTML within the ‘description’ element.