Kai Vermehr wrote at 2003-11-3 14:58 +0100:
Is it possible to use Zope (and Zcatalog) to scan and index the metadata of images on predefined URLs?
The idea is to edit all necessary metadata of the images on the local machine with a fast tool. Then upload it to a regular file system via ftp and let Zope scan and index the content including the metadata of that folder.
This way the files themselves would hold all the metadata and we would not have to enter it through the ZMI. Zope would be used for deploying the images using their inherited metadata.
Zope would not be used for editing metadata of the images ... This way the metadata of an image would not be bound to an application, in this case Zope. The same folder with images could be reused with a different (metadata aware) application.
is this possible? -- and would it make sense?
In principle, it is possible. But, you would need to work a bit... There is a HowTo on Zope.org explaining how you can index anything with ZCatalog which is URL addressable (something like "ZCatalog anything"). Look at the "LocalFS" product. It shows you how to make file system content URL addressable. You will need wrappers for you images which extract the metadata for use by Zope. "LocalFS" shows you how to do this. -- Dieter