Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (23) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
![]() ![]() ![]() ![]() | Total: 14,519 | All time: 67 This week: 149![]() |
Version | License | PHP version | Categories | |||
googlepr 1.0.0 | Public Domain | 4 | Searching, Web services, SEO |
Description | Author | |||||||||||||||||||||||||
This class can be used to retrieve the Google page rank of a page with a given URL. Recommendations page rank Innovation Award
|
|
/********************************************************************** 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>"; **********************************************************************/ |
![]() |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Example |
![]() |
Class | Class GooglePR |
![]() |
Doc. | Readme first |
![]() |
Example | Check multiple url's with debug results |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (15) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
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... |