How to scrap the first paragraphe from a wikipedia page?
- by David
Hi,
Let's say i want to grab the first paragraphe in This wikipedia Page How to get the principal text between the title and CONTENTS box using XPath or DOM & PHP or something similar?
Is there any php library for that? i don't want to use the api because it's a bit complex.
Note: i just need that to add a widget under my pages that displays related infos from wikipedia.
Thanks