source: products/quintagroup.transmogrifier/trunk/quintagroup/transmogrifier/configure.zcml @ 275

Last change on this file since 275 was 275, checked in by mylan, 18 years ago

Removed file/folder

File size: 4.2 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:transmogrifier="http://namespaces.plone.org/transmogrifier"
5    xmlns:gs="http://namespaces.zope.org/genericsetup"
6    i18n_domain="quintagroup.transmogrifier">
7
8    <!--<five:registerPackage package="." initialize=".initialize" />-->
9
10    <include package="collective.transmogrifier" file="meta.zcml" />
11    <include package="collective.transmogrifier" />
12    <include package="plone.app.transmogrifier" />
13    <!--<include package="." file="meta.zcml" />-->
14
15    <!-- register our blueprints -->
16    <utility
17        component=".sitewalker.SiteWalkerSection"
18        name="quintagroup.transmogrifier.sitewalker"
19        />
20
21    <utility
22        component=".manifest.ManifestSection"
23        name="quintagroup.transmogrifier.manifest"
24        />
25
26    <utility
27        component=".marshall.MarshallSection"
28        name="quintagroup.transmogrifier.marshall"
29        />
30
31    <utility
32        component=".propertymanager.PropertyManagerSection"
33        name="quintagroup.transmogrifier.propertymanager"
34        />
35
36    <utility
37        component=".discussioncontainer.DiscussionContainerSection"
38        name="quintagroup.transmogrifier.discussioncontainer"
39        />
40
41    <utility
42        component=".exportadapters.ExportAdaptersSection"
43        name="quintagroup.transmogrifier.exportadapters"
44        />
45
46    <utility
47        component=".writer.WriterSection"
48        name="quintagroup.transmogrifier.writer"
49        />
50
51    <utility
52        component=".reader.ReaderSection"
53        name="quintagroup.transmogrifier.reader"
54        />
55
56    <utility
57        component=".manifest.ManifestImportSection"
58        name="quintagroup.transmogrifier.manifestimport"
59        />
60
61    <utility
62        component=".substitution.SubstitutionSection"
63        name="quintagroup.transmogrifier.substitution"
64        />
65
66    <utility
67        component=".xslt.XSLTSection"
68        name="quintagroup.transmogrifier.xslt"
69        />
70
71    <!-- include registration of adapters for "exportadapters" blueprint -->
72    <include package=".adapters" />
73
74    <transmogrifier:registerConfig
75        name="export"
76        title="Export pipeline configuration"
77        description="This is a Plone content export pipeline configuration."
78        configuration="export.cfg"
79        />
80
81    <!-- We registry this export step in zcml and it will override Plone's standard
82         Content export step. Than we need to go in ZMI to Manage tab of portal_setup
83         tool and delete old step. (I also detected that steps registered in zcml
84         overriede those registered in profile without deleting them on manage tab)
85    -->
86    <gs:exportStep
87        name="content"
88        title="Content (transmogrifier)"
89        description="Export the site's structure and content."
90        handler=".exportimport.exportSiteStructure"
91        />
92
93    <transmogrifier:registerConfig
94        name="import"
95        title="Import pipeline configuration"
96        description="This is a Plone content import pipeline configuration."
97        configuration="import.cfg"
98        />
99
100    <!-- With import step we can't do the same. Plone's portal_setup tool currently
101         works such that if we delete standard Content import step on Manage tab
102         it will be recreated when rendering Import tab. (also this step is overriden
103         when we import all steps, but old handler is used if we select only content
104         step).
105
106         <gs:importStep
107            name="content"
108            title="Content (transmogrifier)"
109            description="Import the site's structure and content."
110            handler=".exportimport.importSiteStructure"
111            />
112
113         That's why we can go another way and register adapter which is looked up in
114         standard handler.
115
116         <adapter
117            for="Products.CMFPlone.interfaces.IPloneSiteRoot"
118            provides="Products.GenericSetup.interfaces.IFilesystemImporter"
119            factory=".exportimport.PloneSiteImporter"
120            />
121    -->
122
123    <gs:importStep
124        name="content"
125        title="Content (transmogrifier)"
126        description="Import the site's structure and content."
127        handler=".exportimport.importSiteStructure"
128        />
129
130</configure>
Note: See TracBrowser for help on using the repository browser.