From: Michael S. <sta...@us...> - 2005-10-19 23:59:32
|
Update of /cvsroot/archive-access/archive-access/projects/wera/src/webapps/arcretriever In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2257/src/webapps/arcretriever Modified Files: index.jsp Log Message: Implementation of '[ 1246834 ] Move arc path to retreiver (WAS Path...lib/seal/nutch.inc)' * project.xml Up the version number to be 0.4.0. * src/java/no/nb/nwa/retriever/AID.java Formatting. Make it so it adds '.arc.gz' if not present on passed arc file. * src/java/no/nb/nwa/retriever/ARCRetriever.java Read arcdir from servlet init-parameters. Formatting. * src/webapps/arcretriever/index.jsp Updated desription of this webapp. * src/webapps/arcretriever/WEB-INF/web.xml Added init-param arcdir. * src/webapps/wera/lib/config.inc * src/webapps/wera/lib/config.inc.template Moved arc dir out to arcretriever. Index: index.jsp =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/src/webapps/arcretriever/index.jsp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.jsp 5 Oct 2005 21:34:58 -0000 1.3 --- index.jsp 19 Oct 2005 23:59:22 -0000 1.4 *************** *** 7,29 **** </head> <body bgcolor="#FFFFFF"> ! <H1><img src="./images/logo.jpg" border=0 alt="Nordic Web Archive"> !   ARC Retriever</H1> <p>This application is capable of delivering web documents from archives in the ARC format.</p> ! <H2>Configuring wera for using ARC retriever</H2> <P>In the wera <i>lib/config.inc</i> file set the value of $document_retriever to <A HREF="arcretriever"> <%=request.getRequestURL().substring(0, request.getRequestURL().lastIndexOf("/")).concat("/arcretriever")%> </A></P> - <p>TODO: Document different request types.</p> - - <H2>wera</H2> - You can find information about wera at - <A href='http://archive-access.sourceforge.net/projects/wera/'>this page</A>. <H2>License Information</H2> ! The arcretriever is open source software. Read <A href="LICENSE.txt">more</A> ! about the license information. </body> </html> --- 7,48 ---- </head> <body bgcolor="#FFFFFF"> ! <H1><img src="./images/logo.jpg" border=0 alt="Nordic Web Archive">ARC ! Retriever</H1> <p>This application is capable of delivering web documents from archives in the ARC format.</p> + <H2>Configuration</H2> + <p>Set the <i>arcdir</i> in the <i>WEB-INF/web.xml</i> to point at the + directory that holds ARC files and then redeploy this webapp. + Be aware that changing this value in the web.xml of an + arcretriever sitting under a containers webapp directory + can prove frustrating. The container usually notices your + change then re-undoes the original WAR file overwriting your + edits. If you remove the WAR file version, the container will + subsequently 'cleanup' the lone webapp directory. + Best to unjar outside of the container webapp directory and + copy the unjarred WAR into the webapp dir. + </p> + <h2>Request Parameters</h2> + <p>This webapp takes the following request parameters. + <ul> + <li><b>reqtype</b>: Possible values include: getfile, getmeta, + getfilestatus, getarchiveinfo.</li> + <li><b>aid</b>: The archive identifier. Its format is + <i>OFFSET '/' ARCNAME</i>.</li> + </ul> + </p> ! <H2>wera</H2> ! You can find information about wera at ! <A href='http://archive-access.sourceforge.net/projects/wera/'>this page</A>. ! <H3>Configuring wera for using ARC retriever</H3> <P>In the wera <i>lib/config.inc</i> file set the value of $document_retriever to <A HREF="arcretriever"> <%=request.getRequestURL().substring(0, request.getRequestURL().lastIndexOf("/")).concat("/arcretriever")%> </A></P> <H2>License Information</H2> ! The arcretriever is open source software. ! Read <A href="LICENSE.txt">more</A> about the license information. </body> </html> |