From a881693a29558c9a23e8b728a900b3abbfd16eb6 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Wed, 4 Jun 2008 07:57:07 +0000
Subject: [PATCH] Improve doc string.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21313 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...rredDocumentMetadataDiscoveryOrderList.xml | 28 +++++++++++--------
 bt5/erp5_ingestion/bt/revision                |  2 +-
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml b/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml
index e2f9e768d0..1840de5ce0 100644
--- a/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml
+++ b/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPreferredDocumentMetadataDiscoveryOrderList.xml
@@ -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
 \n
-order = [\n
-  \'input\',\n
-  \'content\',\n
-  \'file_name\',\n
-  \'user_login\']\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
+order = [\'input\', \'content\', \'file_name\', \'user_login\']\n
 return order\n
 </string> </value>
         </item>
diff --git a/bt5/erp5_ingestion/bt/revision b/bt5/erp5_ingestion/bt/revision
index 25bf17fc5a..2edeafb09d 100644
--- a/bt5/erp5_ingestion/bt/revision
+++ b/bt5/erp5_ingestion/bt/revision
@@ -1 +1 @@
-18
\ No newline at end of file
+20
\ No newline at end of file
-- 
2.30.9