How to list objects across different containers in Zope's tree?
Few days ago there was this same question although remained unsolved. This is the case for a news site: News objects are within section folders, within day folders, within months, and within a year folder. Just like this, at the root: http://zopesite:8080/2000/October/17/sports/newsobjectid_htm If I were at, ie, root/2001/January/thislist_htm , how can I list(and retrieve) sport news appeared from October 29th to November 10th in year 2000? Is it time to look for a database? Thanks in advance, Ausum
If I were at, ie, root/2001/January/thislist_htm , how can I list(and retrieve) sport news appeared from October 29th to November 10th in year 2000? Is it time to look for a database?
Nope, it's time to read up on ZCatalog ;-) There's a great chapter on this in the new Zope Book, but as I'm at home and over dialup, the URL isn't to hand, perhaps someone else could help? cheers, Chris
Thanks Chris, I'll find it and download it. About the ZCatalog, I've recently tested it and I was wondering whether it's possible for its search engine to find parts of a word, maybe to have an Ultraseek-like search results page. Apparently the engine doesn't find any half-a-word. Example: Looking for "bio" won't find "Edison's biography" . Am I missing something? Cheers, Ausum Chris Withers wrote:
If I were at, ie, root/2001/January/thislist_htm , how can I list(and retrieve) sport news appeared from October 29th to November 10th in year 2000? Is it time to look for a database?
Nope, it's time to read up on ZCatalog ;-)
There's a great chapter on this in the new Zope Book, but as I'm at home and over dialup, the URL isn't to hand, perhaps someone else could help?
cheers,
Chris
Example: Looking for "bio" won't find "Edison's biography" . Am I missing something?
Yup, you need to find out about 'globbing vocabularies' Apparently the performance sucks right now, though :-( ...although there are moves to fix it taking place :-) cheers, Chris
participants (2)
-
Ausum -
Chris Withers