[Zope] Union of a few folders
Steve Alexander
steve@cat-box.net
Thu, 27 Apr 2000 08:56:08 +0100
Sin Hang Kin wrote:
>
> I have some folders : news, events, activities, etc, which each of them have
> some items.
>
> The application will generate a list of them in reverse date order. This
> have been done.
>
> Now, I would like to add a new listing : to list all of them in reverse date
> order. i.e., I need to make a union of them first, then sort them. Is it
> possible to do this?
If you're makeing a number of different lists of these same items, it is
worth indexing them in a ZCatalog, and the using the ZCatalog to do the
presentation of your lists.
See the ZCatalog Tutorial:
http://www.zope.org/Documentation/How-To/ZCatalogTutorial
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net