accessing data.fs outside of Zope
21 Aug
2000
21 Aug
'00
3:55 a.m.
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 ?
9360
Age (days ago)
9360
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bob Skaroff