维基百科用PHP获取信息框

So I am trying to parse content from an infoboxe template in a wikipedia page. But I have to use PHP because I cannot configure my server alone and I haven't the permission to do that. (So i cannot use the framework Dbpedia)

I need help because I am trying to understand how I can parse this object Infoboxe. Example on this url : http://fr.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&rvsection=0&titles=Roger_Federer

Plz Don't tell me to look the documentation, it's boring and not very usefull. I keep going trying to parse this content but I don't understand how I can do with PHP ?

THhhhhxxxx to help me !! :)))

You can call this python script using exec():

https://stackoverflow.com/a/9208881/956397

exec() manual: http://www.php.net/manual/en/function.exec.php