Scam-proof pageviews with Pyramid?

2012-12-16 Thread Zak
I want keep a count of page views for each page of my Pyramid app. What's the best way to do this? Do I need to use my database to store the number or does Pyramid have a caching framework that would be simpler? How can I block duplicate IPs from registering pageviews for a period of time (for

Re: Scam-proof pageviews with Pyramid?

2012-12-16 Thread Wyatt Baldwin
On Sunday, December 16, 2012 1:25:36 PM UTC-8, Zak wrote: I want keep a count of page views for each page of my Pyramid app. What's the best way to do this? Do I need to use my database to store the number or does Pyramid have a caching framework that would be simpler? How can I block

Re: Scam-proof pageviews with Pyramid?

2012-12-16 Thread Zak
I didn't know Google Analytics had that feature. Thanks for the suggestion. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/100qC0fyDToJ. To post to this

Re: Scam-proof pageviews with Pyramid?

2012-12-16 Thread Christian Ledermann
look at: http://pypi.python.org/pypi/collective.piwik.now/ http://pypi.python.org/pypi/collective.piwik.pageviews/ not a lot of plone specific code in there, should be easy enough to port On Mon, Dec 17, 2012 at 1:23 AM, Zak zakdan...@gmail.com wrote: I didn't know Google Analytics had that