source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/config.py @ 3163

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

fixes pyflakes and pylint

  • Property svn:eol-style set to native
File size: 709 bytes
RevLine 
[1593]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 = {
[3152]12    'content': 'sitemap.xml',
13    'mobile': 'mobile-sitemap.xml',
14    'news': 'news-sitemap.xml'
[1593]15}
16
17ping_googlesitemap = 'pingGoogleSitemap'
18testing = 0
19
20AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, '']
21
[1728]22# Turn-ON/OFF portal_catalog
23# updating on product installation
[1729]24
25# NOT REBUILD catalog
[1728]26UPDATE_CATALOG = False
[1729]27# DO REBUILDING catalog
28# UPDATE_CATALOG = True
[2841]29
30SUPPORT_BLAYER = True
31try:
32    from plone import browserlayer
[3163]33    browserlayer
[2841]34except ImportError:
35    SUPPORT_BLAYER = False
Note: See TracBrowser for help on using the repository browser.