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.

Google PR Script

Discussion in 'C#' started by webcosmo, Apr 13, 2007.

  1. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,607
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #21
    Yah, I interop in vb.net 2005 with old vb code.... but it can definitely be converted :)
    SEMrush
     
    ccoonen, Jun 14, 2007 IP
    SEMrush
  2. Aztral

    Aztral Active Member

    Messages:
    344
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    75
    #22
    Sorry..i forgot about this thread :(

    Hrm...I never tried the script with IP instead of urls. Any chance of getting looking up url from IP, or is an IP only host?
     
    Aztral, Jun 14, 2007 IP
  3. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #23
    educ8it, Jun 15, 2007 IP
    webcosmo likes this.
  4. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #24
    webcosmo, Jun 15, 2007 IP
  5. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,607
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #25
    webcosmo, make sure to hit multipe Google DataCenters to ensure the correct PR.
     
    ccoonen, Jun 15, 2007 IP
  6. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #26
    try it with a final slash, to be honest I have only tested this with my own domains and with microsoft.com but it seemed OK. Let me know if this works then. Meanwhile I might update it to auto-check this.
     
    educ8it, Jun 16, 2007 IP
  7. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #27
    Tried the webcosmo link and my prog gave me a PR3 with and without slashes.

    Either a typo or perhaps it DNS'd to an unfriendly datacentre - I will add multiple datacentres in next version.
     
    educ8it, Jun 18, 2007 IP
  8. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #28
    great work really. i will dig through, to develop a web version in a few days. thank you.
     
    webcosmo, Jun 18, 2007 IP
  9. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #29
    I checked the code. You didnt put the code for PageRank.dll
     
    webcosmo, Jul 17, 2007 IP
  10. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #30
    webcosmo, Jul 17, 2007 IP
  11. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #31
    it works in the same way as the toolbar PR checker.

    I haven't tested it on sub-folders because it doesn't interest my right now.

    Sometimes the Google toolbar guesses the PR if the PR is not returned on a sub-page.

    I will look into this problem. I'm also likely to post a full ZIP with my classes in C# later this week so you can see how the request is built.
     
    educ8it, Jul 18, 2007 IP
  12. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #32
    Thank you.
     
    webcosmo, Jul 18, 2007 IP
  13. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #33
    I've tried out the WebCosmo link (http://www.webcosmo.com/) and that works fine - gets a PR3.

    I tried the sub-link above and the code gave me a 403 forbidden from Google.

    I know Google have updated the Toolbar over the last week so we may need to modify the hashing algorithm accordingly - or I may have missed something when I first converted the code from PHP.

    Anyway, the full code and a demo version is available from my site on: PageRank Tool in C# Demo and dull code

    Get back to me with any comments 'cos it'd be nice to get this fully working.

    AR
     
    educ8it, Jul 20, 2007 IP
  14. Carlito

    Carlito Peon

    Messages:
    679
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #34
    Finally a .net PR checker. Haven't tried it yet, but if it works... great job!
     
    Carlito, Jul 21, 2007 IP
  15. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #35
    webcosmo, Jul 23, 2007 IP
  16. educ8it

    educ8it Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #36
    educ8it, Aug 20, 2007 IP
  17. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #37
    I will check it. Currently it doesn't calculate rank inner folders. Would have been nicer if we had that. I will give it a try.
     
    webcosmo, Aug 20, 2007 IP
  18. saadalgazzar

    saadalgazzar Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #38
    i dont have ... please tell us if u get it
     
    saadalgazzar, Aug 20, 2007 IP
  19. saadalgazzar

    saadalgazzar Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #39
    i dont understand anything:mad::mad::mad:
     
    saadalgazzar, Aug 20, 2007 IP
  20. webcosmo

    webcosmo Notable Member

    Messages:
    5,842
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #40
    webcosmo, Aug 21, 2007 IP