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 
example: 1 hour blockage for each IP)?

-- 
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/-/KkzdIPsL9oUJ.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



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 duplicate IPs from registering pageviews for a period of time (for 
 example: 1 hour blockage for each IP)?


Can you use Google Analytics or something like that?

-- 
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/-/11QLe5aZyuAJ.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



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 group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.



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 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 group, send email to pylons-discuss@googlegroups.com.
 To unsubscribe from this group, send email to
 pylons-discuss+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/pylons-discuss?hl=en.



-- 
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

*))){

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}(((*

-- 
You received this message because you are subscribed to the Google Groups 
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.