This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do you create a Facebook page and use wikipedia info?
02-25-2014, 01:02 AM
Post: #2
 
You'll want to use Wikipedia's API. The API is available at the following URL, which by default provides the documentation for the API:

< http://en.wikipedia.org/w/api.php >

Off the top of my head, I guess you'd want to use the action=parse option and select particular pages as needed…

Remember that you may also need to pull the style sheet at "MediaWiki:Common.css" for certain things to look right.

Also, remember to make efficient use of queries to Wikipedia: excessive querying, or pulling data live, might cause your website to be blocked access by the server admins. I suggest that pages should be cached for at least 24 hours, and Common.css (if used) be cached for at least two weeks (by default, users' computers are directed to cache that for 30 days). You might want to check about this on the mailing list, too (see below).

Further questions are probably best directed to the mailing list indicated on the API documentation page: < https://lists.wikimedia.org/mailman/list… >.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Fabian Smith - 02-25-2014 01:02 AM
[] - Rom Cartridge - 02-25-2014, 01:04 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)