Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to see the raw XML of an RSS feed for a podcast.

In Safari, as of Lion formatted XML files is supported. But RSS feeds are not formatted that way and instead presented in Safari's RSS Reader mode. A view source on that page doesn't display the RSS feed as I expected, instead the HTML and CSS used to put the viewer together.

Is there another way to do this in Safari? I also have the RSS Reading app, Reeder, installed, so I'd be willing to do it in there if possible.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Here’s a Safari extension to view the raw XML data: https://github.com/sergeche/xmlview#readme

There’s an online demo, too: http://media.chikuyonok.ru/xmlview/ This works in Firefox, Chrome, and Safari.

Edit: Sadly, this extension doesn’t work in Safari 5.1. There’s an issue for that here: https://github.com/sergeche/xmlview/issues/16


Alternatively, you could always open Terminal.app and just use curl to view the raw RSS/XML contents:

curl "http://example.org/some-feed.rss"
share|improve this answer
    
Doesn't seem to work for RSS feeds. –  bpapa Mar 26 '12 at 16:51
    
Doesn't seem to work for plain XML either. –  bpapa Mar 26 '12 at 16:51
    
The curl above solution works best if you just want to see what the site is sending you. It is raw, and meant to be. You do not need the quotes on the url if it is properly formed and has no spaces. –  user50940 Jun 10 '13 at 12:19
    
@GaryHam “You do not need the quotes on the url if it is properly formed and has no spaces.” Yes you do — for example, if it contains an ampersand (&) symbol. It’s easiest to just always use the quotes. –  Mathias Bynens Jun 10 '13 at 14:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.