Ask Your Question
0

RSS feed plain text only

asked 2012-07-25 11:19:31 -0600

Toms gravatar image

updated 2012-07-25 11:21:33 -0600

When I click on RSS feed (for example here: http://askbot.org/en/question/8291/ )

I get simple plain text.

Is that correct??

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-07-25 18:04:14 -0600

todofixthis gravatar image

The important part is the content-type header that gets sent with the content. This is how the browser knows to treat the content like an RSS feed. If you check the headers sent with the feed XML, you should see the following:

Screenshot of Firebug indicating Content-Type header of response

The server is telling the browser that the content is application/rss+xml. It is up to the browser, however, to decide what that means. If you are using Firefox, for instance, you should see a prompt at the top of the page asking if you would like to view the feed in your favorite RSS reader.

Depending on which browser you use and how it is configured, you might end up seeing the plain XML.

edit flag offensive delete link more

Comments

That's a great point. I think it's taken care of by the django's feeds module.

Evgeny gravatar imageEvgeny ( 2012-07-25 22:19:04 -0600 )edit
1

answered 2012-07-25 15:58:47 -0600

Evgeny gravatar image

Yes RSS feed is plain text in XML format. What you will see after clicking might depend on the browser.

Mine asks me - which feed reader to use.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-25 11:19:31 -0600

Seen: 3,733 times

Last updated: Jul 25 '12