stripping html tags in weather alert data

Tuesday, February 24, 2009 by Wendi | Discussion: DesktopX Tutorials

I think the weather alert has changed somewhat and i cant seem to strip out the html tags at the beginning and end of the alert does anyone have any ideas how to fix this

this is what i have in my script

 

resp=StripHTML(resp)    'strip the html tags
            l=len(resp)
            s=instr(resp, "National Weather Service")
            resp=right(resp, l-s-25000)    'chop off the header
            l=len(resp)
            s=instr(resp, "Close this window")
            resp=left(resp, l-s-6000)    'chop off the trailer
        '    resp = Replace(resp, vbNewLine, "")        'get rid of newlines, etc

CerebroJD
Reply #1 Friday, February 27, 2009 1:03 AM

Is that JScript that you're doing this in?

sViz
Reply #2 Friday, February 27, 2009 4:28 AM

See here Cerebro: https://forums.wincustomize.com/340993

Looks like it got sorted out somehow.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01