Developing with PubSub


To interface with mod_pubsub the following snippet can be used to get the pubsub service object:

See util.pubsub documentation for details about the API of the pubsub service object.

Textual notifications

mod_pubsub can produce plain text forms of notifications if something knows how to produce this. Receiving this requires that the subscriber opts in.

An example1 producing plain text versions of Atom feed entries:

  1. actually part of mod_pubsub