Wikipedia API

Associate
Joined
23 Oct 2002
Posts
217
Location
Ed
Hello,

I want a mechanism to basically query a topic from my programming environment (JAVA?) which will return some formatted text (XML?) of the queried wikipedia article. Does anyone know of such parsers?

neoRAGE
 
The Java standard library has classes to deal with HTTP requests, and some HTML parsing functions I think. You should just be able to get the page you want and use the parser to extract the needed information from it.

The difficult bit is figuring out how to use the parser to get what you want, and that's the only bit that would be specific to Wikipedia articles.
 
Back
Top Bottom