[Zope-dev] How to get Entrys from a catalog by date boundaries

Sebastian Sippl sebastian@proceryon.at
Tue, 23 Jul 2002 11:20:08 +0200


Hi,

I've tried to select all entrys from a catalog by defining the date 
boundaries(Python script).
Looks like this:

id=context.getId()

return context.cata(
         {'content' : id,
          'date': [datestart, dateend],
          'date_usage' : 'range:min:max',
         }
        )
cata = my catalog,datestart =start date(date-string),dateend=end date

When I send my request, the only things I get back are some <MYBRAnI 
instance at #123848>-tags.

For the beginning i would just like to get the ids of the items in the 
boundaries.

How can i achieve that?
Please help !!

Sebastian