开发者

android html data parsing

Hi guys suddenly I have no experience with java and html parsing and I really need it...(possibly from http://www.uefa.com/teamsandplayers/teams/club=52280/domestic/index.html)

I want a simple way to convert an html website to xml document(fetch,convert,parse) or an easy alternative way to do it开发者_如何学编程...

ps:if you know any alternative FREE resource of football(soccer) data tell it...


Since the site is of doctype xhtml:

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"

shouldn't it be xml / parseable already? I haven't tried, but just an assumption

But why don't you take the rss feeds from http://www.uefa.com/news/rssfeeds/index.html

That's clearly XML (RSS). And you'll find an xml parser here: http://www.ibm.com/developerworks/opensource/library/x-android/index.html

I use that one for fetching twitter rss feeds.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜