Ignore:
Timestamp:
Oct 29, 2010 10:53:54 AM (14 years ago)
Author:
mylan
Message:

#228: Update description of blackout list, remove preparations to filtering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/content/sitemap.py

    r2942 r2945  
    6262        widget=atapi.LinesWidget( 
    6363            label=_(u"Blackout entries"), 
    64             description=_(u"The objects with the given ids will not be " \ 
    65                           u"included in sitemap."), 
     64            description=_( 
     65              u"Objects which match filter condition will be excluded from the sitemap." \ 
     66              u"Every record should follow the spec: [<filter name>:]<filter arguments>."\ 
     67              u" By default there are \"id\" and \"path\" filters (\"id\" used if filter"\ 
     68              u" name not specified). There is possibility to add new filters. "\ 
     69              u"Look into README.txt of the quintagroup.plonegooglesitemaps package."), 
    6670        ), 
    6771    ), 
     
    162166    def setBlackout_list(self, value, **kw): 
    163167        """Clean-up whitespaces and empty lines.""" 
    164         import pdb;pdb.set_trace() 
    165168        val = filter(None, map(string.strip, value)) 
    166169        self.getField('blackout_list').set(self, val) 
Note: See TracChangeset for help on using the changeset viewer.