Skip to content

Commit

Permalink
fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
balmas committed Jun 30, 2016
1 parent 2e4b8ae commit 94a46c5
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Perseus UI Plugin for CapiTainS Nemo
This repository contains templates, xslt and css for the Perseus instance of Nemo

It overrides the following templates:
* index
* menu
* passage_footer

Expand Down
7 changes: 5 additions & 2 deletions perseus_nemo_ui/data/assets/static/xslt/epidocShort.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ This Stylesheets are no replacement for the real and far mor sophisticated Styls
But they are away to get the Epidoc (currently only the edition and the translation part) rendered in a more or less satisfying way using only XSLT 1.0 and PHP.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:php="http://php.net/xsl" xmlns:t="http://www.tei-c.org/ns/1.0" exclude-result-prefixes="php">


<xsl:output xml:space="default"/>

<!-- glyphs -->
<xsl:include href="teig.xsl" />

<!-- edition -->
<xsl:include href="edition.xsl" />
<xsl:include href="translation.xsl" />

<!-- others: just remove for now -->
<xsl:include href="teiHeader.xsl" />
<xsl:include href="facsimile.xsl" />
<xsl:include href="text.xsl" />
<xsl:include href="text.xsl" />
</xsl:stylesheet>
47 changes: 47 additions & 0 deletions perseus_nemo_ui/data/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% extends "main::container.html" %}

{%block article%}
<article>
<header>
<h1>Welcome to the Perseus Digital Library's CapiTainS environment.</h1>
</header>
<section>
<p>Perseus is bringing its primary source texts into
<a href="http://www.homermultitext.org/hmt-doc/cite/texts/cts.html" target="_blank">CTS</a> and
<a href="http://www.stoa.org/epidoc/gl/latest/index.html" target="_blank">EpiDoc TEI</a> compliance
in the context of the efforts on the <a target="_blank" href="http://www.perseids.org">Perseids Project</a>,
which is funded by the <a href="http://www.mellon.org" target="_blank">Andrew W. Mellon</a> Foundation.
</p>
<p>Why CTS?
"Canonical Text Services (“CTS”) is a component of the pioneering CITE architecture developed by the
Homer Multitext Project. CTS offers several advantages. In brief, CTS URNs allow us to produce a
semantically meaningful identifier which represents the position of a text in the hierarchy in which it is
traditionally cited. This same identifier scheme can also be used to cite into the text at the passage
level, within a specific version or instance of that text, or within the notional work the text represents.
This permits more precise, refined citation of textual sources and provides a basis for better text
alignment, text retrieval, and citation.
</p>
<p><a href="https://capitains.github.io">CapiTainS</a> is a suite of tools and guidelines for the CTS standards.
The user interface provided here is an extension of the
<a href="https://flask-capitains-nemo.readthedocs.org" target="_blank">Nemo Flask application</a> and
the texts are served by the <a href="https://capitains-nautilus.readthedocs.org" target="_blank">Nautilus</a>
CTS provider. Texts are updated directly from the PerseusDL canonical github repositories as they pass tests
in the <a href="https://github.com/capitains/hook" target="_blank">Hook Continuous Integration environment</a>.
</p>
<p>How does this work relate to the current version of Perseus? Tufts University and the Perseus team are
committed to maintaining <a href="http://www.perseus.tufts.edu" target="_blank">Perseus 4.0</a> as is.
The CapiTainS environment, developed through the support of the <a href="http://www.dh.uni-leipzig.de/wo/"
target="_blank">Humboldt Chair of Digital Humanities at the University of Leipzig</a>, offers a
means of demonstrating the on-going text conversion efforts as we move towards a contributor-based model of
publication. It is our hope that this environment will provide the basis for further collaboration within
the digital classics and digital humanities communities.
</p>
<p>For further information, suggestions for improvement, or error reports, please create a GitHub issue or
contact Perseus via <a href="mailto:perseus_webmaster@tufts.edu">email</a>.
</p>
</section>
<footer>

</footer>
</article>
{%endblock%}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='perseus_nemo_ui',
version="0.0.2",
version="0.0.3",
packages=find_packages(exclude=["examples", "tests"]),
url='https://github.com/PerseusDL/perseus_nemo_ui',
license='GNU GPL',
Expand Down

0 comments on commit 94a46c5

Please sign in to comment.