src/pyams_content/shared/blog/interfaces/__init__.py
changeset 963 fff756709617
parent 621 a75b1fc09fde
--- a/src/pyams_content/shared/blog/interfaces/__init__.py	Wed Sep 19 15:08:06 2018 +0200
+++ b/src/pyams_content/shared/blog/interfaces/__init__.py	Wed Sep 19 16:00:08 2018 +0200
@@ -12,19 +12,16 @@
 
 __docformat__ = 'restructuredtext'
 
+from zope.container.constraints import containers, contains
+from zope.container.interfaces import IContainer
+from zope.interface import Attribute, Interface
+from zope.schema import Text
 
-# import standard library
-
-# import interfaces
 from pyams_content.shared.common.interfaces import ISharedSite, IBaseSharedTool, ISharedContent, \
     IDeletableElement, IWfSharedContentPortalContext
+from pyams_i18n.schema import I18nTextField
 from pyams_sequence.interfaces import ISequentialIdTarget
 from pyams_workflow.interfaces import IWorkflowPublicationSupport
-from zope.container.interfaces import IContainer
-
-# import packages
-from zope.container.constraints import containers, contains
-from zope.interface import Attribute, Interface
 
 from pyams_content import _
 
@@ -68,6 +65,16 @@
     topic_content_type = Attribute("Topic content type")
     topic_content_factory = Attribute("Topic content factory")
 
+    description = I18nTextField(title=_("Meta-description"),
+                                description=_("The blog's description is 'hidden' into HTML's page headers; but it "
+                                              "can be seen, for example, in some search engines results as content's "
+                                              "description; if description is empty, content's header will be used."),
+                                required=False)
+
+    notepad = Text(title=_("Notepad"),
+                   description=_("Internal information to be known about this content"),
+                   required=False)
+
 
 class IBlogManagerFactory(Interface):
     """Blog manager factory interface"""