9el wrote:
> On Thu, Apr 30, 2009 at 3:33 AM, 9el <le...@phpxperts.net> wrote:
>> I just got a project to do on PHP of scraping the body items from
>> static sites or just html sites.
>> Could you experts please suggest me some quick resources?
>> I have to make an WP plugin with the data as well.
> Any expert there yet? Was looking for urgent advices on accomplishing the 
> task.
> Thanks
> Lenin
> www.twitter.com/nine_L

If you're just capturing and using the body, the load with
file_get_contents() and use preg_match() to select the body or
individual tags, etc...  For more control, maybe try this:

$doc = new DOMDocument();

Then use:  http://php.net/manual/book.dom.php


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to