source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/configure.zcml @ 2376

Last change on this file since 2376 was 2376, checked in by mylan, 14 years ago

Added upgrade steps from 1.0 to 1.1 and from 1.1 to 1.2 versions

File size: 1.6 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
5    xmlns:cmf="http://namespaces.zope.org/cmf"
6    i18n_domain="quintagroup.plonegooglesitemaps">
7
8    <!-- Include dependent packages -->
9    <include package="quintagroup.canonicalpath" />
10
11    <five:registerPackage package="." initialize=".initialize" />
12
13    <cmf:registerDirectory name="skins" directory="skins" recursive="True" />
14
15    <!-- Include the sub-packages that use their own configure.zcml files. -->
16    <include package=".browser" />
17    <include package=".content" />
18
19    <!-- Register the installation GenericSetup extension profile -->
20    <genericsetup:registerProfile
21      name="default"
22      title="Plone Google Sitemaps"
23      directory="profiles/default"
24      description=""
25      provides="Products.GenericSetup.interfaces.EXTENSION"
26      />
27
28  <genericsetup:upgradeStep
29      title="Upgrade Plone Google Sitemaps"
30      description="Upgrade quintagroup.plonegooglesitemaps 1.0 to 1.1"
31      source="*"
32      destination="1.1"
33      handler=".upgrades.upgrade_1_0_to_1_1"
34      sortkey="1"
35      profile="quintagroup.seoptimizer:default" />
36
37  <genericsetup:upgradeStep
38      title="Upgrade Plone Google Sitemaps"
39      description="Upgrade quintagroup.plonegooglesitemaps 1.1 to 1.2"
40      source="*"
41      destination="1.2"
42      handler=".upgrades.upgrade_1_1_to_1_2"
43      sortkey="2"
44      profile="quintagroup.seoptimizer:default" />
45
46    <!-- -*- extra stuff goes here -*- -->
47
48    <subscriber handler=".handlers.pingGoogle"/>
49
50</configure>
Note: See TracBrowser for help on using the repository browser.