source: products/quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/interfaces.py @ 1671

Last change on this file since 1671 was 1671, checked in by mylan, 14 years ago

Added ICanonicalPath adapter and appropriate tests

  • Property svn:eol-style set to native
File size: 667 bytes
Line 
1from zope.interface import Interface
2
3class IMetaKeywords(Interface):
4    """Handle the available keywords.
5    """
6    def getMetaKeywords():
7        """Returns all the existing keywords for the current content type.
8        """
9
10class IMappingMetaTags(Interface):
11    """
12    """
13    def getMappingMetaTags():
14        """Returns mapping {meta_name:accssesor} all the meta tags.
15        """
16
17try:
18    from quintagroup.canonicalpath.interfaces import ICanonicalPath
19except:
20    class ICanonicalPath(Interface):
21        """canonical_path provider interface
22        """
23
24        def canonical_path():
25            """Return canonical path for the object
26            """
Note: See TracBrowser for help on using the repository browser.