Pass: 0

PageRank Bar

PageRank Bar Plugin

See it working on: Oeko-Fakt

Usage

$.getScript('https://4nf.org/PR.js',function(){$('#PR').PageRank_Bar(style);});

It’ll display a PageRank Bar any parent element with the ID ‘#PR’ like this:
…displaying the PageRank of the page it is on. It updates itself!

You can use any parent element in the jQuery selector and the plugin is also chainable.

Advantages

  • Lean and easy to use interface
  • No document.write(), which might not be ideal in an Ajax environment. This plugin uses jQuery dynamically.
  • No PageRank dilution from your site

Comments

We need your comments and feedback!! Please drop one here (see below)

Style codes

Choose style as an integer from 2 thru 26 with a few exceptions mapping on to these styles: Page Rank Lookup Styles


PageRank Bar Style Code
2
3
4
5
9 (default)
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

GitHub Gist

Display a PageRank Bar on your pages that updates itself – works in an Ajax environment, too!


Current version

– v1.1.0

2 thoughts on “PageRank Bar”

  1. Hi, does this only works for the current page or is it possible to display it for any given pages? Example, a list of sites with the pagerank displayed next to it?!

    Second question, is it possible to display it in plaint text as well or only image?!

    Thanks a lot anyway, looks good to me

    1. Hi,

      thanks for posting!

      In both cases, you could derive from the code in the Gist, in order to achieve what you want to do.

      I was originally thinking of just a standard graphic to show the PR of the current page in lot’s of potential styles, without “paying” with an outgoing link, which dilutes PR.

Leave a Reply to admin Cancel reply

Your email address will not be published. Required fields are marked *

Show Buttons
Hide Buttons