views:

46

answers:

2

Can anyone post a tutorial here on how to show a Wikipedia article in a .NET WinForms application (C# or VB)? If the article can be placed in a string it suffices, there`s no need to put it on any control.

I found some information on Wikipedia's API. After reading it, I added the reference to web service but can`t find a way to make this work.

And if it's possible, explain how images are downloaded from wiki (link or image itself).

+1  A: 

Your link is to the ontology API, it does not include access to the pages.

You can use the Wikipedia API (self documented). It says there that you can also choose a format from json, jsonfm, php, phpfm, wddx, wddxfm, xml, xmlfm, yaml, yamlfm, rawfm, txt, txtfm, dbg, dbgfm .

Does it need to be live Wikipedia articles from the web?

You can download all of Wikipedia from their database download page, it includes SQL and XML versions.

Comment on this reply if you need more clarifications, What do you want to do with it?

Osama ALASSIRY
A: 

There is also a framework (DotNetWikiBot) for working with MediaWiki wikis (such as Wikipedia) which might have what you need.

http://dotnetwikibot.sourceforge.net

Gabe