[Zope] last updated

Paul Winkler pw_lists@slinkp.com
Wed, 28 Aug 2002 16:34:29 -0700


On Wed, Aug 28, 2002 at 03:44:19PM -0700, Andy McKay wrote:
> its bobobase_modification_time
> 
> <tal:x replace="here/bobobase_modification_time"/>

Right, except that bobobase_modification_time (god, I hate that
name) is updated anytime there is any change to the object in
the ZODB, which happens also when you import a backup, or run zsyncer...
leading to lots of possibility for "modified-but-not-really-modified"
times.  You can either live with that, or keep track of more
detailed time information.

One solution is used by CMF: DublinCore metadata.
That includes creation date, last modification date (not affected
when you edit other metadata), Effective date and Expiration date
(both used for publishing).

I hope this rich time info will be available throughout zope
in Zope3...

--PW




> --
>   Andy McKay
>   Agmweb Consulting
>   http://www.agmweb.ca
> 
> 
> ----- Original Message ----- 
> From: "Mark McEahern" <mark@mceahern.com>
> To: "Zope Mailing List" <zope@zope.org>; "ZPT Mailing List" <zpt@zope.org>
> Sent: Wednesday, August 28, 2002 3:38 PM
> Subject: [Zope] last updated
> 
> 
> > This is probably dead easy, but searching for "zope 'last updated' zpt"
> > doesn't seem to produce any thing resembling what I want.
> > 
> > How do I insert a last updated macro type thing in a ZPT?  I imagine
> > something like this:
> > 
> >   <tal:x replace="here/lastUpdated"/>
> > 
> > Thanks,
> > 
> > // mark
> > 
> > -
> > 
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
--

Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"