[Zope] dump a wiki?
Luciano Ramalho
luciano@hiper.com.br
Thu, 13 Mar 2003 19:17:33 -0300
On quinta-feira, mar 13, 2003, at 19:01 America/Sao_Paulo, J Cameron
Cooper wrote:
> Write a tree-walker script that calls this method on all your Wiki
> page objects and saves the results, either as a File (perhaps to a
> LocalFS), or on disk if you use an ExternalMethod.
>
After the invention of ZopeFind and ZCatalogs, there's no need to write
tree-walking scripts in Zope. Just Find or Index your stuff and you
have a nice flat list to scan.
In fact, while indexing you can apply any method to all your objects in
one pass. Just create an index named after your export method, and when
you use the Find tab of the ZCatalog, the method will be called on all
objects that match your find criteria.
--
Luciano