source: products/quintagroup.plonegooglesitemaps/tags/1.8.2/quintagroup/plonegooglesitemaps/config.py @ 3665

Last change on this file since 3665 was 3163, checked in by zidane, 13 years ago

fixes pyflakes and pylint

  • Property svn:eol-style set to native
File size: 709 bytes
Line 
1"""Common configuration constants
2"""
3
4PROJECTNAME = 'quintagroup.plonegooglesitemaps'
5
6ADD_PERMISSIONS = {
7    # -*- extra stuff goes here -*-
8    'Sitemap': 'qPloneGoogleSitemaps: Add Sitemap',
9}
10
11SITEMAPS_VIEW_MAP = {
12    'content': 'sitemap.xml',
13    'mobile': 'mobile-sitemap.xml',
14    'news': 'news-sitemap.xml'
15}
16
17ping_googlesitemap = 'pingGoogleSitemap'
18testing = 0
19
20AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, '']
21
22# Turn-ON/OFF portal_catalog
23# updating on product installation
24
25# NOT REBUILD catalog
26UPDATE_CATALOG = False
27# DO REBUILDING catalog
28# UPDATE_CATALOG = True
29
30SUPPORT_BLAYER = True
31try:
32    from plone import browserlayer
33    browserlayer
34except ImportError:
35    SUPPORT_BLAYER = False
Note: See TracBrowser for help on using the repository browser.