Retrieve html code from webpage
scott at tactilemedia.com
Tue Apr 21 11:57:22 EDT 2009
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.
Tactile Media, Multimedia & Design
More information about the use-livecode