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: Wayne Melrose <email@hidden>
- Date: Tue, 13 Feb 2007 18:53:14 +0100
On 13. feb. 2007, at 15.50, has wrote:
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
Thanks has.. although I still think I'm a little out of my league..
I'm not sure what this means for me, although I did have a look at
this, and I think it could be useful. Thanks for the tip.
_______________________________________________
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