Commit 207d9a7a authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Servlet bibliography

parent a3ea4645
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Exmo bibliography</title>
<!-- Created by: Jerome Euzenat, 29-Jan-1997 -->
<!-- Changed by: Jerome Euzenat, 5-Feb-1997 -->
</head>
<body BGCOLOR="ffffff">
<h1><a HREF=".."><img SRC="/BiblioServlet/img/exmo-small.gif" ALT=" [EXMO] " BORDER="0" ALIGN="BOTTOM"/></a> bibliography</h1>
This refers to the bibliography of the Exmo action since 1/1/2000.<br />
For ancient references, look at the <a HREF="http://www.inrialpes.fr/exmo/papers/exmo1995.html">Exmo before exmo (1995-1999)
selected bibliography</a>. A <a HREF="http://www.inrialpes.fr/sherpa/publi.html">wider bibliography</a>
is that of the Sherpa project.</p>
<form ACTION="/BiblioServlet/BibrefServlet" method="post">
<input TYPE="HIDDEN" NAME="file" VALUE="bibexmo.xml"/>
<input TYPE="HIDDEN" NAME="abstract" VALUE="false" />
<input TYPE="HIDDEN" NAME="layout" VALUE="exmo" />
<table WIDTH="100%">
<tr BORDER="0">
<td BGCOLOR="#99ccff" WIDTH="25%">
&nbsp;search for <select NAME="param">
<option SELECTED="true" VALUE="auth">author</option>
<option VALUE="areas">areas</option>
<option VALUE="softwares">softwares</option>
<option VALUE="contracts">contracts</option>
<option VALUE="ref">reference</option>
</select>
</td>
<td BGCOLOR="#00ffcc" WIDTH="25%">
&nbsp;value <input TYPE="text" NAME="value" SIZE="20"/>
</td>
<td BGCOLOR="#00ffcc" WIDTH="25%">
&nbsp;in <select NAME="format">
<option SELECTED="true" VALUE="xml">XML</option>
<option VALUE="html">HTML</option>
<option VALUE="bib">BibTeX</option>
<option VALUE="pdf">PDF</option>
</select>
</td>
<td BGCOLOR="#cc00cc" WIDTH="25%">
<input TYPE="SUBMIT" VALUE="OK"/>
</td>
</tr>
</table>
</form>
<hr />
<table width="100%">
<tr border="1"><td>
<small>
<a href="http://www.inrialpes.fr/exmo/">EXMO</a> :
<a href="http://www.inrialpes.fr/exmo/research">research</a> |
<a href="http://www.inrialpes.fr/exmo/people">people</a> |
<a href="http://www.inrialpes.fr/exmo/papers">papers</a> |
<a href="http://www.inrialpes.fr/exmo/teaching">teaching</a> |
<a href="http://www.inrialpes.fr/exmo/training">training</a> |
<a href="http://www.inrialpes.fr/exmo/cooperation">cooperation</a> |
<a href="http://www.inrialpes.fr/exmo/software">software</a> |
<a href="http://www.inrialpes.fr/exmo/applications">applications</a> |
<a href="http://www.inrialpes.fr/exmo/transfer">transfer</a>
</small>
</td><td align="right">
<small><a href="http://www.inrialpes.fr/exmo/notice.html" alt=" [legal notice] "></a> |
<a href="http://www.inrialpes.fr/exmo/search.html" alt=" [search] ">?</a> |
<a href="http://www.inrialpes.fr/exmo/gloss.html" alt=" [glossary] ">*</a>
</small>
</td></tr></table>
<hr />
<table width="100%"><tr><td>
<small>http://www.inrialpes.fr/exmo/papers/</small>
</td><td align="right">
<small>
<a href="http://www.inrialpes.fr/exmo/notice.html"> INRIA Rhne-Alpes, 1999-2000</a>
</small>
</td></tr></table>
<hr />
<address>Maintained by <a HREF="mailto:Jerome.Euzenat@inrialpes.fr">Jrme Euzenat</a>
<!-- hhmts start -->
Last modified: Tue Mar 27 17:36:21 CEST 2001
<!-- hhmts end -->
</address>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Exmo bibliography</title>
<!-- Created by: Jerome Euzenat, 29-Jan-1997 -->
<!-- Changed by: Jerome Euzenat, 5-Feb-1997 -->
</head>
<body BGCOLOR="ffffff">
<h1><a HREF=".."><img SRC="/BiblioServlet/img/exmo-small.gif" ALT=" [EXMO] " BORDER="0" ALIGN="BOTTOM"/></a> bibliography</h1>
This refers to the bibliography of the Exmo action since 1/1/2000.<br />
For ancient references, look at the <a HREF="http://www.inrialpes.fr/exmo/papers/exmo1995.html">Exmo before exmo (1995-1999)
selected bibliography</a>. A <a HREF="http://www.inrialpes.fr/sherpa/publi.html">wider bibliography</a>
is that of the Sherpa project.</p>
<form ACTION="/BiblioServlet/BiblioServlet" method="post">
<table WIDTH="100%">
<tr BORDER="0">
<td BGCOLOR="#99ccff" WIDTH="25%">
&nbsp;in <select NAME="format">
<option SELECTED="true" VALUE="xml">XML</option>
<option VALUE="html">HTML</option>
<option VALUE="bib">BibTeX</option>
<option VALUE="pdf">PDF</option>
<option VALUE="ps">Postscript</option>
<option VALUE="rtf">RTF</option>
</select>
</td>
<td BGCOLOR="#00ffcc" WIDTH="50%">
&nbsp;sorted by <select NAME="sort">
<option SELECTED="true" VALUE="ay">Authors, years</option>
<option VALUE="ty">Areas, year</option>
<option VALUE="ya">Year, authors</option>
<option VALUE="cya">Type, year, author</option>
</select>
</td>
<td BGCOLOR="#cc00cc" WIDTH="25%">
<input TYPE="SUBMIT" VALUE="OK"/>
</td>
</tr>
</table>
</form>
<a href="index-advanced.html">Advanced search</a>
<hr />
<table width="100%">
<tr border="1"><td>
<small>
<a href="http://www.inrialpes.fr/exmo/">EXMO</a> :
<a href="http://www.inrialpes.fr/exmo/research">research</a> |
<a href="http://www.inrialpes.fr/exmo/people">people</a> |
<a href="http://www.inrialpes.fr/exmo/papers">papers</a> |
<a href="http://www.inrialpes.fr/exmo/teaching">teaching</a> |
<a href="http://www.inrialpes.fr/exmo/training">training</a> |
<a href="http://www.inrialpes.fr/exmo/cooperation">cooperation</a> |
<a href="http://www.inrialpes.fr/exmo/software">software</a> |
<a href="http://www.inrialpes.fr/exmo/applications">applications</a> |
<a href="http://www.inrialpes.fr/exmo/transfer">transfer</a>
</small>
</td><td align="right">
<small><a href="http://www.inrialpes.fr/exmo/notice.html" alt=" [legal notice] "></a> |
<a href="http://www.inrialpes.fr/exmo/search.html" alt=" [search] ">?</a> |
<a href="http://www.inrialpes.fr/exmo/gloss.html" alt=" [glossary] ">*</a>
</small>
</td></tr></table>
<hr />
<table width="100%"><tr><td>
<small>http://www.inrialpes.fr/exmo/papers/</small>
</td><td align="right">
<small>
<a href="http://www.inrialpes.fr/exmo/notice.html"> INRIA Rhne-Alpes, 1999-2000</a>
</small>
</td></tr></table>
<hr />
<address>Maintained by <a HREF="mailto:Jerome.Euzenat@inrialpes.fr">Jrme Euzenat</a>
<!-- hhmts start -->
Last modified: Tue Mar 27 17:36:21 CEST 2001
<!-- hhmts end -->
</address>
</body>
</html>
echo Building servlet war file
cd WAR
echo code generation
java -jar ../../../lib/transmo.jar ../process.xml -compile
java -jar ../../../lib/transmo.jar ../process-bib.xml -compile
echo code compilation
javac -d WEB-INF/classes -classpath ${CATALINA_HOME}/common/lib/servlet.jar:../../../lib/transmo.jar:../../../lib/xml-apis.jar WEB-INF/output/BiblioServlet.java
javac -d WEB-INF/classes -classpath ${CATALINA_HOME}/common/lib/servlet.jar:../../../lib/transmo.jar:../../../lib/xml-apis.jar WEB-INF/output/BibrefServlet.java
echo war creation
jar -cMf ../BiblioServlet.war .
cd ..
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<transmorpher name="servletBib"
version="1.0"
reloc="WEB-INF/output"
optimized="false"
xmlns="http://transmorpher.fluxmedia.fr/1.0">
<defextern class="fr.fluxmedia.tmcontrib.serializer.PDFSerializer" name="fop"/>
<ruleset name="stripHidden-bib">
<remtag match="*[@status='hidden']"/>
<resubst match="bibliography/@date" source="\$" target=""/>
<resubst match="bibliography/@version" source="\$" target=""/>
<resubst match="bibliography/@author" source="\$" target=""/>
</ruleset>
<!-- <query name="reference" type="tmq" root="bibliography">
<param name="ref" select="test"/>
<select match="bibliography/reference" test="@index=$ref"/>
</query> -->
<servlet name="BibrefServlet">
<param name="param"></param>
<param name="value"></param>
<param name="ref"></param>
<param name="layout"></param>
<param name="file">bibexmo.xml</param>
<param name="format">bib</param>
<generate type="readfile" id="generateBib" out="O1">
<with-param name="file">http://www.inrialpes.fr/exmo/papers/xml/$file</with-param>
</generate>
<!-- <apply-query type="tmq" ref="reference" id="selectRef" in="O1" out="O2">
<with-param name="ref">$ref</with-param>
</apply-query> -->
<apply-ruleset ref="stripHidden-bib" id="Striphidden" in="O1" out="O12"/>
<apply-external type="xslt" id="select" in="O12" out="O2">
<with-param name="file">WEB-INF/xslt/select.xsl</with-param>
<with-param name="param">$param</with-param>
<with-param name="value">$value</with-param>
<with-param name="ref">$ref</with-param>
</apply-external>
<dispatch id="disp" type="broadcast" in="O2" out="OO1 OO2 OO3 OO4"/>
<apply-external type="xslt" id="FormatHTML" in="OO1" out="O3">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-hyear.xsl</with-param>
<with-param name="filename">$file</with-param>
<with-param name="layout">$layout</with-param>
</apply-external>
<serialize type="writefile" id="writeHTML" in="O3" file="_null_">
<with-param name="method">html</with-param>
<with-param name="format">html</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/html</with-param>
</serialize>
<apply-external type="xslt" id="FormatBib" in="OO2" out="O4">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-bibtex.xsl</with-param>
</apply-external>
<serialize type="writefile" id="writeBIB" in="O4" file="_null_">
<with-param name="method">text</with-param>
<with-param name="format">bib</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/plain</with-param>
</serialize>
<serialize type="writefile" id="writeXML" in="OO3" file="_null_">
<with-param name="method">xml</with-param>
<with-param name="format">xml</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/xml</with-param>
</serialize>
<apply-external type="xslt" id="FormatPDF" in="OO4" out="X1">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-fo.xsl</with-param>
</apply-external>
<serialize type="fop" id="writePDF" in="X1" file="_null_">
<with-param name="format">pdf</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">application/pdf</with-param>
</serialize>
</servlet>
</transmorpher>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE transmorpher SYSTEM "../../dtd/transmorpher.dtd">
<transmorpher name="servletBiblio" version="1.0" reloc="WEB-INF/output" optimized="false" xmlns:tm="http://transmorpher.fluxmedia.fr/1.0">
<defextern class="fr.fluxmedia.tmcontrib.serializer.PDFSerializer" name="fop"/>
<defextern class="fr.fluxmedia.tmcontrib.serializer.RTFSerializer" name="rtf"/>
<ruleset name="form-text">
<namespace name="fo" uri="http://www.w3.org/1999/XSL/Format"/>
<modtag match="i" target="fo:inline">
<addatt match="font-style" value="italic"/>
</modtag>
<modtag match="ul" target="fo:block">
<addatt match="margin-left" value="30pt"/>
<addatt match="space-after" value="4pt"/>
</modtag>
<modtag match="li" target="fo:block">
<addatt match="margin-left" value="35pt"/>
<addatt match="space-after" value="4pt"/>
</modtag>
<maptag match="br" target="fo:block"/>
</ruleset>
<ruleset name="cvshide">
<resubst match="bibliography/@date" source="Date: ([^/]*)\/([^/]*)\/([^ ]*) [^ ]* \$" target="$3/$2/$1"/>
<resubst match="bibliography/@version" source="Revision: (.*) \$" target="$1"/>
<resubst match="bibliography/@author" source="Author: (.*) \$" target="$1"/>
</ruleset>
<ruleset name="stripHidden">
<remtag match="*[@status='hidden']"/>
<resubst match="bibliography/@date" source="\$" target=""/>
<resubst match="bibliography/@version" source="\$" target=""/>
<resubst match="bibliography/@author" source="\$" target=""/>
</ruleset>
<servlet name="BiblioServlet">
<param name="file">bibexmo.xml</param>
<param name="layout"></param>
<param name="format">xml</param>
<param name="sort">cya</param>
<param name="xsl">WEB-INF/xslt/form-fo.xsl</param>
<generate type="readfile" id="generateJE" out="O1">
<with-param name="file">http://www.inrialpes.fr/exmo/papers/xml/$file</with-param>
</generate>
<apply-external type="xslt" id="sort" in="O1" out="O10">
<with-param name="file">http://barbara.inrialpes.fr/xslt/sort-${sort}.xsl</with-param>
</apply-external>
<apply-ruleset ref="cvshide" id="StripCVS" in="O10" out="O11"/>
<apply-ruleset ref="stripHidden" id="Striphidden" in="O11" out="O12"/>
<dispatch type="broadcast" id="dispatch1" in="O12" out="X1 X2 X3 X4"/>
<!-- ############### PDF ############### -->
<apply-external type="xslt" id="FormatFOP" in="X1" out="P1">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-fo.xsl</with-param>
</apply-external>
<apply-ruleset ref="form-text" id="formtext" in="P1" out="P2"/>
<dispatch type="broadcast" id="dispatch1" in="P2" out="Y1 Y2 Y3"/>
<serialize type="fop" id="writePDF" in="Y1" file="_null_">
<with-param name="format">pdf</with-param>
<with-param name="content-type">application/pdf</with-param>
</serialize>
<serialize type="fop" id="writePS" in="Y2" file="_null_">
<with-param name="format">ps</with-param>
<with-param name="content-type">application/postscript</with-param>
</serialize>
<serialize type="rtf" id="writeRTF" in="Y3" file="_null_">
<with-param name="format">rtf</with-param>
<with-param name="content-type">application/rtf</with-param>
</serialize>
<!-- ############### XML ############### -->
<serialize type="writefile" id="writeXML" in="X2" file="_null_">
<with-param name="method">xml</with-param>
<with-param name="format">xml</with-param>
<with-param name="content-type">text/xml</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="indent">yes</with-param>
</serialize>
<!-- ############### BIB ############### -->
<apply-external type="xslt" id="FormatBib" in="X3" out="A1">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-bibtex.xsl</with-param>
</apply-external>
<serialize type="writefile" id="writeBIB" in="A1" file="_null_">
<with-param name="method">text</with-param>
<with-param name="format">bib</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/plain</with-param>
</serialize>
<!-- ############### html ############### -->
<dispatch type="broadcast" id="dispatchHTML" in="X4" out="H1 H2 H3 H4"/>
<apply-external type="xslt" id="FormatHTML1" in="H1" out="HH1">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-hauth.xsl</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ay</with-param>
<with-param name="layout">${layout}</with-param>
<with-param name="filename">$file</with-param>
</apply-external>
<serialize type="writefile" id="writeHTML1" in="HH1" file="_null_">
<with-param name="method">html</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ay</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/html</with-param>
<with-param name="indent">yes</with-param>
</serialize>
<apply-external type="xslt" id="FormatHTML2" in="H2" out="HH2">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-harea.xsl</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ty</with-param>
<with-param name="layout">${layout}</with-param>
<with-param name="filename">$file</with-param>
</apply-external>
<serialize type="writefile" id="writeHTML2" in="HH2" file="_null_">
<with-param name="method">html</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ty</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/html</with-param>
<with-param name="indent">yes</with-param>
</serialize>
<apply-external type="xslt" id="FormatHTML3" in="H3" out="HH3">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-htype.xsl</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">cya</with-param>
<with-param name="layout">${layout}</with-param>
<with-param name="filename">$file</with-param>
</apply-external>
<serialize type="writefile" id="writeHTML3" in="HH3" file="_null_">
<with-param name="method">html</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">cya</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/html</with-param>
<with-param name="indent">yes</with-param>
</serialize>
<apply-external type="xslt" id="FormatHTML4" in="H4" out="HH4">
<with-param name="file">http://barbara.inrialpes.fr/xslt/form-hyear.xsl</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ya</with-param>
<with-param name="layout">${layout}</with-param>
<with-param name="filename">$file</with-param>
</apply-external>
<serialize type="writefile" id="writeHTML4" in="HH4" file="_null_">
<with-param name="method">html</with-param>
<with-param name="format">html</with-param>
<with-param name="sort">ya</with-param>
<with-param name="encoding">iso-8859-1</with-param>
<with-param name="content-type">text/html</with-param>
<with-param name="indent">yes</with-param>
</serialize>
</servlet>
</transmorpher>
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>bibserv</servlet-name>
<servlet-class>BiblioServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>bib</servlet-name>
<servlet-class>BibrefServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>bibserv</servlet-name>
<url-pattern>/BiblioServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>bib</servlet-name>
<url-pattern>/BibrefServlet/*</url-pattern>
</servlet-mapping>
</web-app>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment