First time here? Check out the FAQ!
0

RSS feed plain text only
 

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

I get simple plain text.

Is that correct??

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 12 years ago, updated 12 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
todofixthis's avatar
1.3k
todofixthis
answered 12 years ago
link

Comments

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

Evgeny's avatar Evgeny (12 years ago)
see more comments