Logger and reporter for page views
Project description
sc.social.viewcounter
=====================
Overview
--------
sc.social.viewcounter provides most accessed / viewed content ranking for Plone
sites.
Requirements
------------
* SQLAlchemy 0.5
* z3c.saconfig
* pysqlite (used for testing)
* A database connector
Installation
------------
First step prior to using sc.social.viewcounter is to add a zcml slug to provide
a named session 'sc.social.viewcounter.db'. This could be done on the
configure.zcml, but you must add the xmlns for db in the configure tag and also
include z3c.saconfig into your product ::
<configure
...
xmlns:db="http://namespaces.zope.org/db"
...>
<include package="z3c.saconfig" file="meta.zcml"/>
<db:engine name="sc.social.viewcounter.sqlmemory"
url="sqlite:///:memory:" echo="True" />
<db:session name="sc.social.viewcounter.db"
engine="sc.social.viewcounter.sqlmemory" />
</configure>
Please refer to z3c.saconfig documentation on how to configure url connection
strings for your databases.
To enable this product, on a buildout based installation:
1. Edit your buildout.cfg and add ``sc.social.viewcounter``
to the list of eggs to install ::
[buildout]
...
eggs =
...
sc.social.viewcounter
2. Tell the plone.recipe.zope2instance recipe to install a ZCML slug::
[instance]
...
zcml =
...
sc.social.viewcounter
If another package depends on the sc.social.viewcounter egg or
includes its zcml directly you do not need to specify anything in the
buildout configuration: buildout will detect this automatically.
After updating the configuration you need to run the ''bin/buildout'',
which will take care of updating your system.
Go to the 'Site Setup' page in the Plone interface and click on the
'Add/Remove Products' link.
Choose the product (check its checkbox) and click the 'Install' button.
Uninstall -- This can be done from the same management screen, but only
if you installed it from the quick installer.
Note: You may have to empty your browser cache and save your resource registries
in order to see the effects of the product installation.
Sponsoring
----------
Development of this product was sponsored by `Simples Consultoria
<http://www.simplesconsultoria.com.br/>`_ customers, including (but not limited
to):
* `Rede Brasil Atual <http://www.redebrasilatual.com.br/>`_
* `Consumidor Moderno <http://consumidormoderno.uol.com.br/>`_
* `Ciência Hoje <http://cienciahoje.uol.com.br/>`_
Credits
-------
* Erico Andrei (erico at simplesconsultoria dot com dot br) - Packaging and
plumbing.
* Luciano Pacheco (pacheco at simplesconsultoria dot com dot br) - Coding
bugfixing and much of day to day use.
* Daniel Vainsencher (daniel at simplesconsultoria dot com dot br) -
Bugfixing.
=====================
Overview
--------
sc.social.viewcounter provides most accessed / viewed content ranking for Plone
sites.
Requirements
------------
* SQLAlchemy 0.5
* z3c.saconfig
* pysqlite (used for testing)
* A database connector
Installation
------------
First step prior to using sc.social.viewcounter is to add a zcml slug to provide
a named session 'sc.social.viewcounter.db'. This could be done on the
configure.zcml, but you must add the xmlns for db in the configure tag and also
include z3c.saconfig into your product ::
<configure
...
xmlns:db="http://namespaces.zope.org/db"
...>
<include package="z3c.saconfig" file="meta.zcml"/>
<db:engine name="sc.social.viewcounter.sqlmemory"
url="sqlite:///:memory:" echo="True" />
<db:session name="sc.social.viewcounter.db"
engine="sc.social.viewcounter.sqlmemory" />
</configure>
Please refer to z3c.saconfig documentation on how to configure url connection
strings for your databases.
To enable this product, on a buildout based installation:
1. Edit your buildout.cfg and add ``sc.social.viewcounter``
to the list of eggs to install ::
[buildout]
...
eggs =
...
sc.social.viewcounter
2. Tell the plone.recipe.zope2instance recipe to install a ZCML slug::
[instance]
...
zcml =
...
sc.social.viewcounter
If another package depends on the sc.social.viewcounter egg or
includes its zcml directly you do not need to specify anything in the
buildout configuration: buildout will detect this automatically.
After updating the configuration you need to run the ''bin/buildout'',
which will take care of updating your system.
Go to the 'Site Setup' page in the Plone interface and click on the
'Add/Remove Products' link.
Choose the product (check its checkbox) and click the 'Install' button.
Uninstall -- This can be done from the same management screen, but only
if you installed it from the quick installer.
Note: You may have to empty your browser cache and save your resource registries
in order to see the effects of the product installation.
Sponsoring
----------
Development of this product was sponsored by `Simples Consultoria
<http://www.simplesconsultoria.com.br/>`_ customers, including (but not limited
to):
* `Rede Brasil Atual <http://www.redebrasilatual.com.br/>`_
* `Consumidor Moderno <http://consumidormoderno.uol.com.br/>`_
* `Ciência Hoje <http://cienciahoje.uol.com.br/>`_
Credits
-------
* Erico Andrei (erico at simplesconsultoria dot com dot br) - Packaging and
plumbing.
* Luciano Pacheco (pacheco at simplesconsultoria dot com dot br) - Coding
bugfixing and much of day to day use.
* Daniel Vainsencher (daniel at simplesconsultoria dot com dot br) -
Bugfixing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sc.social.viewcounter-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 993ff287d73f89a6fd38518af31e171d0dbed32bc7dc5f6e1ea92d37a27a8c39 |
|
MD5 | 305bc8caec7fdedb1faf807350927d60 |
|
BLAKE2b-256 | 8a24d4c1fbe65ef857cc3f45c12e3c67dac8832b8a48ea8ac0c94b960d822f08 |
Close
Hashes for sc.social.viewcounter-1.0.1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 175dc273f744bb1f1d334773297f0c73beb673ab766331c66db04e101cd4e95c |
|
MD5 | e4eb0eeac3bce23e8103fe8a958f2679 |
|
BLAKE2b-256 | c820ab7328fbf5866004c528b4468862b60d9c92466a115a815824a463b92dfe |