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 | |
---|
1 | from zope.interface import Interface |
---|
2 | |
---|
3 | class IMetaKeywords(Interface): |
---|
4 | """Handle the available keywords. |
---|
5 | """ |
---|
6 | def getMetaKeywords(): |
---|
7 | """Returns all the existing keywords for the current content type. |
---|
8 | """ |
---|
9 | |
---|
10 | class IMappingMetaTags(Interface): |
---|
11 | """ |
---|
12 | """ |
---|
13 | def getMappingMetaTags(): |
---|
14 | """Returns mapping {meta_name:accssesor} all the meta tags. |
---|
15 | """ |
---|
16 | |
---|
17 | try: |
---|
18 | from quintagroup.canonicalpath.interfaces import ICanonicalPath |
---|
19 | except: |
---|
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.