function to get pagerank for an url?

Discussion in 'PHP' started by falcondriver, Nov 17, 2006.

  1. #1
    has anyone a working pagerank script or function he could share here? yeah, i tried google but i only found some paid services (15$/1000 queries - yeah sure guys....) and some other script which always returns zero - think have seen the same here on dp some months ago but had no demand for it at this time.
     
    falcondriver, Nov 17, 2006 IP
  2. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Google for a file called PageRankXor32.php. Having said that, a lot of servers don't work with this script either (not sure if it's being blocked one way or the other).
     
    TwistMyArm, Nov 17, 2006 IP
  3. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    daboss, Nov 17, 2006 IP
  4. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #4
    falcondriver, Nov 18, 2006 IP
  5. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have a pagerank script on my blog.

    It's based on a tutorial over on devpapers but I wasn't satisfied with the resources it needed so I added a caching capability.
     
    streety, Nov 18, 2006 IP
    falcondriver likes this.
  6. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #6
    thanks for the link, but its still not working:

    Google Error
    
    Forbidden
    Your client does not have permission to get URL /search?client=navclient-auto&ch=6576404593&features=Rank&q=info:http://www.yahoo.com from this server.
    Code (markup):
    there is link "see this code in action at http://www.bewebmaster.com/beseen/", but i cant see a pr display at this page.

    i try this request via php:
    GET /search?client=navclient-auto&ch=6576404593&features=Rank&q=info:http://www.yahoo.com HTTP/1.1 Host: www.google.com 
    Connection: Close
    
    Code (markup):
    i assume they changed something since this script is out? but it cant be impossible to fake a g-toolbar request, other sites still show a pagerank. more ideas...?
     
    falcondriver, Nov 18, 2006 IP
  7. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #7
    I'd use cURL instead of fsockopen(). This would probably work...
     
    nico_swd, Nov 18, 2006 IP
  8. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Is that for the script posted on my blog? I've just checked and it is currently working fine on my own server.
     
    streety, Nov 18, 2006 IP
  9. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #9
    ah ok, found the downoad link and its ok now. tried this devpapers version first.
     
    falcondriver, Nov 18, 2006 IP
  10. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #10
    That's great, you had me worried.

    I'm pleased to hear it is working for you.
     
    streety, Nov 18, 2006 IP
  11. zahaby

    zahaby Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Hi falcondriver;
    what is the URL of the paid services (15$/1000 queries) u told us about.

    thanks...
     
    zahaby, Nov 27, 2006 IP
  12. falcondriver

    falcondriver Well-Known Member

    Messages:
    963
    Likes Received:
    47
    Best Answers:
    0
    Trophy Points:
    145
    #12
    not sure where i have seen this, maybe it was even for the alexa api. found it somewhere while i was looking for pagerank/alexarank services.
     
    falcondriver, Nov 28, 2006 IP