Am Mittwoch, 4. Mai 2005 08:40 schrieb Philipp von Weitershausen: > Florian Lindner wrote: > > Hello, > > > > I want to allow the user to give items a short description, like for a > > link: > > > > Name: Zope > > URL: http://zope.org > > Description: Homepage of Zope, a web application server > > > > Is it wise to use the metadata description field for that purpose or > > should I just add a TextLine attribute to the interface. > > If this "description" has little or nothing to do with the actual item, > but is only there for categorizing it or similar, I'd use the DublinCore > 'description' field.
Mmmhh, not easy to tell... ;-) How would you solve the case above? The user just uses it to describe it, The application itself makes no use of it. Florian > > > If it's good to use metadata: How can I directly use metadata from ZPTs? > > Through the 'zope' TALES namespace, e.g. obj/zope:description. Not all > DublinCore metadata is available through that, though. See > zope.tales.interfaces.ITALESFunctionNamespace for a list of available > names. > > Philipp > > _______________________________________________ > Zope3-users mailing list > Zope3-users@zope.org > http://mail.zope.org/mailman/listinfo/zope3-users _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users