How to scrap the first paragraphe from a wikipedia page?
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-05-10T01:33:39Z
Indexed on
2010/05/10
1:38 UTC
Read the original article
Hit count: 352
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
© Stack Overflow or respective owner