Jonathan Desp wrote:
> if you know the answer just email me at [EMAIL PROTECTED] (my site
> is almost ready at www.atomasoft.com , there are 2 pages to write + the
> search engine to fix, is it possible for zope to use ->
> http://www.htdig.org/ ?)
I don't think HTDig can index Zope content because Zope content isn't
available via the filesystem.
> I'd like to know something:
> In the article here:
> they are talking about this:
> In the source of report, find the following line::
> <tr><!--#var title--></tr>
> Replace it with this::
> <a href="<!--#var "catalog.getpath(data_record_id_)"-->">
> <!--#var title-->
> What can happen when I don't have this "<tr><!--#var title--></tr>" ? In my
> management view at "report"
The tutorial still uses the old DTML "SSI-style" syntax. This syntax
has been replaced with another that would make this line look like:
You would replace it with:
<a href="<dtml-var "catalog.getpath(data_record_id_)">">
> Also, where I can edit "getpath", where is this file ?
It's not a file. It's a method of the catalog object. In Python. You
don't need to edit it.
> "Fortunately, ZCatalog provides a utility function for going from result
> objects to the object's path. It is called, aptly enough, getpath. getpath
> expects to be passed the unique integer identifier of the cataloged object.
> Results store that id as data_record_id_."
> Commit this change, and perform another search. Now the title can be clicked
> on to take you to the full page.
> "I cannot commit this change because I don't find "<tr><!--#var
> title--></tr>" first of all, secondly I cannot find "getpath", and I don't
> know what to do inside the file "getpath", what I need to edit etc..
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -