Best practices for parsing HTML from Wikipedia for iPhone viewing?

Posted by ivanTheTerrible on Stack Overflow See other posts from Stack Overflow or by ivanTheTerrible
Published on 2010-04-24T22:35:41Z Indexed on 2010/04/24 22:43 UTC
Read the original article Hit count: 187

I am building an iPhone Wikipeida game app, that requires modifying the default Wiki HTML a little bit (mostly simplifying the page).

So far I am directly downloading the HTML output from en.wikipedia.org/wiki/Article_Foo to a python Google App Engine, and then modify its CSS and HTML structure, cache it, and finally output to iPhone. It works but I find this method quite tedious, there must be a better method?

Please note that I use App Engine not just for parsing the Wiki, but the game also requires it to keep the stores...etc, hence not a overkill. Also, I would prefer doing all the work with python on App Engine, to keep the iPhone client as thin and mobile as possible (XML on iPhone is a big no fun)

Thanks a lot.

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about wiki