OWA Most Popular – version 1.2

OWA Most Popular has been updated.


Seperate function
It is possible to call the function directly in your php code (hint: templates), by using the following function:


New algorithm
The widget will use weighted algorithm, if you would set the variable $style_owa_popular to “weighted”. The formula is pretty simple, being:

(Sort) Factor = number of visits / (date difference (in days) + 1)

Important note : This weighted algorithm is pretty (system) resource intensive, I would advise you to use some form of caching mechanism in combination with this option.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.