Retrieve html code from webpage

Warren.Kuhl at Warren.Kuhl at
Tue Apr 21 12:47:52 EDT 2009


Thanks for your help...appreciate it.  This worked perfect now!


  From:       Scott Rossi <scott at>                                        
  To:         Revolution Mail List <use-revolution at>                      
  Date:       04/21/2009 10:58 AM                                                         
  Subject:    Re: Retrieve html code from webpage                                         
  Sent by:    use-revolution-bounces at                                     

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

use-revolution mailing list
use-revolution at
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:

More information about the use-livecode mailing list