By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,397 Members | 1,652 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,397 IT Pros & Developers. It's quick & easy.

How to make a google page rank script

P: n/a
Hello;

Anyone knows how can I create a scrip that returns the google page rank
of a given web page?

I have seen this on many web pages but I want to host my own script and
I dont know how it is made.
I want it to be something like this:

http://www.googlecommunity.com/scrip....adriantnt.com
So I can give it an url and it says the url page rank from 0 to 10.
That link doesnt give the full source file for that, only some encoded
script.

Thanks.

Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
**tip**
1) look at the source of that page
2) write a regular expression to find the pagerank
3) use sockets (fso) or curl to retrieve the page
4) cache the result
5) echo out the page rank

so then your process is:
1) user enters domain
2) regular expression to validate the domain
3) check if there is a cached result (if true proceed to 6)
4) connect to the page
5) run the regular expression for page rank
6) show pagerank
I have seen this on many web pages but I want to host my own script and
I dont know how it is made.
I want it to be something like this:

http://www.googlecommunity.com/scrip....adriantnt.com

Jul 17 '05 #2

P: n/a
I am sorry but I didnt understood any of the steps you mentioned,
source file is endoded, something about code 64 base.

Anyone else has ideeas? I am trying to create ascript that returns the
Google page rank for given URL, value from 0 to 10.

Thanks.
-Adrian.

Jul 17 '05 #3

P: n/a


hi

is this not the full script? the author says he's released the source:

http://www.googlecommunity.com/scrip...nk-source.phps

luke


"adrianTNT" <ad*******@adriantnt.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
I am sorry but I didnt understood any of the steps you mentioned,
source file is endoded, something about code 64 base.

Anyone else has ideeas? I am trying to create ascript that returns the
Google page rank for given URL, value from 0 to 10.

Thanks.
-Adrian.

Jul 17 '05 #4

P: n/a

You will be violating Google's terms & conditions by using this script.
In addition you are soon likely to get false results as the Google
developers detect the violation and begin to send nonsense back in
response to requests. The lifetime of the script is limited because the
checksum algorithm will be altered to foil the abusers, and there is a
Magic Number (corresponding to the specific Google Toolbar that was
reverse engineered/sniffed) hard coded into the algorithm which can
easily be blocked.

Sorry.

--
Steve

Jul 17 '05 #5

P: n/a
adrianTNT wrote:
I am sorry but I didnt understood any of the steps you mentioned,
source file is endoded, something about code 64 base.

Anyone else has ideeas? I am trying to create ascript that returns the
Google page rank for given URL, value from 0 to 10.


http://www.tapouillo.com/firefox_extension/

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.