[Erp5-report] r30028 - /erp5/trunk/products/ERP5/interfaces/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 27 13:58:06 CET 2009
Author: jerome
Date: Tue Oct 27 13:58:04 2009
New Revision: 30028
URL: http://svn.erp5.org?rev=30028&view=rev
Log:
- typos
- specify in IMetadataDiscoverable.getContentInformation that the return type
is a dictionnary
Modified:
erp5/trunk/products/ERP5/interfaces/crawlable.py
erp5/trunk/products/ERP5/interfaces/granulatable.py
erp5/trunk/products/ERP5/interfaces/metadata_discoverable.py
Modified: erp5/trunk/products/ERP5/interfaces/crawlable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/crawlable.py?rev=30028&r1=30027&r2=30028&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/crawlable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/crawlable.py [utf8] Tue Oct 27 13:58:04 2009
@@ -41,7 +41,7 @@
def crawlContent():
"""
Initialises the crawling process from the current document.
- The crawling process is delegate to an ERP5 crawler such
+ The crawling process is delegated to an ERP5 crawler such
as the ContributionTool.
"""
Modified: erp5/trunk/products/ERP5/interfaces/granulatable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/granulatable.py?rev=30028&r1=30027&r2=30028&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/granulatable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/granulatable.py [utf8] Tue Oct 27 13:58:04 2009
@@ -31,7 +31,7 @@
class IGranulatable(Interface):
"""
- Convertable interface specification
+ Granulatable interface specification
Documents which implement IGranulatable can be analysed
and granulated into smaller sub documents. Reversely,
@@ -53,4 +53,4 @@
Updated the current document by assembling subcontent
and generate a new document. It is the reverse method
of IGranulatable.granulateContent
- """
+ """
Modified: erp5/trunk/products/ERP5/interfaces/metadata_discoverable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/metadata_discoverable.py?rev=30028&r1=30027&r2=30028&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/metadata_discoverable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/metadata_discoverable.py [utf8] Tue Oct 27 13:58:04 2009
@@ -33,16 +33,16 @@
"""
Metadata Discoverable interface specification
- Documents which implement IMetadataDiscoverable provide
+ Documents which implement IMetadataDiscoverable provides
methods to discover and update metadata properties
from content, user input, file name, etc.
"""
def getContentInformation():
"""
- Returns all possible metadata which can be extracted
- from the document content (ex. title from an HTML file,
- creation date from a PDF document, etc.)
+ Returns a dictionnary of possible metadata which can be extracted from the
+ document content (ex. title from an HTML file, creation date from a PDF
+ document, etc.)
"""
def getPropertyDictFromUserLogin(user_login=None):
@@ -55,7 +55,7 @@
def getPropertyDictFromContent():
"""
- Base on the result of getContentInformation, find out all
+ Based on the result of getContentInformation, find out all
properties which can be discovered to later update document metadata.
"""
@@ -94,4 +94,4 @@
no reference was defined.)
XXX - it is unclear if this method should be part of the interface
- """
+ """
More information about the Erp5-report
mailing list