Re: How to read web-based HTML data into a variable without a browser
Re: How to read web-based HTML data into a variable without a browser
- Subject: Re: How to read web-based HTML data into a variable without a browser
- From: JJ <email@hidden>
- Date: Sat, 20 Apr 2002 02:23:26 +0200
>
Can anyone tell me how I can read the html text from a web-site into an
>
Applescript variable without using or launching a web-browser?
>
>
I've been looking through the Standard Scription Additions.osax dictionary,
>
and it looks like it _might_ be possible with one of the commands from the
>
"Internet suite" section, however I'm unsure of the syntax. "Open location"
>
isn't what I'm after, because that launches a web-browser, so would URL,
>
Internet address, or web-page be of use?
>
>
I'd like to pull in the text data from http://homepage.mac.com/gouldtv/xml.htm
Look at "URL Access Scripting" dictionary.
The syntax would be anything such as:
tell app UAS
download the_url to file_spec
set YOUR_WHIS to read (the result)
end tell
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.