Commit a881693a authored by Ivan Tyagov's avatar Ivan Tyagov

Improve doc string.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21313 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fbb5ce45
...@@ -66,20 +66,26 @@ ...@@ -66,20 +66,26 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>"""\n <value> <string>"""\n
Define here which sources of metadata should be preferred - the \n This script is part of erp5_ingestion bt5.\n
\'order\' tuple defines the order. Source listed first is preferred\n It is used to define the preference order of data sources used when \n
over source listed later.\n ingesting a document.\n
\'input\' means data that are already set on the document (through web\n \n
interface, for example), supplied in the email text or submitted\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 from the contribute form.\n
"""\n
\n \n
order = [\n * \'content\' - metadata available in document content itself\n
\'input\',\n
\'content\',\n
\'file_name\',\n
\'user_login\']\n
\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 return order\n
</string> </value> </string> </value>
</item> </item>
......
18 20
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment