Directory Statistics
Active Directories:
Pending Directories:
Rejected Directories:

Categories:
Unique Outgoing Hits:
535
5
577

75
21370

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
6 site(s)
PR 5
   
28 site(s)
PR 4
   
79 site(s)
PR 3
   
106 site(s)
PR 2
   
99 site(s)
PR 1
   
56 site(s)
PR 0
   
160 site(s)

Regional Directories

Niche Directories

Google, Yahoo, and MSN stats

 Monday, July 16th, 2007
Mods Compatibility
IndexU 5.4.X
IndexU Deluxe

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.

  1. 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).
  2. 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.
  3. 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

Content visible to member only. Please register or login first.

idx_pageindexed

Content visible to member only. Please register or login first.

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 :

Content visible to member only. Please register or login first.

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 :

Content visible to member only. Please register or login first.

Google Page Indexed stats :

Content visible to member only. Please register or login first.

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

8 Responses to “Google, Yahoo, and MSN stats”



  1. Bruceper Says:

    As a note, Google no longer allows new signups for the SOAP search API.

  2. admin Says:

    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 :)

  3. ANTONY Says:

    Hello,
    Where i must insert into the init.php the code for msn and yahoo...
    Thank's for your answer.
    Antony

  4. admin Says:

    Just added below :

    Content visible to member only. Please register or login first.

  5. RR Says:

    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

  6. admin Says:

    Ok, I've fixed it and updated the zip file.
    Thanks for letting me know.

  7. R Says:

    for some reason the google backlinks and index pages are coming up zero for everyone. Is this because I've upgraded to 6?

  8. admin Says:

    Please re-check your idx_backlink and idx_pageindexed tables.
    Make sure that both tables are okay.

Leave a Reply