Help with Html to text conversion

Ken Ray kray at sonsothunder.com
Mon Jul 22 22:20:01 EDT 2002


This was posted by David Vaughan a couple of months ago:

function stripHTML aData
   repeat for each line aLine in data
     repeat while matchchunk(aLine,"<*>")
       delete char offset("<",aLine) to offset(">",aLine) of aLine
     end repeat
     put aLine & return after outData
   end repeat
   return outData
end stripHTML

I haven't tried it myself, but it looks good.




----- Original Message ----- 
From: "Bruce Wilson" <skycap at earthlink.net>
To: <use-revolution at lists.runrev.com>
Sent: Monday, July 22, 2002 9:01 PM
Subject: Help with Html to text conversion


> Anyone have a transcript script or OS X external function to convert 
> HTML to Text? I have an external function but it wont work with OS X.
> 
> Hopeful
> 
> Bruce
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the Use-livecode mailing list