Got a partial answer from searching in this thread: Viewing raw RSS feed?
But I tried some of their suggestions and had no luck. I use Chrome most of the time, and all I want is to be able to view a raw RSS feed in the browser that is well formatted and easy to read, so I can do some parsing for a project I'm working on. As it is now I see the fee开发者_如何转开发d but it's essentially one enormous block of text with no line breaks, spacing, or highlighting.
One solution appears to be Curl, but honestly when I tried to install it, it was a little over my head. If someone could point me to a Curl tutorial that would make it clear to me what the heck to do with it I would appreciate that. I did find a partial solution, which was XmlSHell (http://www.softgauge.com/xmlshell/index.htm), but it's not ideal since it's not in-browser.
Any thoughts?
I wrote a web app that displays feeds in unobscured XML.
http://xmlviewer.scripting.com/?url=http://static.scripting.com/myReallySimple/linkblog.xml
Then I link to the app instead of linking to the feed.
It's really unfortunate how the browser vendors have interfered with the proper functioning of RSS.
If you view the source, you should get the XML in a bit more readable way.
If you use Firefox or IE, they will detect RSS feed and format it in a much more friendly way.
The reason why Chrome doesn't has to do with XML and standards for display. Technically, if you want any XML document to display with formatting, you have to attach an XSLT transformation to direct how the XML should be displayed.
Just right click on the page, download the file, and save it to your local drive, then view it in your dev software.
Should work fine.
精彩评论