Grep help - remove HTML tags
Ken Ray
kray at sonsothunder.com
Fri Mar 14 09:28:01 EST 2003
Keith, If you're using the Pre-Beta of 2.0, you can use my XML Library
to locate and extract tagged text (if it's in XML format).
http://www.sonsothunder.com/products/metacard/xmllib.htm
The Basic version for reading XML is free, so you might want to DL it
and see if it suits your needs.
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of
> Keith Whitney
> Sent: Friday, March 14, 2003 8:45 AM
> To: use-revolution at lists.runrev.com
> Subject: Re: Grep help - remove HTML tags
>
>
> >> I'm trying to parse an rss feed and put the title into a list box
> >> row.
> >>
> >> This is working fine:
> >> put URL "http://my.server.com/myRSSfeed.rdf" into myVar
> >>
> >> ...and so is this:
> >> set the text of field "myField" to myVar
> >>
> >> But, when I add this line, the field "myField" is blank:
> filter field
> >> "myField" with "<title>(.*)</title>"
> >>
> >> Any suggestions?
> >
> > set the htmltext of fld "MyField" to tMyVar
> > get the text of fld "MyField"
> >
> >
> > --
> > Richard Gaskin
> > Fourth World Media Corporation
> > Developer of WebMerge 2.2: Publish any database on any site
> > ___________________________________________________________
> > Ambassador at FourthWorld.com http://www.FourthWorld.com
> > Tel: 323-225-3717 AIM: FourthWorldInc
>
>
> Thanks for the reply! What I neglected to explain clearly was rather
> than simply stripping the HTML tags and displaying in a field, I want
> to separate the tagged text into different variables for
> placement into
> different elements (titles in a list field, content in a different
> field, etc.)
>
> --
> Keith Whitney
> MIS Director
> Hauck & Associates, Inc. | http://www.hauck.com/
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list