[Zope] Getting all images in the ZODB 'out' into Apache-land?
Tue, 16 Jul 2002 15:56:27 +0200
> Thanks Douwe,
> That seems certainly doable - I'm not hugely familiar with
> catalogs but I'll
> have a look see. The urllib stuff, I'm pretty ok with.
We'll you don't have to use the catalog. a python method like:
def printImagesFromObj( obj ):
for child in context.objectValues():
print '<a href="%s">%s</a>' % (child.absolute_url(),
elif child.meta_type in ['Folder',...]:
printImagesFromObj( child )
printImagesFromObj( context )
I didn't really test it, but you get the idea.