================================================================== Snippet-title: google_rank v1.0 Creator: Graham Keellings E-mail: pivot@keellings.com Website: http://www.keellings.com/software/pivot.php Creation date: 16 December 2005, Sentosa Island, Singapore ================================================================== Content of zipped file: ----------------------- snippet_google_rank.php readme_google_rank.txt (this file) Usage: ------ 1) unpack this package in your extensions/snippets/ folder. 2) place a [[google_rank]] tag, with the appropriate parameters, in any of your template files, whereever you want the google_rank to appear (side bar, page top or bottom, etc) Syntax: [[google_rank:]] Examples -------- [[google_rank]] [[google_rank:www.pivotlog.net]] 3) rebuild the FrontPage(s). Description: ------------ * A snippet to check a web site's Google rank. * For more info: * http://www.google.com/corporate/tech.html * http://en.wikipedia.org/wiki/PageRank * http://www.google.com/webmasters/4.html * * Very little work from me, I just put a snippet wrapper around some code from * Raistlin Majere (euclide at email dot it) (google_pagerank() * and Emre Odabas (eodabas at msn dot com) Parameters: ----------- * @param string url - pass '.' for the current web server, or any * URL without the "http://", e.g www.mysite.com * * @return The Google rank - an integer between 0 and 10.