PHP script to check expired .dk domains + backlinks

I need a php server script that automatically checks a list of Danish expired domains each day (via Cron job?) and analyzes each domain on the following parameters:

- Pagerank

- Alexia Rank

- Yahoo Backlinks

- Google Backlinks

- AltaVista Backlinks

- DMOZ

- Available for registration?

The list with expired domains is published on the site: [url removed, login to view] so the script has to scrape these results from this site each day.

Please note that you can only see the complete list when logged in. Registration is free. You can use the following account to check:

login: tim (at) zzool (dot) net

Pass: timtom

Also note that the results are listed over multiple pages.

The results, sorted on amount of Yahoo backlinks should be mailed to a specific e-mail address each day. In the mail, a link is added pointing to the script webbased frontend. This frontend should contain the following:

An example of how the frontend results could be shown can be seen in the attachment. Features in this part should include:

- The number representing the number of backlinks should be a link to show the live results in the specific search engine. E.g. if analysis shows 523 links from Yahoo. The link on the number 523 should be: [url removed, login to view]:[url removed, login to view]%20-site:[url removed, login to view]

- Ability to sort on the various columns

- Yahoo Directory does not have to be in the report and neither the Domain age.

- I would like to see an &quot;Available for registration&quot; column that shows if the domain is still available for registration or not (Whois?).

Would like your input on how we can avoid being punished by the various engines for using them too much. Perhaps by using their API's, or a proxy, or spreading the search queries over a couple of hours instead of instantly… The problem with proxies is that I don't want to search for available proxies all the time.

A limited version of a script like this, including the source code, can be found here: [url removed, login to view]

You might want to consider changing the code according to the above requirements.