[opencms-dev] Document Review Date

Jonathan Woods jonathan.woods at scintillance.com
Wed Mar 1 17:10:48 CET 2006


Chad -

Although you need to define the review date at publication time, I think the
'scheduling' is best done not at publication time but later.  You could set
up an OpenCms scheduled task to run at say 6am every day, when it would
query the VFS for all files with review dates close enough, and do whatever
you like with the results - send e-mails with direct links, for example.

As for how you specify review dates - I guess the most general way is to
define a property, because (i) this will cater for all kinds of document
types, and (ii) it's something you can easily search for through the OpenCms
API.  Christian Steinert's recent posts ("All properties of a resource",
"Write properties") give examples of managing properties.  The downside is
that afaik you can't easily force people to specify properties, and they
have to remember to do so outside the primary document editing interface
(i.e. in OpenCms's properties dialogue).

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Chad Thompson
Sent: 01 March 2006 14:36
To: opencms-dev at opencms.org
Subject: [opencms-dev] Document Review Date

We have been running OpenCms for quite some time and generally love it.  Our
development team has recently been given an additional requirement that we
need to provide in OpenCms and I want to know if others have done this or
have an idea of how.  Basically what our users want is the ability to, when
a document is created or published, schedule a futuristic review date, where
when the documents review date hit, the system would then send the creator
an email to let him know the document is in need of review.  The creator
could then verify the validity and necessity of that document and then
depending on the out come of the review the creator can either pull it
offline or schedule the next review.  I know you can schedule a document to
be removed, but this is not what they are asking for

Any help or suggestions will be greatly appreciated.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list