use-revolution digest, Vol 1 #543 - 14 msgs
skycap at earthlink.net
Mon Jul 15 19:57:18 EDT 2002
The HTMLtoTXT and cleanUpTXT functions are part of HyperTinker (v.m. PPC
2.5 beta) (Hypercard externals) Actually the cleanUpTXT is just a script
in the stack script of Hypertinker that takes out empty lines double
spaces etc. They both do a good job though.
Hope that helps.
Dave Calkins wrote:
>>Subject: Help with web page download
>>Reply-To: use-revolution at lists.runrev.com
>>The following script has worked on about 80% of web sites to download
>>pages. However some sites require me to post info or wants to set
>>cookies, or to be a big browser,etc. which goes beyond my scripting
>>abilities. Any help would be appreciated. Bruce Wilson
>> put word 1 of fld "symbol" into sym --Stock symbol
>> put char 1 of sym into b
>> put "http://user:firstname.lastname@example.org/n/"&b&"/"&sym&".html" into myurl
>> put url myurl into dataVar
>> put HTMLtoTXT (dataVar) into dataVar --HTMLtoTXT is external Func.
>> put cleanUpTXT (dataVar) into fld "data" --clean up & put into fld
> I would like to see your HTMLtoTXT and cleanUpTXT functions. Would you care to
> share them? I am ignorant about the cookie and browser maintenance though.
> Dave Calkins
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode