All, I having trying to find code for a functionality I would like to add to my site. What I need is on my home page I would like to give links to all newly added content to my site that have been uploaded or ftped in the last 3 days. I have looked at code that only allows content of only a single type ie: News item. I have not seen any code on 3rd party products. News Item is a portal type that is cataloged within the zope db. This works for me great, If a change it to folder, file or any other cataloged item. I would greatly appericate if someone can point me in a direction where I can solve my problem. Thank you TP
Create a field index on "bobobase_modification-time" and use range search to for all indexed items since a given date. Since Zope 2.6 you can also use a DateTime or DateTimeRange index. In CMF there is already an index "created" or "Created" that can be reused. Maybe check the ZCatalog chapter of the Zope Book for details. -aj --On Montag, 21. April 2003 10:54 Uhr -0400 "Patel, Tejash" <Tejash.Patel@dowjones.com> wrote:
All,
I having trying to find code for a functionality I would like to add to my site.
What I need is on my home page I would like to give links to all newly added content to my site that have been uploaded or ftped in the last 3 days.
I have looked at code that only allows content of only a single type ie: News item.
I have not seen any code on 3rd party products. News Item is a portal type that is cataloged within the zope db. This works for me great, If a change it to folder, file or any other cataloged item.
I would greatly appericate if someone can point me in a direction where I can solve my problem.
Thank you
TP
participants (2)
-
Andreas Jung -
Patel, Tejash