Changeset 32943


Ignore:
Timestamp:
2019-04-01T12:34:32+13:00 (3 years ago)
Author:
kjdon
Message:

added the code to handle gsflink.printdocument for Identifiers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/OAIPMH.java

    r32829 r32943  
    712712    if (names[i].equals(OAIXML.GSF_LINK_PREFIX+OAIXML.LINK_TYPE_DOCUMENT)) {
    713713      link_url =  base_url.replace("oaiserver", "library") + "/collection/" + this.coll_name + "/document/" + info.getInfo("Identifier");
     714    } else if (names[i].equals(OAIXML.GSF_LINK_PREFIX+OAIXML.LINK_TYPE_PRINT)) {
     715      link_url =  base_url.replace("oaiserver", "library") + "/collection/" + this.coll_name + "/document/" + info.getInfo("Identifier")+"/print";
    714716    } else if (names[i].equals(OAIXML.GSF_LINK_PREFIX+OAIXML.LINK_TYPE_SOURCE)) {
    715717      String srcfile = info.getInfo("srclinkFile");
Note: See TracChangeset for help on using the changeset viewer.