[Zope] accessing data.fs outside of Zope

Bob Skaroff rdskaroff@geocities.com
Sun, 20 Aug 2000 23:55:39 -0400


I have been trying to put together a little script to dump the
contents of Zwiki Pages into a text file. I can find the dictionary
objects holding the meta_type and id of the Folder object containing
the Zwiki site, but I don't know how to get to the Zwiki Pages inside
it. This is what I'm coding:

import Zope
import ZODB
db = ZODB.DB(ZODB.FileStorage.FileStorage('mydata.fs'))
conn = db.open()
root = conn.root()
c = root._container
c['Application']._objects lists the dictionaries, like
    ({'meta_type':'User Folder', 'id':'acl_users'},
     {'meta_type':'Folder','id':'MyZwiki'}, etc.)

How do I get to the Zwiki Pages objects inside MyZwiki ?