Forum Moderators: coopster

Message Too Old, No Replies

PHP Code For Link Checking + Page Rank

PHP Code For Link Checking + Page Rank

         

The Subtle Knife

8:34 pm on Feb 19, 2003 (gmt 0)

10+ Year Member



Is there any PHP source code around
for Link Checking and Page Rank?

(I presume this will use the google API
on a personal basis)

So this script will run non-commercially, and not in public.

Pointers appreciated!

jatar_k

12:50 am on Feb 20, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I've actually been asked this a few times but haven't heard of or seen any yet.

lorax

1:13 am on Feb 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I haven't written it yet! ;)

The Subtle Knife

3:49 pm on Feb 20, 2003 (gmt 0)

10+ Year Member



I have found commercial versions
with source - so I think I'll purchase them.
This would be a good starting point.

Has anyone seen anything on www.hotscripts.com?
This is my usual starting point for open source PHP scripts.

Please contact me if anyone wants any joint development - help each other out etc...
I think we need to set something up - it's going to require team for all of to keep on top of google these days!

Here's what I found after hours and hours of searching...
(I still think that alltheweb.com/ teoma.com are more relevant sometimes thesedays)

<snip>

[edited by: Marcia at 6:57 pm (utc) on Feb. 21, 2003]
[edit reason] No URLs or tools, please. [/edit]

bcolflesh

6:17 pm on Feb 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dear Folks,
Aren't automated query systems expressly forbidden by Google's TOS?

Regards,
Brent

andreasfriedrich

6:27 pm on Feb 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The Google API is specifically about making automated queries. Even if some people have doubts about whether the Google API TOS overrides the main TOS and allows them as such simple teleological interpretation tells as that automated queries using the Google API are allowed (arg: venire contra factum proprium).

Andreas

bcolflesh

9:45 pm on Feb 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dear Andreas,
I hear what you are saying, but I was under the impression the API use covered apps used to return search results, not "Link Checking and Page Rank" - seems like it is a contentious point:

[webmasterworld.com...]

"The use of automated querying tools/programs is against Google's TOS (www.google.com/terms_of_service.html):

No automated Querying
You may not send automated queries of any sort to Google's system without express permission in advance from Google. Note that "sending automated queries" includes, among other things:

using any software which sends queries to Google to determine how a website or webpage "ranks" on Google for various queries;

"meta-searching" Google; and

performing "offline" searches on Google. "

From:
[webmasterworld.com...]

The Subtle Knife

9:47 pm on Feb 23, 2003 (gmt 0)

10+ Year Member



can we get back to the main point,
I'm assuming using google API and NO PUBLIC scripts,

i.e for private use only.

No mass automated public searches!
Otherwise this thread will lose focus!

RonPK

10:20 pm on Feb 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Whether it's allowed or not: I don't think it's possible.

The toolbar sends a query to Google, which returns the PR. The query looks like this:
toolbarqueries.google.com/search?client=navclient-auto&ch=51293021512&features=Rank&q=info:http%3A%2F%2Fwww%2Ehans%2Enl%2F

In this case the returned PR is 0.

The 'problem' is the ch-part: a unique checksum-value. Simply replacing the info-part with the url you're interested in won't work: you need the checksum.

[edit]Not entirely this what The Subtle Knife was looking for...[/edit]

[edited by: jatar_k at 2:56 pm (utc) on Feb. 24, 2003]
[edit reason] fixed sidescroll [/edit]

The Subtle Knife

1:05 pm on Feb 24, 2003 (gmt 0)

10+ Year Member



So your saying it's not possible with the GOOGLE api
SDK to get a Page Rank?

I thought that was the whole point of the google api!

This can't be correct!

RonPK

2:17 pm on Feb 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Short reply: yes, no, yes it is.

You need the checksum formula, whether you use the API or send a direct query. The formula isn't part of the API, Google doesn't publish it, and reverse engineering it would probably be illegal.

The Subtle Knife

2:59 pm on Feb 24, 2003 (gmt 0)

10+ Year Member



I'm baffled, I thought the google api gave
you a code, which is used to indentify that's
it's a Developer query, (like the check sum) thus
giving you information on Page Rank.

Even so, surely a tool could be written that
used the browser in a "human" way, but automated?