reading and converting web page HTML text
J. Landman Gay
jacque at hyperactivesw.com
Sun Mar 7 02:36:44 EST 2010
Mark Stuart wrote:
> Hi all,
>
> Richard - the html entity that didn't "convert" was the quot, starting with
> & and ending with semi-colon ;
The htmltext can only be applied to fields; it won't work in variables.
So you need to do what Richard suggested -- he's using the templateField
(which is a sort of artificial temporary construct) but you can use a
real field directly. For example, assuming a variable that contains your
html:
set the htmlText of fld 1 to myWebText
For the most part I've had very good luck with htmlText, and it is much
easier to let the engine do the work.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list