[wp-hackers] Get most seen blogs on WPMU
Jeremy Clarke
jer at simianuprising.com
Fri Oct 9 15:54:05 UTC 2009
On Fri, Oct 9, 2009 at 7:25 AM, Vinicius Massuchetto
<viniciusandre at gmail.com> wrote:
> I want to show the most seen blogs on WPMU home, and as I didn't find
> any function that go through blogs by page view I was thinking about
> putting a call to write on a table `wp_accesses` (or something) on
> header.php of each theme available, so I can filter the most accessed
> blogs by counting entries on this table.
Any solution you find will involve a lot of writing to the database to
track hits or else interfacing with an external service in complicated
ways to compare the stats of the different blogs (i.e. you might be
able to run a cron that checks the Google Analytics api for each of
your blogs and sorts them).
A fun idea might be to use wp-supercache to get stats on which blogs
have the most cached pages. Not sure how feasible that would be but in
theory its sexy :P
--
Jeremy Clarke | http://jeremyclarke.org
Code and Design | http://globalvoicesonline.org
More information about the wp-hackers
mailing list