user874460
user874460

Reputation: 1

Wikipedia as part of my iOS app

I would like to download information from wikipedia to my iOS app. Firstly, I created simple RSS reader, but I can't download date from wiki. Now, I think that I should create parser for wiki.

What do you think about this? Any ideas?

Thanks, Tomek

Upvotes: 0

Views: 816

Answers (3)

Prine
Prine

Reputation: 12538

I know this question is quite old. But I've dealt with the same problem and wrote this very small library. I am using the mediawiki api (Mentioned in the post from Felipe) to get the needed information.

https://github.com/prine/WikiApiObjectiveC

Upvotes: 1

Felipe Sabino
Felipe Sabino

Reputation: 18225

Scrapping a web site directly from your app is never a good idea. If you are ever going to do that it is suggested that you do it on a server and provide the data to your app in a well known format, so that site changes can be quickly managed by your server, and as a result, never breaking your app.

Although wikipedia does not have a formal API, it provides some other ways of extracting data from its servers. You should check this link:

http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot#APIs%5Ffor%5Fbots

Upvotes: 1

Sandro Meier
Sandro Meier

Reputation: 3051

In my opinion, parsing a website is never a good idea. Only the smallest change in the design of the website can break your application and make it unusable. I'd try to get to your data in an alternative way. ;-)

Sandro Meier

Upvotes: 2

Related Questions