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: 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