Wikipedia Articles Through .NET

Discussion in 'Programming' started by harshagarwal5, Feb 16, 2009.

  1. #1
    Hello All

    Can anyone please suggest some reference in regards to consuming Wikipedia articles through .NET, we have searched a lot but not able to figure out the exact way or API's we can use for the same.

    thanks
     
    harshagarwal5, Feb 16, 2009 IP
  2. m0nkeymafia

    m0nkeymafia Well-Known Member

    Messages:
    399
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    125
    #2
    There are no APIs.
    Firstly in .NET you will need to use a way to connect to wikipedia, something like HttpWebRequest.
    This will work fine if you know which page you want, if you want to find one based on a keyword you will have to do some leg work first.

    It will probably involve you searching goolgle using something like site:en.wikipedia.org [keywords]

    You can then use HttpWebRequest on any result you like.

    That is all the information I can provide to you without any more information
     
    m0nkeymafia, Feb 16, 2009 IP
  3. zealus

    zealus Active Member

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Well, to my understanding he can use Wikipedia's search as well. There are two buttons - Search and Go, each one does a different thing, but it's pretty easy to understand if you look at the code.
     
    zealus, Feb 17, 2009 IP