Saturday, 24 September 2005

The PostMailerPlugin

« Installing blojsom | Main | stakhanov »

A missing feature in blojsom is the capability to send, every time an entry is added, an email with its content (title and description). For example blogger allows it and I find it useful because I'm using email as an archiving system (thanks to the recent avalability of free, with large disk storage and well working email services).

Fortunately, blojsom is open source software and so I could add this functionality. Its plugin architecture facilitated notably my job.
I took the CrossPostPlugin (with its event handling behaviour) and added a send email funtionality copying from the CommentPlugin. The result is the PostMailerPlugin (maybe not a good name). The source code with a velocity template for the email body and a sample configuration file are avalaible here.

2005-Nov-13 CET: update.

Posted by Nicola Piccinini at 6:53 PM CEST in blojsom/
« September »
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
252627282930