I am just learning PHP and experimenting it. This forum is a good resource .. thanks a lot to those who contributed.. I want to extract a wikipage ,say, http://en.wikipedia.org/wiki/Georg_C._F._Greve Then, I want to save each sub heading along with its description as a separate file ( may be in as text files) to mysql database under a one directory that bears the name of the page. I need to save the introductory portion also under in a text file , say introduction Please help...
If you want to write a scraper you're going to need to get familiar with regular expression (regex buddy is a good tool to learn regex visually). You would also do well to use a class built for screen scraping, such as Snoopy. If you have specific questions I can help.
Thanks for the replay... I have crawled the page. But I wish to know how do I split the same and save. please help