/********************************************************************** GooglePR -- Calculates the Google PageRank of a specified URL Authors : Emre Odabas (emre [at] golge [dot] net) Version : 2.0 Description What is Google PageRank? PageRank is a family of algorithms for assigning numerical weightings to hyperlinked documents (or web pages) indexed by a search engine. Its properties are much discussed by search engine optimization (SEO) experts. The PageRank system is used by the popular search engine Google to help determine a page's relevance or importance. As Google puts it: > PageRank relies on the uniquely democratic nature of the web by > using its vast link structure as an indicator of an individual > page's value. Google interprets a link from page A to page B as > a vote, by page A, for page B. But Google looks at more than the > sheer volume of votes, or links a page receives; it also analyzes > the page that casts the vote. Votes cast by pages that are > themselves "important" weigh more heavily and help to make other > pages "important." For more info: http://www.google.com/corporate/tech.html http://en.wikipedia.org/wiki/PageRank http://www.google.com/webmasters/4.html This class will calculate and return the Google PageRank of the specified input URL as integer. Class was build based on Raistlin Majere's google_pagerank function Change Log: 2008-01-24 * Hash calculation functions updated because of miscalculation based on php versions. (algorithm updated based on a anonymous source code which supposed to be found at http://pagerank.gamesaga.net but not exists any more.) 2005-12-07 * Small bug removed (dies when caching disabled) 2005-11-24 * Added user-agent support * Class selects random google hostnames in order to prevent abuse. (You may define extra google hostnames) * Class now first tries cURL, fsockopen() and file_get_contents() to connect google servers. * Added caching option to class. Results now can be cached to flat files in order to prevent abuse and increase performance. * Cache files are stored in seperate directories for performance issues. 2005-11-04 * Initial version released Ex: $gpr = new GooglePR(); //$gpr->debug=true; //Uncomment this line to debug query process echo $gpr->GetPR("http://www.progen.com.tr"); //Uncomment following line to view debug results //echo "<pre>";print_r($gpr->debugResult);echo "</pre>"; **********************************************************************/ |
Classes of Emre Odabas | > | Google Rank Checker | > | Download .zip .tar.gz | > | Support forum (23) | > | Blog | > | Latest changes |
|
|
Groups | Trackback | Applications | Files |
Groups |
Searching | Search engines, crawling and indexing | View top rated classes |
Web services | Web data clipping, SOAP or XML-RPC clients and servers | View top rated classes |
SEO | Search engine optimization tools | View top rated classes |
Recommendations |
page rank
check site page rank google
Innovation Award |
November 2005 Number 2 Prize: One copy of the Zend Studio |
Google search result pages has become one of the most important sources of visitors to content Web sites. To maximize the number of site visitors, it is important that the pages of the site appear first in as many Google search result pages as possible. The Google search results are sorted by a factor named page rank. Higher ranked pages have greater chances of appearing first in Google search result pages. The Google page rank is computed according to a patented algorithm that takes in account incoming and outgoing links of the page. The exact page rank formula and factors that affect its value are not publically known. However, the rank of a page is informed by the Google Toolbar from queries that it performs to the Google servers. This class can query Google servers and retrieve the rank of a given page. This way anybody can determine the page rank without needing to install the Google Toolbar. Manuel Lemos |
Pages that reference this package |
Dynamic Google Page Rank for Detronizator.org Today is a great day ( :P ): I have added Google Page Rank calculation on the sidebar (→) of my weblog... |
Google PageRank, a few remarks As for the last year the big buzz has been on the Google PR formula and the new science of hacking it, I have spent some time myself with it. To discover that although it’s nice to see the green bar filling up the white space in the ranking box, it does not say much about your keyword relevance. |
google Pr rank view Script? This is a PHP class that will do it... |
Obtener el Pagerank de una Web con PHP En un proyecto nuevo que estoy empezando he tenido la necesidad de comprobar/obtener el pagerank de una página de forma automática, antes de buscar nada me he decidido a pasar por un repositorio de clases, mucho más sencillo, no reinventemos la rueda... |
PHP PageRank Checker El PageRank (PR) en un valor (De 0 a 10) el cual es asignado por Google que representa la importancia que una página tiene en Internet... |
Latest pages that reference packages
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description |
---|---|---|
example.php | Example | Example |
class.googlepr.php | Class | Class GooglePR |
README.txt | Doc. | Readme first |
test.php | Example | Check multiple url's with debug results |
Install with Composer - Download all files: googlepr.tar.gz googlepr.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|