Ask Your Question
0

RSS feed plain text only

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

Toms gravatar image Toms
661 19 6 34

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

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

I get simple plain text.

Is that correct??

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

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

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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.

link publish delete flag offensive edit
1

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

todofixthis gravatar image todofixthis flag of Chile
1082 16 18 37
http://www.fiveyearsabroa...

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.

link publish delete flag offensive edit

Comments

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

Evgeny ( 2012-07-25 22:19:04 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 251 times

Last updated: Jul 25 '12