Skip to main content

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

Release history Release notifications | RSS feed

This release

0.4.2 This release

0.3

0.1.1

2 files

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page