• 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: kai <email@hidden>
  • Date: Tue, 13 Feb 2007 09:46:35 +0000


On 13 Feb 2007, at 04:12, Steven D. Majewski wrote:

If you should need to do something
like the above repeatedly in the same script, then see this thread in particular:


http://lists.apple.com/archives/applescript-users/2005/Oct/ msg00380.html
http://lists.apple.com/archives/applescript-users/2005/Oct/ msg00409.html

You may like to note that the 'retention' issue referred to here can be resolved with something like:


----------------

tell application "System Events" to tell (make new XML data with data (do shell script ¬
"curl 'http://galacticaa.net/widget/feed.php?ts=1171327909000&v=2.1'"))


value of XML element "galacticaa"'s XML elements returning ¬
{EpNum, EpName, EpType, EpIm, EpM, EpD, EpY, EpFul, EpSum, NewVer, UpgradeMessage}


	delete

end tell

(* do something with EpNum, etc. *)

----------------

---
kai


_______________________________________________ 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: kai <email@hidden>
References: 
 >using XML directly from the web rather than a file? (From: "David A. Cox" <email@hidden>)
 >Re: using XML directly from the web rather than a file? (From: "Steven D. Majewski" <email@hidden>)

  • Prev by Date: Re: using XML directly from the web rather than a file?
  • Next by Date: Re: using XML directly from the web rather than a file?
  • 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