Parse #Wikipedia Data
<?php
$url = 'http://en.wikipedia.org/w/api.php?action=parse&page=Ian_McKellen,_roles_and_awards&format=json&prop=text§ion=2';
$ch = curl_init($url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_USERAGENT, "TestScript"); $c = curl_exec($ch);
$json = json_decode($c);
$content = $json->{'parse'}->{'text'}->{'*'};
print $content;
?>