source: products/qPloneGoogleSitemaps/branches/contenttype/config.py @ 447

Last change on this file since 447 was 421, checked in by crchemist, 13 years ago

Added plone-2.5 compatibility

File size: 554 bytes
Line 
1"""Common configuration constants
2"""
3
4PROJECTNAME = 'qPloneGoogleSitemaps'
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'
18
19AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, '']
20
21try:
22    from Products.DCWorkflow.events import AfterTransitionEvent
23except ImportError:
24    IS_PLONE_3 = False
25else:
26    IS_PLONE_3 = True
Note: See TracBrowser for help on using the repository browser.