Fusion Google Pagerank with Java

I was working on a module for an application of mine, and I’ve been struggling and searching in order to come up with a Google PageRank detector. I came up with a cool and accurate solution and I would love to share it with you.

I uploaded a Java Web Start small application! Check it out here

Btw, Java Runtime Environment is required, get it from java.com

Edit: The source code is available here.

Stay tuned!

  • IWantTheCode

    Hi, I would love to get this code if possible.

  • http://www.eKhoury.com fusion

    okay done!

  • RoCkGoD

    INVALID LINK,SHOU 3am btetmaniak ? HAHAHAHAHHA:D nice one elie!

  • http://www.eKhoury.com fusion

    haha ;)

  • Nick

    Nice tool always with with the good stuffs. Now i m gonna go check our page rank of fusionfeeds. buffering…
    http://www.fusionfeeds.com is page ranked 3.
    looooool.
    Hehe i liked it .:)
    w for the wrong url ayre bil maniake :P

  • Mad Scientist

    Woow :P my page rank is 0 :P kasaret el record… Gr8 job again bro :P

  • http://www.exoleb.com eliedh

    I got an error, here are the details:

    GENERAL:

    An error occurred while launching/running the application.

    Title: Fusion Google PageRank
    Vendor: Fusion Live Blog
    Category: Unexpected Error

    Unexpected exception: java.lang.Exception

    LAUNCH FILE:

    Fusion Google PageRank
    Fusion Live Blog

    Fusion Live Blog – A fusion of art and science

    EXCEPTION:

    java.lang.Exception
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    =====================

    Anyways, great work en general!! keep it up!

  • http://www.eKhoury.com fusion

    Thanks man,

    btw try to update your java runtime enviromnent (JRE)

  • http://www.exoleb.com eliedh

    btw try to update your java runtime enviromnent (JRE)

    It worked now, Thanks :)

    Oh and btw, if the page is not indexed in google, it doesn’t mean that the person 3am yetmanyak :P

  • http://www.eKhoury.com fusion

    Hehe.. you’re right!

  • http://www.dialme.com Jeremy

    Pretty cool, I’ve been looking for a pagerank checker I can use on a site like this.

  • http://www.ekhoury.com/2008/12/07/google-pagerank-you-raise-me-up/ Elie El Khoury » Google PageRank: You Raise Me Up ★

    [...] see your Google Pagerank, you can install the Google Toolbar. Or, I have created a simple Java Program that shows you your pagerank and I’ve provided the source code. Check it out! Related Posts:Google’s new [...]

  • Ed

    Hi Elie,

    I’m trying the code and it seems to work fine for most sites. For example the PageRank for CNN is being returned correctly as 10. However, the rank for FoxNews is being returned as -1 whereas it should be around 8. Do you know why this happens?

    Thanks. ;-)

  • http://www.ekhoury.com Elie

    I’m not sure Ed, it’s been a while I haven’t messed with that Code. But I guess it has to do with the Google servers… Please drop me a live if you find the problem.

  • http://www.kremsoft.com Kris

    Hey Elie

    Great job with the app but it does have a major bug that it doesn’t work with all websites. Seems the checksum is wrong. Like it doesn’t work for http://www.google.com and http://www.cnn.com

    Any ideas? The whole checksum part went over my head…. trying to research it now

    Cheers

  • Ed

    Hi Kris,

    Did you find a solution to the bug?

    Thanks.

  • http://www.kremsoft.com Kris

    I found another script that works for every domain I have tested against. Although it doesn’t seem to be able to calc page rank for internal pages.

    I can’t remember where I found it but send me a msg and I’ll gladly share it

  • http://www.ekhoury.com Elie

    Can you share it here Kris please? Thanks…

  • http://www.kremsoft.com Kris

    I just zipped it up for you
    http://www.kremsoft.com/pagerank.rar

  • http://www.ekhoury.com Elie

    The script you sent strips the rest of the url. Delete or fix line 115 of the php code you sent and it will grab pageranks for internal pages as well.

  • http://www.kremsoft.com Kris

    Doesn’t line 115 just add a http on the URL if it is not there?

  • http://www.ekhoury.com Elie

    Oups, I guess you’re right.

    Anyway, I learned recently that Google Pagerank is no longer going to be public. And I guess this protocol has become deprecated.

    Just my $0.02.

  • http://www.kremsoft.com Kris

    Where did you read that?

    The pagerank that google makes public is apparently not very accurate any way but it is better then completely fishing in the dark

blog comments powered by Disqus