How do I use PHP to get the first paragraph of any article from Wikipedia through their MediaWiki API?
PHP
I am open to all suggestions. Most probably CUR
CUR
I would use file_get_contents('http://wikipedia.com/'.$rest_of_url)
file_get_contents('http://wikipedia.com/'.$rest_of_url)
Then just use string parsing to select everything form
to