Popstats is a just-released open-source set of PHP 5 classes that allow you to easily query one of several popularity APIs with a given URL. This code originally lived in the Power 150 (now hosted at AdAge.)
These tools can help you programmatically grab ranking and popularity information for your (or anybody else’s) website.
The initial classes offered are as follows:
| cacher.class.php | Caching utility class which allows you to cache the results of a GET. This helps you avoid spam-requesting services like the Technorati API. |
| bloglines.class.php | Gets the Bloglines subscribers for one or more URLs. (Requires cacher.class.php) |
| google_pagerank.class.php | Gets the Google PageRank for a URL. (Requires cacher.class.php) |
| technorati.class.php | Gets the Technorati rank for a URL. (Requires cacher.class.php) |
The intended audience for these tools are PHP programmers and integrators; these are not intended for use by an end-user or non-programmer.
You are highly encouraged to contribute to popstats by submitting improvements or bugfixes that have general benefit to the tools. The code will probably also need a wiki page per class to discuss usage and that sort of thing - we would be happy to see that kind of documentation spring up.

Email

2 responses so far ↓
1 香港è´ç‰© // Jun 2, 2008 at 8:08 am
Does this project still work?
2 Mark Woodman // Jun 3, 2008 at 7:57 am
It should, yes.
Leave a Comment