API Documentation

Classes

DublinCore , MutableDublinCore , CatalogableDublinCore

Dublin Core interface.

$Id: DublinCore.py,v 1.4.14.2 2004/04/23 21:11:34 sidnei Exp $


class DublinCore

Define which Dublin Core metadata elements are supported by the CMF, and the semantics therof.


Methods

Publisher():

Dublin Core element - resource publisher

Return full formal name of the entity or person responsible for publishing the resource.

Return type: string Permission: View

Identifier():

Dublin Core element - resource ID

Returns unique ID (a URL) for the resource.

Return type: string Permissions: View

Description():

Dublin Core element - resource summary

Return a natural language description of this object.

Return type: string Permissions: View

Contributors():

Dublin Core element - resource collaborators

Return zero or additional collaborators.

Return type: sequence of strings Permission: View

Creator():

Dublin Core element - resource creator

Return the full name(s) of the author(s) of the content object.

Return type: string Permission: View

Title():

Dublin Core element - resource name

Return type: string Permissions: View

Rights():

Dublin Core element - resource copyright

Return a string describing the intellectual property status, if any, of the resource. for the resource.

Return type: string Permissions: View

EffectiveDate():

Dublin Core element - date resource becomes effective.

Return type: string, formatted YYYY-MM-DD H24:MN:SS TZ Permissions: View

ModificationDate():

Dublin Core element - date resource last modified.

Return type: string, formatted YYYY-MM-DD H24:MN:SS TZ Permissions: View

Language():

Dublin Core element - resource language

Return the RFC language code (e.g., en-US, pt-BR) for the resource.

Return type: string Permissions: View

ExpirationDate():

Dublin Core element - date resource expires.

Return type: string, formatted YYYY-MM-DD H24:MN:SS TZ Permissions: View

Date():

Dublin Core element - default date

Return type: string, formatted YYYY-MM-DD H24:MN:SS TZ Permissions: View

Format():

Dublin Core element - resource format

Return the resource's MIME type (e.g., text/html, image/png, etc.).

Return type: string Permissions: View

CreationDate():

Dublin Core element - date resource created.

Return type: string, formatted YYYY-MM-DD H24:MN:SS TZ Permissions: View

Type():

Dublin Core element - resource type

Return a human-readable type name for the resource (perhaps mapped from its Zope meta_type).

Return type: string Permissions: View

Subject():

Dublin Core element - resource keywords

Return zero or more keywords associated with the content object.

Return type: sequence of strings Permission: View


class MutableDublinCore

Update interface for mutable metadata.


Methods

setDescription(description):

Dublin Core element - update resource summary

setContributors(contributors):

Dublin Core element - update additional contributors to resource

setFormat(format):

Dublin Core element - update resource format

setTitle(title):

Dublin Core element - update resource name

setExpirationDate(expiration_date):

Dublin Core element - update date resource expires.

setRights(rights):

Dublin Core element - update resource copyright

setSubject(subject):

Dublin Core element - update resource keywords

setEffectiveDate(effective_date):

Dublin Core element - update date resource becomes effective.

setLanguage(language):

Dublin Core element - update resource language


class CatalogableDublinCore

Provide Zope-internal date objects for cataloging purposes.


Methods

effective():

Dublin Core element - date resource becomes effective,

Return type: DateBound Permissions: View

created():

Dublin Core element - date resource created,

Return type: DateTime Permissions: View

expires():

Dublin Core element - date resource expires,

Return type: DateBound Permissions: View

modified():

Dublin Core element - date resource last modified,

Return type: DateTime Permissions: View