471,596 Members | 994 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,596 software developers and data experts.

How to make a google page rank script

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
5 2419
**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
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


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

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
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.

Similar topics

1 post views Thread by while_1 | last post: by
32 posts views Thread by sandy | last post: by
10 posts views Thread by Can | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.