0

How can I add Wikipedia result as text in my website, Just like facebook has done.

https://www.facebook.com/pages/Lyon-France/108560402508141

Is there any good libraries that I can use? I am doing my website in php. Downloading the entire content and showing it will take more time. Any other solution?

Nemo
  • 2,441
  • 2
  • 29
  • 63
Vipin CP
  • 3,642
  • 3
  • 33
  • 55
  • Yes, use the wikipeadia api: http://en.wikipedia.org/w/api.php – Steve Aug 14 '14 at 11:49
  • 1
    This looks like an extensive and potentially helpful walkthrough for what you're looking to do: http://www.ibm.com/developerworks/opensource/library/x-phpwikipedia/. You basically should search for the combination of "wikipedia php" and at least one of library, api. – matt_jay Aug 14 '14 at 11:53
  • @codejak Thanks for the reply. Let me try this. It may help.. Thank u all – Vipin CP Aug 14 '14 at 12:05

2 Answers2

1

This looks like an extensive and potentially helpful walkthrough for what you're looking to do: ibm.com/developerworks/opensource/library/x-phpwikipedia.

You basically should search for the combination of "wikipedia php" and at least one of [library, api].

matt_jay
  • 1,241
  • 1
  • 15
  • 33
0

Yes there is a possibility to do this. You can use PHP cURL to achieve this. You have to activate cURL in your php.ini file to be able to use it. You can read all about cURL on php.net

Curl manual php.net

koosie
  • 54
  • 4