[293] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
[532] | 3 | xmlns:five="http://namespaces.zope.org/five" |
---|
| 4 | xmlns:zcml="http://namespaces.zope.org/zcml" |
---|
[293] | 5 | xmlns:transmogrifier="http://namespaces.plone.org/transmogrifier" |
---|
[359] | 6 | i18n_domain="quintagroup.transmogrifier.simpleblog2quills"> |
---|
[293] | 7 | |
---|
[309] | 8 | <include package="quintagroup.transmogrifier" /> |
---|
[293] | 9 | <include package="quintagroup.transmogrifier" file="meta.zcml" /> |
---|
| 10 | |
---|
[1247] | 11 | <!-- this section is similar to datacorrector but has more power |
---|
| 12 | to change pipeline item --> |
---|
[532] | 13 | <utility |
---|
| 14 | component=".itemmanipulator.ItemManipulatorSection" |
---|
| 15 | name="quintagroup.transmogrifier.itemmanipulator" |
---|
| 16 | provides="collective.transmogrifier.interfaces.ISectionBlueprint" |
---|
| 17 | /> |
---|
| 18 | |
---|
| 19 | <configure zcml:condition="installed Products.SimpleBlog"> |
---|
| 20 | |
---|
| 21 | <!-- In Plone 2.1 overrides.zcml isn't loaded, but conflicting configuration |
---|
| 22 | actions wouldn't raise error on startup - the latest directive will |
---|
| 23 | override previous --> |
---|
| 24 | <transmogrifier:registerConfig |
---|
| 25 | name="export" |
---|
| 26 | title="Export pipeline configuration" |
---|
| 27 | description="Customized for SimpleBlog/Quills content types content export pipeline." |
---|
| 28 | configuration="export.cfg" |
---|
| 29 | /> |
---|
| 30 | |
---|
| 31 | <!-- mark blog and blog entry objects so we can register export adapters for them --> |
---|
[533] | 32 | |
---|
[532] | 33 | <five:implements |
---|
| 34 | class="Products.SimpleBlog.content.BlogEntry" |
---|
| 35 | interface=".interfaces.IBlogEntry" |
---|
| 36 | /> |
---|
| 37 | |
---|
[1247] | 38 | <!-- 'datacorrector' section adapter --> |
---|
[532] | 39 | <adapter |
---|
| 40 | for=".interfaces.IBlogEntry" |
---|
[533] | 41 | provides="quintagroup.transmogrifier.interfaces.IExportDataCorrector" |
---|
[532] | 42 | factory=".adapters.BlogEntryExporter" |
---|
| 43 | name="marshall" |
---|
| 44 | /> |
---|
| 45 | |
---|
| 46 | <!-- 'itemmanipulator' section adapter --> |
---|
| 47 | <adapter |
---|
[533] | 48 | for=".interfaces.IBlogEntry" |
---|
| 49 | provides=".interfaces.IExportItemManipulator" |
---|
| 50 | factory=".adapters.BlogEntryManifest" |
---|
| 51 | /> |
---|
| 52 | |
---|
[532] | 53 | </configure> |
---|
| 54 | |
---|
[528] | 55 | <!-- next stylesheets are used when migrating to QuillsEnabled --> |
---|
| 56 | <transmogrifier:stylesheet |
---|
| 57 | source="marshall" |
---|
| 58 | from="Blog" |
---|
[594] | 59 | to="Large Plone Folder" |
---|
| 60 | file="blog-largefolder.xsl" |
---|
[528] | 61 | /> |
---|
| 62 | |
---|
| 63 | <transmogrifier:stylesheet |
---|
| 64 | source="marshall" |
---|
[594] | 65 | from="BlogFolder" |
---|
| 66 | to="Large Plone Folder" |
---|
| 67 | file="blogfolder-largefolder.xsl" |
---|
| 68 | /> |
---|
| 69 | |
---|
| 70 | <transmogrifier:stylesheet |
---|
| 71 | source="marshall" |
---|
[528] | 72 | from="BlogEntry" |
---|
| 73 | to="Document" |
---|
| 74 | file="blogentry-document.xsl" |
---|
| 75 | /> |
---|
| 76 | |
---|
[1248] | 77 | <!-- this adapter converts all workflow histories to simple_publication_workflow --> |
---|
[612] | 78 | <adapter |
---|
| 79 | for="quintagroup.transmogrifier.simpleblog2quills.interfaces.IBaseObject" |
---|
| 80 | provides="quintagroup.transmogrifier.interfaces.IImportDataCorrector" |
---|
| 81 | factory=".adapters.WorkflowImporter" |
---|
| 82 | name="marshall" |
---|
| 83 | /> |
---|
[554] | 84 | |
---|
| 85 | <configure zcml:condition="installed Products.QuillsEnabled"> |
---|
| 86 | |
---|
| 87 | <utility |
---|
| 88 | component=".activator.BlogActivatorSection" |
---|
| 89 | name="quintagroup.transmogrifier.simpleblog2quills.activator" |
---|
| 90 | provides="collective.transmogrifier.interfaces.ISectionBlueprint" |
---|
| 91 | /> |
---|
| 92 | |
---|
| 93 | </configure> |
---|
| 94 | |
---|
[293] | 95 | </configure> |
---|