Ignore:
Timestamp:
2007-10-10T17:42:59+13:00 (17 years ago)
Author:
anna
Message:

Added the collection type (ct) parameter.

Location:
greenstone3/trunk/src/java/org/greenstone/gsdl3/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/GSParams.java

    r14403 r14641  
    2121    public static final String RESOURCE = "r";
    2222    public static final String PROCESS_ID = "pid"; // if a request wasn't completed, this identifies the request - used when asking for a status update
     23    public static final String COLLECTION_TYPE = "ct";
    2324   
    2425    public static final String SIBLING = "sib"; // this should not be in here
     
    6061    // ugly hack so we don't save the extlink param
    6162    addParameter("s0.ext", false);
     63    addParameter(COLLECTION_TYPE,  true); // collection type - mg or mgpp
    6264    }
    6365   
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/GSXML.java

    r14420 r14641  
    105105  public static final String CLASSIFIER_CONTENT_ATT = "content";
    106106  public static final String ERROR_TYPE_ATT = "type";
     107  public static final String COLLECT_TYPE_ATT = "ct";
    107108 
    108109  // document stuff
Note: See TracChangeset for help on using the changeset viewer.