Dublincore

Externalization support for things that implement the interfaces of zope.dublincore.interfaces.

Note

We are “namespacing” the dublincore properties, since they have defined meanings we don’t control. We are currently doing this by simply prefixing them with ‘DC’ for ease of access in JavaScript.

These objects are typically used as decorators, registered from ZCML.

class DCExtendedExternalMappingDecorator[source]

Bases: nti.externalization.singleton.Singleton

Adds the extended properties of dublincore to external objects as defined by zope.dublincore.interfaces.IDCExtended.

Note

We are currently only mapping ‘Creator’ since that’s the only field that ever gets populated.

Implements IExternalStandardDictionaryDecorator for zope.dublincore.interfaces.IDCExtended objects.

class DCDescriptivePropertiesExternalMappingDecorator[source]

Bases: nti.externalization.singleton.Singleton

Supports the ‘DCTitle’ and ‘DCDescription’ fields, as defined in zope.dublincore.interfaces.IDCDescriptiveProperties.

Implements IExternalStandardDictionaryDecorator.