Provides the DCMES-XML of DC metadata of a content. See http://dublincore.org/documents/dcmes-xml/ about the RDF format of DC elements. See .../Products/Archetypes/ExtensibleMetadata.py about available elements. Note that we don't provide the "dc:coverage" element since this is not provided by AT/Plone. $Id: DcmesXml.py 30617 2006-09-19 20:01:45Z glenfant $
Provides the DCMES-XML of DC metadata of a content
DcmesXml.DcmesXML
Methods: (__init__, __str__, contributorElement, creatorElement, dateElement, dcElements, descriptionElement, formatElement, identifierElement, languageElement, publisherElement, relationElement, rightsElement, sourceElement, subjectElement, titleElement, typeElement)
- method __init__ (content, portal, charset) Constructor
DcmesXml.DcmesXML.__init__
- method __str__ () The full DCMES-XML for the content
DcmesXml.DcmesXML.__str__
- method contributorElement () DC contributor(s)
DcmesXml.DcmesXML.contributorElement
- method creatorElement () DC creator
DcmesXml.DcmesXML.creatorElement
- method dateElement () DC date
DcmesXml.DcmesXML.dateElement
- method dcElements () Provides all DC Elements for each non empty metadata
DcmesXml.DcmesXML.dcElements
- method descriptionElement () DC description
DcmesXml.DcmesXML.descriptionElement
- method formatElement () DC format
DcmesXml.DcmesXML.formatElement
- method identifierElement () DC identifier
DcmesXml.DcmesXML.identifierElement
- method languageElement () DC language
DcmesXml.DcmesXML.languageElement
- method publisherElement () DC publisher
DcmesXml.DcmesXML.publisherElement
- method relationElement () DC relation(s)
DcmesXml.DcmesXML.relationElement
- method rightsElement () DC rights
DcmesXml.DcmesXML.rightsElement
- method sourceElement () DC source(s)
DcmesXml.DcmesXML.sourceElement
- method subjectElement () DC subject (keywords)
DcmesXml.DcmesXML.subjectElement
- method titleElement () DC title
DcmesXml.DcmesXML.titleElement
- method typeElement () DC type
DcmesXml.DcmesXML.typeElement
XML quoting as recommended in http://dublincore.org/documents/dcmes-xml/
DcmesXml.xml_quote
Builds and download a zip file from the current location $Id: PloneFilesZipTool.py 38457 2007-02-27 17:45:50Z manuco $
Tool to make archive
PloneFilesZipTool.PloneFilesZipTool
Methods: (contentBrains, createTemporaryZipFileFromBrains, download, getInnerStructurePoliciesInfos, getInnerStructureZMIVocabulary, getRegistry, potentialZippablePortalTypes, showZipAction, zipFileName)
- method contentBrains (content, REQUEST=None) Compatible content objects available from here
PloneFilesZipTool.PloneFilesZipTool.contentBrains
PloneFilesZipTool.PloneFilesZipTool.download
- method getRegistry ()
PloneFilesZipTool.PloneFilesZipTool.getRegistry
PloneFilesZipTool.PloneFilesZipTool.potentialZippablePortalTypes
PloneFilesZipTool.PloneFilesZipTool.showZipAction
- method zipFileName (content) FileName to be used
PloneFilesZipTool.PloneFilesZipTool.zipFileName
Can we walk in this content (recursively) ?
PloneFilesZipTool.isFolderish
Kind of os.path.walk for Plone content
PloneFilesZipTool.ploneWalk
PloneFilesZipTool.zipNameEncode
$Id: __init__.py 31827 2006-10-16 09:08:45Z glenfant $
Instance wide configuration data for this package $Id: config.py 35340 2007-01-04 12:32:42Z thomasdesvenain $
Interfaces for external usage and registering retrievers. $Id: interfaces.py 35340 2007-01-04 12:32:42Z thomasdesvenain $
Provides binary data information on a field
interfaces.IFieldRetriever
Methods: (__init__, fileBody, fileName, mimeType, relativePathFrom)
- method __init__ (content) Field and content to be managed
interfaces.IFieldRetriever.__init__
- method fileBody () The raw file data or file like object
interfaces.IFieldRetriever.fileBody
- method fileName () The given file name - if any. MUST return a file name whatever happens
interfaces.IFieldRetriever.fileName
- method mimeType () The standard MIME type for the file like 'application/pdf' or other
interfaces.IFieldRetriever.mimeType
interfaces.IFieldRetriever.relativePathFrom
Provides binary data information on a meta_type
interfaces.ITypeRetriever
Methods: (__init__, getFieldRetrievers)
- method __init__ () content to be managed
interfaces.ITypeRetriever.__init__
- method getFieldRetrievers () Provides a sequence of IFieldRetriever objects
interfaces.ITypeRetriever.getFieldRetrievers
Provides policy of inner zip structuration
interfaces.IZipStructurePolicy
Methods: (getZipFilePath)
- method getZipFilePath () returns the file path in the archive
interfaces.IZipStructurePolicy.getZipFilePath
ZipStructurePolicy defines how the downloaded zip inner tree is built
policies.AbstractZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
policies.ContentZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
policies.DeepZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
policies.FlatZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
policies.FsLikeZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
policies.PolicyRegistry
Methods: (getPoliciesInfos, getPoliciesZMIVocabulary, getPolicy, registerPolicy)
policies.SimpleZipStructurePolicy
Methods: (getRdfZipPath, getZipFilePath)
Registry utility for all file retrievers $Id: registry.py 30922 2006-09-24 19:33:30Z glenfant $
Handles all FieldRetrievers
registry.GlobalRegistry
Methods: (__init__, getRetriever, getRetrieversFor, listFieldTypes, listMetaTypes, register)
- method __init__ ()
registry.GlobalRegistry.__init__
- method getRetriever (field_type) Provides the retriever for a field_type
registry.GlobalRegistry.getRetriever
- method getRetrieversFor (content) All retrievers for a content
registry.GlobalRegistry.getRetrieversFor
- method listFieldTypes () Handled field_types
registry.GlobalRegistry.listFieldTypes
- method listMetaTypes () Handled meta types
registry.GlobalRegistry.listMetaTypes
- method register (retriever_klass) Registers globally a retriever
registry.GlobalRegistry.register
Retrievers for file like fields $Id: retrievers.py 36720 2007-02-02 09:39:07Z clebeaupin $
retrievers.FileFieldRetriever
Methods: (__init__, fileBody, fileName, mimeType, relativePathFrom)
retrievers.ImageFieldRetriever
Created by Doc-Tool V0.9.1 on Wed Feb 28 23:55:46 2007