Retrieve html code from webpage
Warren.Kuhl at NorthernTool.com
Warren.Kuhl at NorthernTool.com
Tue Apr 21 12:47:52 EDT 2009
Scott/Stephen,
Thanks for your help...appreciate it. This worked perfect now!
Warren
From: Scott Rossi <scott at tactilemedia.com>
To: Revolution Mail List <use-revolution at lists.runrev.com>
Date: 04/21/2009 10:58 AM
Subject: Re: Retrieve html code from webpage
Sent by: use-revolution-bounces at lists.runrev.com
Recently, Warren.Kuhl at NorthernTool.com wrote:
> I am trying to capture the raw html code from a webpage. I am trying:
>
> set the htmltext of field "Field 1" to url "http://www.website.com/"
>
> When I look at my field, I am not getting the html tags (ie.
> <header>.....</header>, etc.). Is it possible to get the raw html code
> from a webpage?
Try this instead:
put url "http://www.website.com/" into fld "field 1"
Setting the htmlText of a field renders the text of the field as HTML which
is why you're not seeing any tags.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list