main logo
Subject: RE: Easy HTML to text function?
Author: "allen"
Posted: 2003/02/28 16:12:00
 
View Entire Thread
New Search


ieobj = createboject("internetexplorer.application")
ieobj.navigate2("http://www.mywebsite.com")
ietext = ieobj.innertext
release ieobj

may need to check if the page has loaded, I only did a quick test.
Allen

-----Original Message-----
From: profox-admin (at) leafe D.O.T com [mailto:profox-admin@leafe.com]On Behalf Of
Ted Roche
Sent: 28 February 2003 19:45
To: profox (at) leafe D.O.T com
Subject: Easy HTML to text function?


Okay, so I'm scraping HTML on a site, and I'd like to be able to present a
snippet of the web site to a viewer in an edit box. What I'd like to do is
strip out all of the HTML contained within less-than and greater-than signs,
and store it as text. I know I can go through the text with AT() and
STRTRAN() out all the junk, but is there an easier way to do it?




 
©2003 allen
<-- Prior Message New Search Next Message -->