Skip to content

Commit

Permalink
Update EML parser to have a link back to the new EML site.
Browse files Browse the repository at this point in the history
THe previous emlparser had the docs dir that provided the main site.
Now the parser builds a docs/index.html file that points back to the
main eml.ecoinformatics.org site.
  • Loading branch information
mbjones committed Nov 22, 2019
1 parent 233427f commit 0656637
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@

<target name="servletinstall" depends="jar, clone-eml" if="${clone.exists}">
<copy file="lib/emlparser.html" tofile="${servlet.install.dir}/index.html"/>
<mkdir dir="${servlet.install.dir}/docs" />
<copy file="lib/emlparser-docs.html" tofile="${servlet.install.dir}/docs/index.html"/>
<copy file="src/test/resources/eml-sample.xml"
tofile="${servlet.install.dir}/eml-sample.xml"/>
<copy file="${config.file}" tofile="${servlet.install.dir}/lib/config.xml" filtering="yes"/>
Expand Down
Binary file modified lib/eml.jar
Binary file not shown.
11 changes: 11 additions & 0 deletions lib/emlparser-docs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0//EN">
<html>
<head>
<meta http-equiv="refresh" content="2;url=https://eml.ecoinformatics.org/" />
<title>Ecological Metadata Language</title>
</head>
<body>
<h1>Ecological Metadata Language (EML)</h1>
<p>The main site for EML has moved to the <a href="https://eml.ecoinformatics.org">Ecological Metadata Language</a> project site.</p>
</body>
</html>
4 changes: 2 additions & 2 deletions lib/emlparser.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<h3>EML Parser</h3>

<p>This parser will validate that your EML instance file conforms
to the rules set forth in the EML spec. It also runs a SAX validation
parse to check if your document is schema valid according to the EML
to the rules set forth in the <a href="https://eml./ecoinformatics.org">EML specification</a>.
It also runs a SAX validation parse to check if your document is schema valid according to the EML
schemas.</p>

<p>
Expand Down

0 comments on commit 0656637

Please sign in to comment.