Now I've done something relatively useful with my PageRank algorithm written in Python that I'm actually quite proud of. It's not rocket science but at least I've managed to understand the Google PageRank algorithm and applied it to my own setup. This application is very simple and not so useful as one could hope but at least I prove to myself that it can be done.

I call it PlogRank. As you might have noticed, most blog items here on this site have on the left hand side, beneath the menu, a list of "Related blogs". These are from now on sorted by PlogRank! Cool, ha?

The "Related blogs" work by specific word matching. Every blog item has a list keywords that I define manually through the management interface. The selection of keywords is helped by another little database that filters out all typical words. E.g. "PageRank" is a particular word and "page" is not; so selecting these keywords is very easy for me.

Anyway. What I do now, once every week, is that I load a huge matrix of all connections between pages. If this blog item has a link to PageRank in Python then that page increases in PlogRank. It does not effect this page. I then feed this into the PageRanker program I've written which calculates the corresponding PageRank for each blog item. Easy! The whole calculation takes only a couple of seconds with 30 iterations. The calculation is actually only a small part of that time because reading from and writing to the database is the real bottleneck.

So, the end result is that every blog item that has related links will show these links in PlogRank-sorted order. Isn't that neat?

Comments

pagerank-prediction.com

Here is a further pagerank explanation!
Google PageRank carefully explained and what you can do with it - written by top SEO experts.
Here is a link for your readers;
http://www.pagerank-prediction.com/

Ed

I still can't get off zero pagerank. What is wrong with my website?!?
It's www.downloadsathere.com

Your email will never ever be published.

Previous:
Google PageRank matrix calculator (graphically) May 19, 2004 Mathematics
Next:
No more university for me May 23, 2004 Mathematics
Related by category:
Fastest way to find out if a file exists in S3 (with boto3) June 16, 2017 Web development
Be very careful with your add_header in Nginx! You might make your site insecure February 11, 2018 Web development
<datalist> looks great on mobile devices August 28, 2020 Web development
How to have default/initial values in a Django form that is bound and rendered January 10, 2020 Web development
Related by keyword:
Google PageRank algorithm in Python March 21, 2004 Mathematics, Python
DoneCal on MumbaiMirror February 3, 2011 DoneCal
How did Google do that? July 14, 2007 Web development
Cheeky Explore (Dictionary of Everything) May 26, 2005 Politics