Page 1 of 1

Link spidering

Posted: Tue Aug 02, 2005 10:34 am
by mjseaden
Hello,

I own quite a valuable Spanish property site. Unfortunately there are dishonest link exchange partners out there who remove their link from their site at some random point in the future, therefore I need to be able to spider the sites with whom I am exchanging links both to check that they are still active, and that they are still holding my link.

Can anyone recommend a good script in PHP to check a site for a link.

Many thanks

Mark

Posted: Tue Aug 02, 2005 11:33 am
by nielsene
You could probably use the WebUnitTest case from simpletest. Simply make a list of link partners and loop through each checking for a link to your homepage.