Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Provides the DCMES-XML of DC metadata of a content

src/p/r/Products.PloneFilesZip-1.2.0b1/Products/PloneFilesZip/PloneFilesZipTool.py   Products.PloneFilesZip(Download)
 
from registry import GlobalRegistry
from DcmesXml import DcmesXML
from config import *
from policies import PolicyRegistry
            if self.includeRDF:
                rdf_zip_path = policy.getRdfZipPath(content_relative_path)
                zip.writestr(rdf_zip_path, str(DcmesXML(content, portal, charset)))
 
            # Zipping "fileable" fields