• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: using XML directly from the web rather than a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: using XML directly from the web rather than a file?
      • From: Wayne Melrose <email@hidden>
References: 
 >Re: using XML directly from the web rather than a file? (From: has <email@hidden>)
 >Re: using XML directly from the web rather than a file? (From: Wayne Melrose <email@hidden>)

  • Prev by Date: Re: using XML directly from the web rather than a file?
  • Next by Date: Folderaction problem
  • Previous by thread: Re: using XML directly from the web rather than a file?
  • Next by thread: Re: using XML directly from the web rather than a file?
  • Index(es):
    • Date
    • Thread