source: products/quintagroup.seoptimizer/branches/refactoring2.3.0/quintagroup/seoptimizer/tests/config.py @ 1849

Last change on this file since 1849 was 1849, checked in by liebster, 14 years ago

Add test migration

File size: 1.7 KB
Line 
1from Products.CMFCore.permissions import ManagePortal
2
3from quintagroup.seoptimizer.config import *
4
5FIELDS = ['seo_title', 'seo_description', 'seo_keywords']
6
7PROPS = {'stop_words':STOP_WORDS, 'fields':FIELDS}
8
9CUSTOM_METATAGS = [{'meta_name'    : 'metatag1',
10                    'meta_content' : 'metatag1value'},
11                   {'meta_name'    : 'metatag2',
12                    'meta_content' : 'metatag2value'},
13                   {'meta_name'    : 'metatag3',
14                    'meta_content' : ''}
15                  ]
16DEFAULT_METATAGS_ORDER = ['DC.contributors', 'DC.creator', 'DC.date.created',
17                          'DC.date.modified','DC.description', 'DC.distribution',
18                          'DC.format', 'DC.language', 'DC.publisher', 'DC.rights',
19                          'DC.subject', 'DC.type', 'description', 'distribution',
20                          'keywords', 'robots']
21DEFAULT_METATAGS_ORDER.sort()
22VIEW_METATAGS = ['DC.creator', 'DC.format', 'DC.date.modified', 'DC.date.created', 'DC.type',
23                   'DC.distribution', 'description', 'keywords', 'robots', 'distribution']
24GLOBAL_CUSTOM_METATAGS = {'default_custom_metatags':'metatag1|global_metatag1value\nmetatag4|global_metatag4value'}
25
26CONFIGLETS = ({'id':'qSEOptimizer',
27    'name':'Search Engine Optimizer',
28    'action':'string:${portal_url}/seo-controlpanel',
29    'condition':'',
30    'category':'Products',
31    'visible':1,
32    'appId':'qSEOptimizer',
33    'permission':ManagePortal},)
34
35qSEO_CONTENT = ['File','Document','News Item']
36qSEO_FOLDER  = []
37qSEO_TYPES   = qSEO_CONTENT + qSEO_FOLDER
38
39SEO_CONTENT = ['File', 'Document', 'News Item']
40CONTENTTYPES_WITH_SEOACTION = ['File', 'Document', 'News Item', 'Folder', 'Event']
41CONTENTTYPES_WITH_SEOACTION.sort()
Note: See TracBrowser for help on using the repository browser.