Skip to main content

This package allow Plone users to subscribe to contents. Then they will be notified on all creation/modification on this contents.

Project description

What is iw.subscriber ?

This package allow Plone users to subscribe to contents. Then they will be notified on all creation/modification on this contents.

How to use iw.subscriber ?

You need a clock server. Add something like this to your zope.conf:

<clock-server>
  # path_to_plone_site is the real path to your plone site
  method /path_to_plone_site/iw_subscriber_tick
  period 60
  user admin
  password xxx
  # You need your *real* host here
  host www.example.com
</clock-server>

Or if you have a Virtual Host:

<clock-server>
  # path with a VirtualHost. same as apache.
  method /VirtualHostBase/http/www.example.com:80/portal/VirtualHostRoot/iw_subscriber_tick
  period 60
  user admin
  password xxx
</clock-server>

buildout configuration

If you use buildout, you just need to add the clock server part in the zope-conf-additional section of your plone.recipe.zope2instance.

In addition you can use the iw.recipe.sendmail to send mails via zope.sendmail (an asynchronous mail queue system).

Here is a simple example:

[buildout]
parts=
  zopeinstance
  mailer

[zopeinstance]
recipe=plone.recipe.zope2instance
...
zope-conf-additional=
  <clock-server>
    method /portal/iw_subscriber_tick
    period 60
    user admin
    password xxx
  </clock-server>

[mailer]
recipe=iw.recipe.sendmail
zope2location=${zopeinstance:location}
host=smtp.example.com

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page