On Tuesday 23 Jul 2002 10:20 am, Sebastian Sippl wrote: > 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.
If you have id set up as catalog metadata, then those objects will each have an id attribute which does what you want. _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )