Mercurial > hg > sworduploader
diff README @ 15:e24aea2d14a4
- v0.6: use server.cfg, maintain dir structure with dir upload
author | Marco Fabiani <marco.fabiani@eecs.qmul.ac.uk> |
---|---|
date | Tue, 29 May 2012 11:55:26 +0100 |
parents | 273fc80d9623 |
children |
line wrap: on
line diff
--- a/README Fri May 25 13:14:05 2012 +0100 +++ b/README Tue May 29 11:55:26 2012 +0100 @@ -20,6 +20,7 @@ Installation: - no installation required, simply copy the script sworduploader.py to a suitable location. The first time you run the script, it will create the sword2_logging.conf file. +- a server.cfg file is also available. If the --servicedoc option is not used, sworduploader will read the first line of server.cfg and use it as the server's URL. If the server.cfg is missing, it will default to C4DM's server. ----------------------------------------------- Usage: @@ -40,17 +41,17 @@ optional arguments: -h, --help show this help message and exit --username USER_NAME DSpace username. - --zip If "data" is a directory, compress it and post it as a - single file. The zip file will be saved along with the - individual files. --title TITLE Title (ignored for METS packages). --author AUTHOR [AUTHOR ...] Author(s) (ignored for METS packages). Accepts multiple entries in the format "Surname, Name" --date DATE Date of creation (string) (ignored for METS packages). - --servicedoc DSPACEURL - Url of the SWORDv2 service document (default: - http://c4dm.eecs.qmul.ac.uk/rdr/swordv2/servicedocument + --zip If "data" is a directory, compress it and post it as a + single file. The zip file will be saved along with the + individual files. + --servicedoc SD Url of the SWORDv2 service document (default: use + server.cfg if available, otherwise http://c4dm.eecs.qm + ul.ac.uk/rdr/swordv2/servicedocument If the submission is created successfully, it will remain open to be completed with the necessary metadata and licenses, using the DSpace web interface. The