Sean Feeney
Architect of the digital age

Top Posts Widget by PostRank

27 November 2008

I was having trouble finding the code for the top posts widget by PostRank so I’ve included it, along with instructions, below:

  1. Go to PostRank and enter your RSS feed address into the Analyze box at the top of the site. You’ll likely get an error that this URL has never been entered before, just wait a few minutes for it to build an index and try again.
  2. On the Feed Detail page, click the RSS looking button on the right.

  1. Note the unique hash that pops up, circled above.
  2. Go to the following URL, replacing {YOUR HASH} with your actual hash:
    http://api.postrank.com/v2/feed/{YOUR HASH}/info?format=xml&appkey=postrank.com/example

  3. On the page that loads, note your unique feed id, which comes up right after your hash and before your URL.

  1. Use the following code, replacing {FEED ID} with your actual feed id, ‘year’ with the time period you would like (year, month, week, day), and 10 with the number of records to return:

</div>

Posted in blogging, PostRank, scripts, Web Widgets

You agree to my disclaimer, regardless of the decision in Nguyen v. B&N.

Social

Causes

Genealogy


I Love Geni