Google, Yahoo, and MSN stats
|
||||||||
When browsing my site, you'll noticed Google, Yahoo, and MSN stats in the bottom of detail page. The stats will show number of backlinks in google and yahoo (no MSN at the moment) and indexed page in google, yahoo and MSN.
The script will use the official webservice support that provided by google, yahoo and MSN. So you'll need to get license key for each search engine in this regards.
-
Google SOAP Search API Key
This key is used for querying google using their soap service, it is limited to 1000 request per day. If you already have this key, that's great. Unfortunately google no longer issuing new API keys for the SOAP Search API (refer to google alternative). -
Yahoo Application ID
This key is used for querying yahoo using their web service, it is limited to 5000 request per day. Yahoo provide wide range of service in this regards, here we'll use the Site Explorer Web Services to get number of backlinks and indexed page for a link. -
MSN Application ID
This key is used for querying MSN using their web service, if not mistaken it is limited to 10000 request per day. Recently MSN drop the advanced query syntax, so we cannot check the backlink at the moment.
After you get all the license key above, you'll need to create the following tables :
idx_backlink
idx_pageindexed
You can use PHPMyAdmin or using IndexU Advanced Query Box (Admin Panel > Database > Query) to create tables above. Here I'm using tables in order to provide cache mechanism so we can reduce the number of request to search engine.
Next, go to Admin Panel > Option > Setup > Google Web API License Key, and put your google key there. For Yahoo and MSN Application ID, you'll need to edit init.php file manually and add the following :
The $backlink_cache and $pageindexed_cache variable is number of days for caching backlink and page indexed data. I recommend to use 30 or higher days for this setting.
Next, download the Google, Yahoo, and MSN stats script here (you'll need to login first).
Upload the googlestats.php, yahoostats.php and msnstats.php in your indexu folder. Then you'll need to modify your detail_link.html template to call the script :
Google Backlink stats :
Google Page Indexed stats :
For Yahoo and MSN, simply replace the googlestats.php with yahoostats.php or msnstats.php scripts.
Google Alternative
In google-yahoo-msn-stats.zip file, you'll find googlestats.alternative.php script. You can use this script if you do not have google SOAP key.
Ok, I hope this mods will be usefull for you.
| Related Mods |
| - Alexa Rank Mods |
| - SEO Stats Mods |










July 17th, 2007 at 4:35 am
As a note, Google no longer allows new signups for the SOAP search API.
July 22nd, 2007 at 12:27 pm
Yes, I'm aware of this recently. That why I provide the alternative.
Fortunately I already have the google SOAP key, I have this key since 2004 :)
July 23rd, 2007 at 10:38 pm
Hello,
Where i must insert into the init.php the code for msn and yahoo...
Thank's for your answer.
Antony
July 24th, 2007 at 12:37 pm
Just added below :
August 15th, 2007 at 7:28 pm
Hi,
Thanks for this script. However, with me the Google alternative only gives the thousands. If the results in Google are 19,334, Only 19 is added to the database. Any thoughts on how this can be solved?
Thanks!
RR
August 17th, 2007 at 11:06 pm
Ok, I've fixed it and updated the zip file.
Thanks for letting me know.
May 5th, 2008 at 2:58 am
for some reason the google backlinks and index pages are coming up zero for everyone. Is this because I've upgraded to 6?
July 9th, 2008 at 11:03 pm
Please re-check your idx_backlink and idx_pageindexed tables.
Make sure that both tables are okay.