source: products/quintagroup.plonegooglesitemaps/branches/sitemap_date/quintagroup/plonegooglesitemaps/configure.zcml

Last change on this file was 3482, checked in by potar, 7 years ago

added new subscriber for IObjectEditedEvent

File size: 1.7 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:cmf="http://namespaces.zope.org/cmf"
5    i18n_domain="quintagroup.plonegooglesitemaps">
6
7    <!-- Include dependent packages -->
8    <include package="quintagroup.canonicalpath" />
9    <include package="quintagroup.catalogupdater" />
10    <include package="archetypes.schemaextender" />
11    <include package="plone.browserlayer" />
12
13    <five:registerPackage package="." initialize=".initialize" />
14
15    <cmf:registerDirectory name="skins" directory="skins" recursive="True" />
16
17    <!-- Include the sub-packages that use their own configure.zcml files. -->
18    <include package=".browser" />
19    <include package=".content" />
20
21    <include file="profiles.zcml" />
22
23    <!-- -*- extra stuff goes here -*- -->
24
25    <subscriber handler=".handlers.pingGoogle"/>
26
27    <class class="Products.ATContentTypes.content.newsitem.ATNewsItem">
28        <implements interface=".interfaces.INewsSitemapProvider" />
29    </class>
30
31    <adapter name="sitemap_date" factory=".indexers.sitemap_date" />
32
33    <subscriber
34        for="zope.interface.Interface
35             Products.Archetypes.interfaces.IObjectEditedEvent"
36        handler=".handlers.reindexParentObjects" />
37
38    <!-- Register default filters -->
39    <adapter
40        for="*
41             zope.publisher.interfaces.browser.IBrowserRequest"
42        factory=".filters.IdBlackoutFilter"
43        name="id"
44        permission="zope.Public" />
45
46    <adapter
47        for="*
48             zope.publisher.interfaces.browser.IBrowserRequest"
49        factory=".filters.PathBlackoutFilter"
50        name="path"
51        permission="zope.Public" />
52
53
54</configure>
Note: See TracBrowser for help on using the repository browser.