Getting raw XML data from a Feedburner RSS feed
From Google Chrome you can update the url like so and you will get the raw xml:
view-source:http://feeds.feedburner.com/TheAppleBlog
Try adding fmt=xml to your url. For ex: http://feeds.feedburner.com/blogname?fmt=xml.
I am having other strange problems for iOS SDK using XPathQuery to extract data from the response.
In Google Chrome you might need to apply both methods described here at the same time (?format=xml
and view-source:
):
view-source:http://feeds.feedburner.com/TheRegardingBlog?format=xml
For the people who still haven't figured it out:
Send an HTTP request without any headers (i.e. don't do it from a browser) to receive the raw RSS feed.
Feedburner feeds send the browser back raw XML, but it also sends a stylesheet that styles the XML markup, so the browser renders the XML as styled content:
<?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?>
However the data being served up is XML.
So it's completely unnecessary to add query params like ?format=xml
. If you log the response from a request to one of these feeds, or view source, you'll see XML.