1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:zcml="http://namespaces.zope.org/zcml" |
---|
4 | xmlns:five="http://namespaces.zope.org/five" |
---|
5 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
6 | xmlns:genericsetup="http://namespaces.zope.org/genericsetup" |
---|
7 | xmlns:cmf="http://namespaces.zope.org/cmf" |
---|
8 | xmlns:i18n="http://namespaces.zope.org/i18n" |
---|
9 | i18n_domain="quintagroup.seoptimizer"> |
---|
10 | |
---|
11 | <include file="patches.zcml" /> |
---|
12 | <!-- include dependent packages --> |
---|
13 | <include package="quintagroup.canonicalpath" /> |
---|
14 | |
---|
15 | <five:registerPackage package="." /> |
---|
16 | <cmf:registerDirectory name="quintagroup.seoptimizer" /> |
---|
17 | <i18n:registerTranslations directory="locales" /> |
---|
18 | |
---|
19 | <genericsetup:registerProfile |
---|
20 | name="default" |
---|
21 | title="quintagroup.seoptimizer" |
---|
22 | directory="profiles/default" |
---|
23 | description="Install quintagroup.seoptimizer" |
---|
24 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
25 | /> |
---|
26 | |
---|
27 | <genericsetup:registerProfile |
---|
28 | name="reinstall" |
---|
29 | title="quintagroup.seoptimizer reinstall" |
---|
30 | directory="profiles/reinstall" |
---|
31 | description="Reinstall quintagroup.seoptimizer" |
---|
32 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
33 | /> |
---|
34 | |
---|
35 | <genericsetup:registerProfile |
---|
36 | name="uninstall" |
---|
37 | title="quintagroup.seoptimizer uninstall" |
---|
38 | directory="profiles/uninstall" |
---|
39 | description="Uninstall quintagroup.seoptimizer" |
---|
40 | provides="Products.GenericSetup.interfaces.EXTENSION" |
---|
41 | /> |
---|
42 | |
---|
43 | <browser:page |
---|
44 | for="Products.Archetypes.interfaces.IBaseObject" |
---|
45 | attribute="validateKeywords" |
---|
46 | class=".browser.keywords.ValidateSEOKeywordsView" |
---|
47 | name="checkSEOKeywords" |
---|
48 | permission="cmf.ModifyPortalContent" |
---|
49 | /> |
---|
50 | |
---|
51 | <adapter |
---|
52 | for="Products.Archetypes.public.BaseObject" |
---|
53 | provides=".interfaces.IMetaKeywords" |
---|
54 | factory=".adapters.MetaKeywordsAdapter" |
---|
55 | /> |
---|
56 | |
---|
57 | <adapter |
---|
58 | for="Products.Archetypes.public.BaseObject" |
---|
59 | provides=".interfaces.IMappingMetaTags" |
---|
60 | factory=".adapters.MappingMetaTags" |
---|
61 | /> |
---|
62 | |
---|
63 | <adapter |
---|
64 | for="Products.CMFCore.interfaces.IFolderish" |
---|
65 | provides=".interfaces.ISEOCanonicalPath" |
---|
66 | factory=".adapters.canonicalPathAdapter" |
---|
67 | /> |
---|
68 | |
---|
69 | <adapter |
---|
70 | for="Products.CMFCore.interfaces.IContentish" |
---|
71 | provides=".interfaces.ISEOCanonicalPath" |
---|
72 | factory=".adapters.canonicalPathAdapter" |
---|
73 | /> |
---|
74 | |
---|
75 | |
---|
76 | </configure> |
---|