[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Searching and Categorizing Content
webmaster@zope.org
webmaster@zope.org
Tue, 14 Jan 2003 06:32:03 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/SearchingZCatalog.stx#3-40
---------------
This form consists of three input boxes named *content*,
*author*, and *date*. These names of the input form elements
match the names of the indexes in the catalog. These names must
match the names of the catalog's indexes for the catalog to find
the search terms. Here is a report form that works with the
search form::
<dtml-var standard_html_header>
<table>
<dtml-in NewsCatalog>
<tr>
<td><dtml-var author></td>
<td><dtml-var date></td>
</tr>
</dtml-in>
</table>
<dtml-var standard_html_footer>
% Anonymous User - Sep. 11, 2002 8:45 am:
Again you managed to give a teriffic example. This doesn't do anything but to list what you have typed in for
author and date in the 'form'.
And even more: It does so for each object that is in your catalog.
What did you want to explain, here?
I mean, if one has come so far, he/she should be at a point where he/she understands how the in-loop works
... and there isn't anything else you can learn from this example, is there??
% Anonymous User - Jan. 14, 2003 6:32 am:
this works if you want to look for a
object containing the data AND author.
but what about if you want to search in the catalog
looking for data OR author ???