Changeset 28853

Show
Ignore:
Timestamp:
27.02.2014 11:55:40 (6 years ago)
Author:
kjdon
Message:

I have got rid of site: from the oai set names. Maybe this needs to go back in if we have one MR talking to several remote sites. but really, will this ever happen???

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java

    r28162 r28853  
    105105    /** list of single services that can be reached */ 
    106106    protected Element service_list = null; 
    107     /** list of sites that can be reached */ 
     107    /** list of external sites that can be reached */ 
    108108    protected Element site_list = null; 
    109109    /** list of metadata for the site */ 
     
    742742                { 
    743743                    Element ane = this.doc.createElement(GSXML.COLLECTION_ELEM); 
    744                     //The collection name is returned as site_name:coll_name, which is in fact the set specification 
    745                     ane.setAttribute(GSXML.NAME_ATT, site_name + ":" + col_name); 
     744                    ane.setAttribute(GSXML.NAME_ATT, col_name); 
    746745                    ane.setAttribute(OAIXML.LASTMODIFIED, "" + c.getLastmodified()); 
    747746                    // lastmodified not of use anymore for OAI, perhaps useful as general information 
     
    749748 
    750749                    this.oai_collection_list.appendChild(ane); 
    751                     //logger.info(GSXML.xmlNodeToString(oai_collection_list)); 
    752750                } 
    753751