[Erp5-report] r21313 - in /erp5/trunk/bt5/erp5_ingestion: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 4 09:57:07 CEST 2008


Author: ivan
Date: Wed Jun  4 09:57:07 2008
New Revision: 21313

URL: http://svn.erp5.org?rev=21313&view=rev
Log:
Improve doc string.

Modified:
    erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml
    erp5/trunk/bt5/erp5_ingestion/bt/revision

Modified: erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml?rev=21313&r1=21312&r2=21313&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml (original)
+++ erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml Wed Jun  4 09:57:07 2008
@@ -66,20 +66,26 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>"""\n
-Define here which sources of metadata should be preferred - the \n
-\'order\' tuple defines the order. Source listed first is preferred\n
-over source listed later.\n
-\'input\' means data that are already set on the document (through web\n
-interface, for example), supplied in the email text or submitted\n
+This script is part of erp5_ingestion bt5.\n
+It is used to define the preference order of data sources used when \n
+ingesting a document.\n
+ \n
+Data source listed first is preferred over one listed later.\n
+\n
+Possible data sources:\n
+\n
+ * \'input\' - data that is already set on the document (through web\n
+interface for example), supplied in the email text or submitted\n
 from the contribute form.\n
+\n
+ * \'content\' - metadata available in document content itself\n
+\n
+ * \'file_name\' - file name of the ingested document\n
+\n
+ * \'user_login\' - user login of the logged in user\n
+\n
 """\n
-\n
-order = [\n
-  \'input\',\n
-  \'content\',\n
-  \'file_name\',\n
-  \'user_login\']\n
-\n
+order = [\'input\', \'content\', \'file_name\', \'user_login\']\n
 return order\n
 </string> </value>
         </item>

Modified: erp5/trunk/bt5/erp5_ingestion/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/bt/revision?rev=21313&r1=21312&r2=21313&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ingestion/bt/revision Wed Jun  4 09:57:07 2008
@@ -1,1 +1,1 @@
-18
+20




More information about the Erp5-report mailing list