1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Extracting Google PR

Discussion in 'PHP' started by Weirfire, Nov 23, 2004.

  1. #1
    If I wanted to use Google's PR on my page somewhere, how would I go about extracting this value?
    SEMrush
     
    Weirfire, Nov 23, 2004 IP
    SEMrush
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't do it excessively without pissing off uncle G.

    I have a PR calculator PHP file yuo can use. Can I send files via PM?
     
    T0PS3O, Nov 23, 2004 IP
  3. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #3
    sure or just email them to info AT weirfire.co.uk ;)

    I wouldn't be using it excessively, it was just a hypothetical analargy. :)

    I presume it's taken from the toolbar API?
     
    Weirfire, Nov 23, 2004 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have no clue how it works, but it works. (Don't AAsk :D )

    Will e-mail... Expect some spam too for posting it like that (not from me).
     
    T0PS3O, Nov 23, 2004 IP
  5. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Cheers

    It looks like

    $google_url=sprintf("http://www.google.com/search?client=navclient-auto&ch=6%u&features=Rank&q=".$url,$checksum);

    could be the key to the whole program.
     
    Weirfire, Nov 23, 2004 IP
  6. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #6
    What about using ThinkBling's PR tool, I use it for my site.
     
    misohoni, Nov 23, 2004 IP
  7. Help Desk

    Help Desk Well-Known Member

    Messages:
    1,365
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    180
    #7
    Each URL needs a checksum created from it. This checksum formula along with the url is passed over to Google and then the PR is returned. The heart of the program is the actual checksum. Also I have not heard of Google blocking any PR fetch. Alexa however, is not as nice.
     
    Help Desk, Nov 23, 2004 IP
  8. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #8
    Thanks Thinkbling.

    I could have another small project on the way for next year :)

    There's some great tools at your site

    www.thinkbling.com

    The future pagerank calculation is a nice tool. :)
     
    Weirfire, Nov 23, 2004 IP
  9. darksat

    darksat Guest

    Messages:
    1,239
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yeah much better than the rustybrick one, that one is just pure gueswork.
     
    darksat, Nov 23, 2004 IP
  10. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #10
    hehe true.



    So there is actually no limit to the number of times you can fetch the PR? That could be quite usefull.
     
    Weirfire, Nov 23, 2004 IP
  11. darker

    darker Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I'm running a script at www.webmaster-resource.com that takes use of just this, it fetches the pagerank for all the sites submitted. The script it's based on is available on the net and is pretty easy to rewrite into doing something useful :) I don't remember where I downloaded the source though.. will post if I do.. was a cell-phone forum or something like that.
     
    darker, Nov 23, 2004 IP
  12. expat

    expat Stranger from a far land

    Messages:
    873
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #12
    expat, Nov 23, 2004 IP
  13. Weirfire

    Weirfire Language Translation Company

    Messages:
    6,979
    Likes Received:
    365
    Best Answers:
    0
    Trophy Points:
    280
    #13
    Cheers Martin.

    Identical script to the 1 that TOPS sent me :)
     
    Weirfire, Nov 23, 2004 IP
  14. john_loch

    john_loch Rodent Slayer

    Messages:
    1,294
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    138
    #14
    It wasn't all that long ago (well a year or so) that the checksum script was a (relatively) closely guarded secret. Then it became available on a website that some student ran. A few months later Shawn released the PR widget for Macs (which contained the checksum formula as JS), and at which time I think I also noticed the SEOchat tool..

    How things change :)

    There's nothin like knowledge in motion.

    Cheers,

    JL
     
    john_loch, Nov 24, 2004 IP
  15. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #15
    Anyone have the new checksum seed for this?
     
    noppid, Apr 26, 2005 IP
  16. jbw

    jbw Peon

    Messages:
    343
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #16
    yes, but as far as I know both the old and the new are still working right?

    btw, does anyone know just what you can get away with, query wise against alexa?
     
    jbw, May 8, 2005 IP