HTML parsing
HTML parsing
- Subject: HTML parsing
- From: Sal Soghoian <email@hidden>
- Date: Sat, 4 Jan 2003 07:16:41 -0500
Here's a link to HTML parsing routines you can use to parse the
downloaded file:
<
http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.04.htm>
On Saturday, January 4, 2003, at 01:00 AM,
email@hidden wrote:
Message: 6
Date: Sat, 04 Jan 2003 15:43:09 +1100
Subject: Re: Help scripting form IE to TextEdit using Cut & Paste
needed!
From: Matthew Smith <email@hidden>
To: Allen Evans <email@hidden>, AppleScript Users
<email@hidden>
on 04/01/2003 07:40, Allen Evans at email@hidden wrote:
Need help making a script to cut and paste out of HTML in IE to text
in
TextEdit for update through Pod2Go to my iPod.
Here are what we have figured out so far in the MacAddict Forums (
http://www.macaddict.com/phpBB2/viewtopic.php?t=3047 ):
...
I don't think it is possible with Internet Explorer.
Why not have script that downloads the web page to a file. You can
then use
AppleScript to read the text in the file and extract what you want.
tell application "URL Access Scripting"
download "http://www.holidayvalley.com/snowreport.cfm" to file "abc"
set snowData to read file "abc"
-- now do something with snowData
end tell
Replace file "abc" with something appropriate.
There may be some scripting additions that may help you extract what
you
want from the html data.
--
Matthew Smith
For links to AppleScript-related resources such as books, websites,
examples, etc., go here:
<
http://www,apple.com/applescript/resources/>
_______________________________________________
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.