Retrieve html code from webpage

Scott Rossi scott at
Tue Apr 21 11:57:22 EDT 2009

Recently, Warren.Kuhl at 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 ""
> 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 "" 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.


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design

More information about the use-livecode mailing list