I have a serious problem to use 'happle' in xcode project.

Posted by Daniel K on Stack Overflow See other posts from Stack Overflow or by Daniel K
Published on 2010-03-12T05:35:07Z Indexed on 2010/03/12 5:37 UTC
Read the original article Hit count: 208

Filed under:

Hello. I am a korean student, and I'm trying to develop a iphone application.

I want to make the application which will shows contents of Web board, which is belong to some website. I will use 'UITableViewController", and the names of contents have to be displayed on table view.

I heard that if I want to scrap the text on webpage, I have to use 'parser'.

However, Iphone SDKs provide only the parser for xml webpage, NSXmlParser. In my acknowledges, NSXmlParser is not for HTML webpage, so it doesn't provide HTML parsing.

If there is any way to parse HTML page with NSXmlParser, I want to know how to use that.

Anyway, I found a simple and good HTML parser, 'happle', through searching on google. I tried to add the sources of happle on my xcode project, and I also add the libxml2.2.dylib, and I even set up 'Header search paths' and 'Other Linker Flags'. However It doesn't work.

The Compiler show a error message : "No such file in dictionary". In my opinion, there is no frameworks file in my computer, so I tried to set up 'libxml2 frameworks' many times, but I coundn't success.

please help me how to parse HTML page and how to set up libxml2...

It really urgent.

p.s. please forgive my ugly English

© Stack Overflow or respective owner

Related posts about iphone