__init__(self,
url,
title,
content,
description=u'',
language=u'de',
created=u'',
creator=u'',
portal_type=u'',
modified=u'',
tags=[],
sources=[])
(Constructor)
| source code
|
Initialize the Entry.
- Parameters:
url (string) - The URL that references the source for this entry.
title (string) - The title of this entry as displayed in the search results.
content (string) - The Entry's content. This is where usually most of the data from
the acquisition will be stored.
description (string) - The Entry's description.
language (string) - The language of the Entry's content.
created (string or datetime) - Time of creation of the Entry's source.
creator (string) - The creator of the Entry's source.
portal_type (string) - The type of the Entry's source. Will be the same as
portal_type for plone entries.
modified (string or datetime) - The date of the last modification of the source.
tags (list) - List of tags (aka. keywords in Plone) that are assigned to the
Entry. The words in this list will be weighted more heavily
during index creation.
sources (list) - The names of the sources for this Entry's data.
- Overrides:
log.BaseLogger.__init__
|