Changeset 2909 in products
- Timestamp:
- Oct 21, 2010 1:34:22 PM (14 years ago)
- Location:
- quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/config.py
r2841 r2909 33 33 except ImportError: 34 34 SUPPORT_BLAYER = False 35 36 BLACKOUT_PREFIX = "seoptimzier.blackoutfilter." -
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/configure.zcml
r2746 r2909 29 29 /> 30 30 31 <!-- Register utilities --> 32 <utility factory=".utilities.IdBlackoutFilterUtility" 33 name="seoptimzier.blackoutfilter.id" 34 permission="zope.Public" /> 35 36 <utility factory=".utilities.PathBlackoutFilterUtility" 37 name="seoptimzier.blackoutfilter.path" 38 permission="zope.Public" /> 39 40 31 41 </configure> -
quintagroup.plonegooglesitemaps/branches/blacklist/quintagroup/plonegooglesitemaps/interfaces.py
r2841 r2909 21 21 class IGoogleSitemapsLayer(ILocalBrowserLayerType): 22 22 """Marker interface that defines browser layer for the package.""" 23 24 class IBlackoutFilterUtility(Interface): 25 """Base interface for filter utility.""" 26 27 def filterOut(fdata, fkey, **kwargs): 28 """Filter out fdata by passed arguments in kwargs. 29 * fdata (list/tuple) - is data to filtering. 30 * fkey (string) - is key for filtering. 31 * **kwargs - contains additional data, needed for filtering. 32 Return list/tuple like object without filtered out items. 33 """ 34
Note: See TracChangeset
for help on using the changeset viewer.