Grep help - remove HTML tags
Jan Schenkel
janschenkel at yahoo.com
Fri Mar 14 05:11:01 EST 2003
--- Keith Whitney <keith at hauck.com> wrote:
> >> 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
Hi Keith,
Maybe this is a task for the XML-library in RunRev 2 ?
Of course it's not 'final' yet, but the pre-beta could
help you a long way.
Best regards,
Jan Schenkel.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
More information about the use-livecode
mailing list