Ignore:
Timestamp:
22/04/09 12:18:10 (11 years ago)
Author:
cbyrom
Message:

Tidy up docs + fix bug with wrongly scoped variable + remove unecessary
global scoping of another variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ingestAutomation-upgrade/OAIBatch/README.txt

    r4854 r5218  
    1818The oai_document_ingester script ingests documents obtained by the OAI harvester. 
    1919 
    20 Usage: python oai_document_ingester.py [OPTION] <datacentre>" 
    21  - where:\n   <datacentre> is the data centre to ingest data from; and options are:" 
    22  -v - verbose mode for output logging" 
    23  -d - debug mode for output logging" 
     20Usage: python oai_document_ingester.py [OPTION] <datacentre> 
     21 - where:\n   <datacentre> is the data centre to ingest data from; and options are: 
     22 -v - verbose mode for output logging 
     23 -d - debug mode for output logging 
    2424 
    2525 
     
    3636polls this feed again, it will try to retrieve and ingest the new document. 
    3737 
    38 Usage: python feeddocumentingester.py [OPTION] <feed> [interval=..], [ingestFromDate=..]" 
    39               [eXistDBHostname=..], [eXistPortNo=..], [dataCentrePoll=..]" 
    40  - where:\n <feed> is the atom feed to ingest data from; options are:" 
    41  -v - verbose mode for output logging" 
    42  -d - debug mode for output logging" 
    43  and keywords are:" 
    44  interval - interval, in seconds, at which to retrieve data from the feed" 
    45  ingestFromDate - date, in format, 'YYYY-MM-DD', from which documents should be ingested - if not set, ingest date is taken as the current time" 
    46  eXistDBHostname - name of eXist DB to retrieve data from - NB, this will likely be where the feed is based, too - default is 'chinook.badc.rl.ac.uk'" 
    47  eXistPortNo - port number used by the eXist DB - defaults to '8080'" 
    48  dataCentrePoll - data centre whose documents should be polled for - e.g 'badc', 'neodc' - if not set, all documents on a feed will be ingested" 
     38Usage: python feeddocumentingester.py [OPTION] <feed> [interval=..], [ingestFromDate=..] 
     39              [eXistDBHostname=..], [eXistPortNo=..], [dataCentrePoll=..] 
     40 - where:\n <feed> is the atom feed to ingest data from; options are: 
     41 -v - verbose mode for output logging 
     42 -d - debug mode for output logging 
     43 and keywords are: 
     44 interval - interval, in seconds, at which to retrieve data from the feed 
     45 ingestFromDate - date, in format, 'YYYY-MM-DD', from which documents should be ingested - if not set, ingest date is taken as the current time 
     46 eXistDBHostname - name of eXist DB to retrieve data from - NB, this will likely be where the feed is based, too - default is 'chinook.badc.rl.ac.uk' 
     47 eXistPortNo - port number used by the eXist DB - defaults to '8080' 
     48 dataCentrePoll - data centre whose documents should be polled for - e.g 'badc', 'neodc' - if not set, all documents on a feed will be ingested 
    4949 
    5050NB, the feed URL will typically be pointing at the RESTful interface to an eXist DB which is hosing the feed. 
Note: See TracChangeset for help on using the changeset viewer.