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

Last change on this file since 2398 was 2398, checked in by mylan, 11 years ago

#131: Added 'access' and 'genres' tags support by News Sitemap

File size: 2.4 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    <include package="quintagroup.catalogupdater" />
11
12    <five:registerPackage package="." initialize=".initialize" />
13
14    <cmf:registerDirectory name="skins" directory="skins" recursive="True" />
15
16    <!-- Include the sub-packages that use their own configure.zcml files. -->
17    <include package=".browser" />
18    <include package=".content" />
19
20    <!-- Register gsm_* adapters for catalog -->
21    <adapter name="gsm_access" factory=".catalog.gsm_access" />
22    <adapter name="gsm_genres" factory=".catalog.gsm_genres" />
23
24    <!-- Register the installation GenericSetup extension profile -->
25    <genericsetup:registerProfile
26      name="default"
27      title="Plone Google Sitemaps"
28      directory="profiles/default"
29      description=""
30      provides="Products.GenericSetup.interfaces.EXTENSION"
31      />
32
33    <genericsetup:registerProfile
34      name="upgrade_1_0_to_1_1"
35      title="Plone Google Sitemaps"
36      directory="profiles/upgrade_1_0_to_1_1"
37      description=""
38      provides="Products.GenericSetup.interfaces.EXTENSION"
39      />
40
41    <genericsetup:registerProfile
42      name="upgrade_1_1_to_1_2"
43      title="Plone Google Sitemaps"
44      directory="profiles/upgrade_1_1_to_1_2"
45      description=""
46      provides="Products.GenericSetup.interfaces.EXTENSION"
47      />
48
49    <genericsetup:upgradeStep
50      title="Upgrade Plone Google Sitemaps 1.0 to 1.1"
51      description="Upgrade quintagroup.plonegooglesitemaps 1.0 to 1.1"
52      source="*"
53      destination="1.1"
54      handler=".upgrades.upgrade_1_0_to_1_1"
55      sortkey="1"
56      profile="quintagroup.plonegooglesitemaps:default"
57      />
58
59    <genericsetup:upgradeStep
60      title="Upgrade Plone Google Sitemaps 1.1 to 1.2"
61      description="Upgrade quintagroup.plonegooglesitemaps 1.1 to 1.2"
62      source="*"
63      destination="1.2"
64      handler=".upgrades.upgrade_1_1_to_1_2"
65      sortkey="2"
66      profile="quintagroup.plonegooglesitemaps:default"
67      />
68
69    <!-- -*- extra stuff goes here -*- -->
70
71    <subscriber handler=".handlers.pingGoogle"/>
72
73</configure>
Note: See TracBrowser for help on using the repository browser.