Re: [Zope3-Users] Re: Using metadata for description
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
[Zope3-Users] Re: Using metadata for description
On Thu, May 05, 2005 at 04:38:00PM +0200, Florian Lindner wrote: | 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. I would lean towards Dublin Core for that. It isn't actually part of the data, if the application doesn't use it. It's more like an extension, which is what adapters are for. -D -- There is not a righteous man on earth who does what is right and never sins. Ecclesiastes 7:20 www: http://dman13.dyndns.org/~dman/jabber: [EMAIL PROTECTED] signature.asc Description: Digital signature ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users