Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

filtering tags when parsing a remote XML file

I am pulling in a remote rss feed I need to filter out the formating tags like <p>, <br/> all html format tags in the feed.

I am using Titanium.UI.createTextArea and Ti.UI.createLabel to add them to my table rows . . .

any ideas . . .

— asked April 14th 2010 by Brian Tuohy
  • html
  • parse
  • strip
  • xml
0 Comments

1 Answer

  • Accepted Answer

    You could try adding and using this JavaScript and using it as you would with PHP.

    http://phpjs.org/functions/strip_tags

    — answered April 15th 2010 by Kosso
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.