Ignore:
Timestamp:
2010-06-23T13:49:55+12:00 (14 years ago)
Author:
kjdon
Message:

new toOID takes an extra arg, repos_id, so its generates ids like oai:repos-id:collname:doc-id. old version is still used for set spec ids which remain like demo:CL5. another method to extrac the collection name from a full id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/oaiconfig.h

    r22212 r22284  
    3636  text_t getBaseDocRoot();
    3737  text_t getRepositoryName();
     38  text_t getRepositoryId();
     39  text_t getRepositoryIdVersion();
    3840  text_t getMaintainer();
    3941 private:
    4042  bool configureCollection(const text_t &gsdlhome, const text_t &collection);
    4143 
    42   text_t    repositoryName;
     44  text_t    repositoryName; // human readable name
     45  text_t repositoryId; // unique (among oai servers) domain name or id for the repository
     46  text_t repositoryIdVersion; // 1.1 or 2.0 for identifier scheme
    4347  text_t    baseURL; // URL of oaiserver.cgi
    4448  text_t    baseLibraryURL; // URL of library.cgi (used for urls to greenstone documents )
Note: See TracChangeset for help on using the changeset viewer.