

Moved the stats viewlet to the top of the portal footer viewlet managerįixed a problem with the way the path was retrieved The default value is 150.Īdded a content type whitelist to the portletĪdded an option to filter out direct downloads from the portletĪdded support for hits (not just page views) Useful for testing and can now be configured to say how many items should show ContributorsĪdd on listens for the existence of the env var DUMP_RAW_AWSTATS_URLS, Use the White list to specify what content types are allowed in the portlet. Use the Blacklist to prevent particular URLs from showing up in popular content. (The global registry is also used for the Popular content view). Overriding the values of the settings highlighted in orange below. We recommend that you leave the “Read settings from the global registry” option selected, this has the effect of
#AWSTATS RSS FULL#
If you prefer to configure all settings in the context of the portlet, you will need to provide the url from yourĪwstats installation that provides the full list of Page URLs then follow the link to the “Full list”Ĭopy the url associated with that page, you’ll need it when adding the portlet.ĭecide where in your site you want the portlet to be located and using the ‘manage portlets’ link add a new ‘Popular Content Portlet’. The portlet is used to present the most popular content It can either make use of the global settings or use settings This add-on provides a “Popular Content Portlet”. This is very useful for troubleshooting and diagnosing if scraping is workingĬollective.awstats_hitcounter adds a viewlet with the id ‘awstats_hitcounter’ which pulls in the stats from awstats.Īdd this javascript at the bottom of pages where you want the counter to show: $("#awstats_hitcounter").load( + screenshot below illustrates the expected behaviour The Popular Content Portlet


This tells the system to skip comparing awstats values to the site catalog.Įffectively you’ll just get a ‘raw’ dump of the URLs returned from AWSTATS. Launch the instance with the env var DUMP_RAW_AWSTATS_URLS as follows: DUMP_RAW_AWSTATS_URLS=1 bin/instance fg The following can be done on a non-production server. Sometimes you want to make sure things are working. List of Page URLs then follow the link to the “Full list”Īdd that url as the awstats_hitcounter url_of_popular_page value (see the image below). If you need to find the “awstats popular page” you will need to provide the url from your awstats installation that provides the full In order to make use of the built in you will need to register an “awstats popular page” Set the absolute url to look similar to this: Configuring the Popular Content settings for the popular_content_view You can do so by going to Site Setup > Awstats HitCounter Settings. ConfigurationĪfter installation configure your awstats url. Once this is installed you know have the facility to dynamically pull in a counter.
#AWSTATS RSS INSTALL#
Then install on your plone site under “Site Setup” > “Add-ons” Provides a “Popular Content” portlet for displaying popular content fromĪdd collective.awstats_hitcounter to your buildout This information in the context of your Plone site. Grabs hits, views and popular content based on awstats data and presents
