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 . . .
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