PHP Whois Script

Posted on Wednesday, 25th January 2006 | 48 Responses
Glenn over at SSEO asked for a script to do mass whois lookups. Use this function: [code lang="php"] function getwhois($domain, $tld) { (more...)

Google Datacenters

Posted on Thursday, 5th January 2006 | No Comments
For all those wanting to check the rollout of the BigDaddy update, here's a list of 116 Google Datacenters: 64.233.161.98 64.233.161.99 64.233.161.104 64.233.161.105 64.233.161.106 64.233.161.107 64.233.161.147 64.233.163.99 64.233.163.104 64.233.167.99 64.233.167.104 64.233.167.106 64.233.167.107 64.233.167.147 64.233.171.99 64.233.171.103 64.233.171.104 64.233.171.105 64.233.171.106 64.233.171.107 64.233.171.147 64.233.179.99 64.233.179.104 64.233.179.106 64.233.179.107 (more...)

ColorCode – WordPress Plugin to Highlight Code

Posted on Monday, 2nd January 2006 | No Comments
Spent a bit of time yesterday trying to get my code examples highlighted using the GeSHi class. However using the WordPress plugin code, I found that though the code was coming up fine it was removing all paragraphs and line breaks from any surrounding text. So I then wrote my own plugin still calling the GeSHi class file, but where it displays both code and text properly. It is (more...)

PHP Crawler

Posted on Saturday, 31st December 2005 | 14 Responses
For crawling in PHP I have always used the fantastic cURL. My curl single-threaded function: [code lang="php"] function singlethread_crawl($url) { $agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"; $ch = curl_init(); curl_setopt($ch, CURLOPT_NOSIGNAL, 1); curl_setopt($ch, (more...)

Google 2 RSS

Posted on Thursday, 29th December 2005 | 1 Response
On ThreadWatch yesterday there was a thread about rank checkers, and I couldn't believe that some SEOs don't use them. We use our own heavy duty mega serp scraper to fully analyse any industry we are working in. Anyway, Graywolf mentioned how he would love a Google RSS or XML feed - I having been waiting for this for a long time, as their SERPs are so (more...)

View Adsense Source Code

Posted on Saturday, 10th December 2005 | 2 Responses
I can be quite slow sometimes :) I only just realised that you could view the source code (html) of the Adsense javascript include in Firefox. Just right-click on the ads, choose 'This Frame' then 'View Frame Source' (obivously I knew this for normal frames :)):