Changeset 32835 for main

Show
Ignore:
Timestamp:
01.03.2019 20:34:48 (9 months ago)
Author:
ak19
Message:

Following Dr Bainbridge's advice and adding useful oaiserver url commands (outside the list of recognised OAI verbs) to debuginfo

Location:
main/trunk/greenstone3/web
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/classes/interface_default2.properties

    r31560 r32835  
    169169debuginfo.inlinetemplate=Inline Template. Type or paste your XSLT here. 
    170170debuginfo.displaymetadata=Display metadata. 
     171debuginfo.oaiserver_reset=Send a system request to the OAIMessageRouter to reconfigure. 
     172debuginfo.oaiserver_activate_col=Tell the oaiserver servlet to deactivate the specified collection. If rebuilding a collection against a running server, need to call this after moving building folder to index. 
     173debuginfo.oaiserver_deactivate_col=Tell the oaiserver servlet to deactivate the specified collection. If rebuilding a collection against a running server, need to call this before moving building folder to index. 
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/debuginfo.xsl

    r31560 r32835  
    2424    <!-- the page content --> 
    2525    <xsl:template match="/page"> 
     26     
     27        <h2>library (default) servlet</h2> 
    2628        <p> 
    2729            <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.usage')"/> 
     
    5759                <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.formatedit')"/> 
    5860            </dd> 
    59         </dl>      
     61        </dl> 
    6062 
    6163        <dl> 
     
    100102        </dl> 
    101103         
     104        <h2>oaiserver servlet</h2> 
     105        <dl> 
     106            <!-- 
     107                http://host:port/greenstone3/oaiserver?reset 
     108                http://host:port/greenstone3/oaiserver?activate=COLLNAME 
     109                http://host:port/greenstone3/oaiserver?deactivate=COLLNAME 
     110            --> 
     111            <dt>oaiserver?reset</dt> 
     112            <dd> 
     113                <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.oaiserver_reset')"/> 
     114            </dd> 
     115            <dt>oaiserver?activate=COLLNAME</dt> 
     116            <dd> 
     117                <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.oaiserver_activate_col')"/> 
     118            </dd> 
     119            <dt>oaiserver?deactivate=COLLNAME</dt> 
     120            <dd> 
     121                <xsl:value-of select="util:getInterfaceText($debug_property_file, /page/@lang, 'debuginfo.oaiserver_deactivate_col')"/> 
     122            </dd> 
     123        </dl> 
     124         
    102125    </xsl:template> 
    103126</xsl:stylesheet>