First time here? Check out the FAQ!
0

RSS feed plain text only

  • retag add tags

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

I get simple plain text.

Is that correct??

Toms's avatar
767
Toms
asked 2012-07-25 11:19:31 -0600, updated 2012-07-25 11:21:33 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2012-07-25 15:58:47 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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.

todofixthis's avatar
1.3k
todofixthis
answered 2012-07-25 18:04:14 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Evgeny's avatar Evgeny (2012-07-25 22:19:04 -0600) edit
add a comment see more comments