Parsing HTML web page

How can I parse online HTML web page in Lua ?

Is there some library ?

I wont to make one app that will go to one website and display some information from that website on my app.
So I need to get just specific information from that web page.

Thanks.
[import]uid: 101665 topic_id: 18142 reply_id: 318142[/import]

Some options:

  1. Assuming you just want to display the page as it is in Corona, you can use the native web pop up (yes, I know this is probably not what you said).
  2. Use an XML parser written in Lua (should be easy to find via googling) if the page in XHTML.
  3. Try to find a HTML compatible parser or modify an XML parser to deal with HTML ambiguities. (e.g. unclosed tags).
  4. You can ignore parsing the HTML altogether and just use pattern matching to find text in the document you need. This will be pretty damn fast, although such a scanner is quite unintelligent. [import]uid: 58849 topic_id: 18142 reply_id: 72523[/import]