Re: using XML directly from the web rather than a file?
Re: using XML directly from the web rather than a file?
- Subject: Re: using XML directly from the web rather than a file?
- From: has <email@hidden>
- Date: Tue, 13 Feb 2007 14:50:46 +0000
On 13 Feb 2007, at 11:20, Wayne Melrose wrote:
For reading RSS and Atom feeds, see ParserTools:
http://osaxen.com/files/parsertools0.2.1.html
I parse XML from a URL using curl and then XMLlib from Satimage.
Would you say this is a "better" way to get XML information from a
URL? or simply just a different way?
ParserTools' 'parse RSS' command is a thin wrapper around the Python
feedparser module (http://feedparser.org/docs), so knows more about
parsing RSS/Atom feeds (including malformed ones) than a vanilla XML
parser. That said, the OP isn't actually reading an RSS/Atom feed (I
saw the word 'feed' in the URL and just assumed it was), so
ParserTools won't be of use to them.
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
http://appscript.sourceforge.net/objc-appscript.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden