Category RSS feed in Chrome Issue

Topics: Business Logic Layer
Jun 8, 2012 at 12:28 AM

Chrome is not handling the display of RSS feed see example:

http://www.dotnetblogengine.net/category/feed/BlogEngineNET.aspx

The rendering of this request work fine in all other browsers except of Chrome, there are a few discussion on this but nothing that has a code fix for this issue in BE.

It seems to be related to http://www.petefreitag.com/item/381.cfm;

RSS Feeds have a content type problem. Most people end up serving them with the content-type: text/xml. But this practice is frowned upon for several reasons. The main reason people don't like text/xml is because its very vague, there are content types such as application/rss+xmlapplication/rdf+xml, and application/atom+xml that describe the content of your feed much better than text/xml does

Has anyone solved this?

 

Coordinator
Jun 8, 2012 at 1:21 PM

Browsers like Firefox and IE have their own XML stylesheet if the RSS feed doesn't provide one.  Chrome doesn't have one.  An XML stylesheet (XSL/XSLT) could be included with BE if you modify the BlogEngine.Core where the RSS feed is output, and Chrome should use that to display the RSS feed however you specify in the XSL.  I included a couple of links to some tutorials showing this in my post here.

Generally for RSS though, I think most people copy the feed URL and put it into their RSS reader .... as opposed to reading the feed directly in their browser.  This is the main reason there hasn't been much demand for us to include our own RSS stylesheet.