Reputation: 2613
is there any way to convert an html web page to xml and get data (parsing) like the rss feed?thanks
Upvotes: 4
Views: 2145
Reputation: 13079
If the html is well-formed you can use a regular SAX parser to parse the html.
Html is unfortunately often not well-formed. In that case you can first parse the html on a server using tag-soup. If this is not possible you can try using jtidy on the device.
How to parse (non well-formed) HTML in android?
Upvotes: 4