Greenstone doesn't have this ability, but I don't think it would be too
difficult to add.
You could detect new documents by looking for differences between the
previous archives directory and the new one. Alternatively, the "quick
and dirty" approach would be to just add a "-notify_users" flag to
buildcol.pl that you manually tick on whenever you've added new
documents. You'd then need a little bit of Perl code to read a text file
of e-mail addresses and run the sendmail.pl script to send off the
If you're stronger in Java than Perl you could do most of this into the
GLI (you can still use the sendmail.pl script though). The disadvantage
of this is that you wouldn't be able to notify users if you ever needed
to build collections from the command line.
This would be a useful feature for Greenstone to have, so I'll add it to
our "to do" list (but don't hold your breath!).
PS The Collector actually has some functionality for notifying users
about collection events, but you wouldn't want to use it to build real
collections. However you might like to have a look at the code in
src/recpt/collectoraction.cpp for examples of using sendmail.pl etc.
Rich Robinson wrote:
> Would anyone know of a way to automate notifying users when new
> materials are added to a library? I'd like a way for people to enter
> their email address and as the library grows, they receive
> notifications by e-mail. Anything you know of that would integrate
> with Greenstone would be great to find out about.
> greenstone-users mailing list