473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 2572
**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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: while_1 | last post by:
If I have a links page that uses php header calls, for each link, to jump to an external page, does Google see those links as "internal to my site" or do they get counted as links to the redirect?...
32
by: sandy | last post by:
I have a hobby website at: http://www.montana-riverboats.com which also resolves as: http://montana-riverboats.com ...without the www. One address has a Google page rank of three. The other...
10
by: Can | last post by:
I am creating an on-line survey. I want the user to have a list of choices of say 10 items that are radio buttons. They need to rank their preference. They click on preference 1, that option is...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
2
by: orenlevy1 | last post by:
Hi Everyone. I have a problem that I could not figure out what to do with it. I have a couple of tables and views. All have the same unique ID. When a user try to do a search on our web site...
0
globalguideline
by: globalguideline | last post by:
Hi all here any one knows how to get the Google page rank of any web site with out using the Google tool bar mean using any web language like PHP, ASP, .Net, JavaScript etc. at run time mean by...
3
by: veejaykrishna | last post by:
I am developing a website(domain website) FOR CALCULATE DOMAIN WORTH LIKE http://estibot.com/ Here let me find Alexa rank,Google page rank,Back links of websites(I am developing the site...
2
by: pavanip | last post by:
Hi, I am developing Domain/Website project. I have to calculate worth of a site based on Alexa rank,page rank, and Google search results for a website. Please give me some idea about how...
5
by: programmerboy | last post by:
I never had this kind of issue before and it is completely surprising. I have a usercontrol where I need 2 forms to make 1 form. When I have only 1 form it submits the page to itself. I have spent...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.