Skip to content

Commit

Permalink
add NUIG HTML version
Browse files Browse the repository at this point in the history
  • Loading branch information
lb42 committed Jul 21, 2022
1 parent 6ebbc4f commit 15b72c8
Show file tree
Hide file tree
Showing 17 changed files with 53,338 additions and 4 deletions.
113 changes: 113 additions & 0 deletions NUIG/HTML-prefix.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie9" lang="en"> <![endif]-->
<!--[if gt IE 9]><!-->
<html class="js svg svgforeignobject inlinesvg" lang="en"><!--<![endif]--><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Works of Ossian - First Edition</title>

<meta name="author" content="NUI Galway">
<meta name="copyright" content="Copyright NUI Galway">
<meta name="description" content="">
<meta name="csrf-token" content="uiUvKM5dbO5Y73zwRvwXhtoUB7IZovgodds6Ude1">
<!--?xml version="1.0"?-->
<link rel="schema.DC" href="http://purl.org/DC/elements/1.1/" title="Dublin Core Metadata Element Set, Version 1.1">
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" title="DCMI Elements and DCMI Qualifiers">
<meta name="DC.identifier" content="https://ossianonline.nuigalway.ie/edition/5/works-of-ossian">
<meta name="DC.title" content="The Works of Ossian" lang="en">
<meta name="DC.title" content="The Son of Fingal. In Two Volumes. Translated from the Galic Language
By James Macpherson." lang="en">
<meta name="DC.contributor" content="Justin Tonra" lang="en">
<meta name="DC.contributor" content="Ioannis Doukas" lang="en">
<meta name="DC.contributor" content="Meaghan Connell" lang="en">
<meta name="DC.contributor" content="David Kelly" lang="en">
<meta name="DC.contributor" content="Rebecca Barr" lang="en">
<meta name="DC.contributor" content="Justin Tonra" lang="en">
<meta name="DC.rights" content="
Ossian Online is licensed under a Creative Commons Attribution-ShareAlike 4.0
International License
">


<link rel="stylesheet" type="text/css" href="Works%20of%20Ossian%20-%20First%20Edition_files/style.css">


<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script async="" src="Works%20of%20Ossian%20-%20First%20Edition_files/analytics.js"></script><script src="Works%20of%20Ossian%20-%20First%20Edition_files/modernizr.js"></script>
<script src="Works%20of%20Ossian%20-%20First%20Edition_files/jquery.js"></script>

<link rel="stylesheet" href="Works%20of%20Ossian%20-%20First%20Edition_files/font-awesome.css">

<script>
var aa = {} || aa;

aa.user = {
id: null,
name: '',
};
</script>

</head>
<body class="hfeed">
<input type="hidden" name="_token" value="uiUvKM5dbO5Y73zwRvwXhtoUB7IZovgodds6Ude1">
<!--[if lt IE 8]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser now</a> to improve your experience on this website.</p>
<![endif]-->
<div id="page-container">

<header id="page-header" class="wrapper">
<div id="header-wrapper">
<div class="container">
<div class="row">
<div class="col-xs-11 col-sm-6 col-md-5 col-lg-4">
<div class="logo">
<a href="https://ossianonline.nuigalway.ie/" rel="home">
<img src="Works%20of%20Ossian%20-%20First%20Edition_files/logo-ossian.svg" alt="Ossian Online">
</a>
</div>
</div>
<div class="pull-right">
</div>
</div> <!-- .row -->
</div> <!-- .container -->
</div> <!-- #header-wrapper -->
</header>

<div id="page-nav" class="wrapper">
<div class="container">
<div class="row">
<div class="col-xs-8 col-sm-9">
<nav role="navigation">
<ul class="nav nav-pills">
<li><a href="https://ossianonline.nuigalway.ie/" rel="home">Home</a></li>
<li><a href="https://ossianonline.nuigalway.ie/texts">Texts</a></li>
<li><a href="https://ossianonline.nuigalway.ie/about">About</a></li>
<li><a href="https://ossianonline.nuigalway.ie/talks">Talks</a></li>
<li><a href="http://ossianonline.tumblr.com/">Blog</a></li>
<li><a href="https://ossianonline.nuigalway.ie/contact">Contact</a></li>
</ul>
</nav>
</div>


</div>
</div>
</div> <!-- #page-nav -->


<div id="content-wrapper">

<script>
aa.note = {};
aa.documentId = 5;
</script>

<div id="content">
<article class="container">
<!--?xml version="1.0"?-->
<div class="sticky-wrapper">
76 changes: 76 additions & 0 deletions NUIG/HTML-suffix.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@

</div></article>
</div>

</div>



<div id="page-footer" class="wrapper">
<footer class="container">
<h5>Supported by</h5>
<ul>
<li class="col-xs-12 col-sm-3">
<a href="http://www.nuigalway.ie/" target="_blank" rel="nofollow">
<img src="Works%20of%20Ossian%20-%20First%20Edition_files/logo-nuig.png" alt="NUI Galway">
</a>
</li>
<li class="col-xs-12 col-sm-3" id="footer-moore">
<a href="http://www.nuigalway.ie/mooreinstitute/" target="_blank">
<img src="Works%20of%20Ossian%20-%20First%20Edition_files/logo-moore.png" alt="Moore Institute">
</a>
</li>
<li class="col-xs-12 col-sm-3" id="footer-nls">
<a href="http://www.nls.uk/" target="_blank" rel="nofollow">
<img src="Works%20of%20Ossian%20-%20First%20Edition_files/logo-nls.gif" alt="National Library of Scotland">
</a>
</li>
<li class="col-xs-12 col-sm-3" id="footer-irc">
<a href="http://research.ie/" target="_blank" rel="nofollow">
<img src="Works%20of%20Ossian%20-%20First%20Edition_files/logo-irc.png" alt="Irish Research Council">
</a>
</li>
</ul>
</footer>
</div>
<div id="footer-legal" class="wrapper">
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">

<p>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" style="display:block; float:left; margin-right: .5em; margin-bottom: 3em;"><img alt="Creative Commons License" style="border-width:0; " src="Works%20of%20Ossian%20-%20First%20Edition_files/88x31.png"></a><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Ossian Online</span>, edited by <a href="http://www.nuigalway.ie/our-research/people/humanities/rebeccabarr/">Rebecca Barr</a> and <a href="http://www.nuigalway.ie/our-research/people/humanities/justintonra/">Justin Tonra</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>. Facsimile images of print edition of Ossian are courtesy of the <a href="http://www.nls.uk/">National Library of Scotland</a>, and are licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/2.5/scotland/">Creative Commons Attribution-NonCommercial-ShareAlike 2.5 UK: Scotland License</a>.
</p>
</div>

</div>
</div>
</div>

</div> <!-- #page-container -->


<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script> -->


<script src="Works%20of%20Ossian%20-%20First%20Edition_files/ossian_002.js"></script>
<script src="Works%20of%20Ossian%20-%20First%20Edition_files/ossian.js"></script>




<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-44337674-5', 'auto');
ga('send', 'pageview');

</script>




</body></html>
31 changes: 31 additions & 0 deletions NUIG/NOTESforDK.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Ossian Edition 6 (1773) was the first of the Ossian editions to have been delivered in two volumes. To keep things simple, I have pretended that each volume is a separate edition, naming the files `ossianedition6a` and `ossianedition6b`.

In this folder, you will find

(a) source TEI-XML files: ossianedition6a.xml and ossianedition6b.xml
(b) generated HTML files: ossianedition6a.html and ossianedition6b.html
(c) page images (in .pbm format) : ossianedition6a.zip and ossianedition6b.zip

With saxon installed and a following wind you should be able to regenerate these files using the script `Scripts/ossianUp.sh`; however, this assumes you have also cloned my Ossian directory from github (https . You may find it easier just to tweak the HTML with your favourite editor.

The only outstanding problem I see in the current HTML files is that the links to page images are not working properly. At the moment, the XML has links like this:

<pb xml:id="P73100003" facs="../img/1773-020.pbm"/>

which generates in the HTML a link like this:

<img data-src="https://ossianonline.nuigalway.ie/storage/img/600_edition_6/../img/1773-020.pbm" class="facs-image" data-pagelink=""/>

I have not tried to fix this because I didn't know what the URL should be, nor indeed whether you have better quality images you'd prefer to use. It also occurs to me now that you might prefer to use the @xml:id value to construct the link, since it is a little bit more transparent (e.g. "P73100003" means "third page of the first volume of the 1773 edition"). I can tweak the `ossianUp.xsl` script to do this if you like.

The only change I made to the "default.xsl" file you sent me was to add declarations for the parameters, as recommended in your email of many months ago.

Over to you!








File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
75 changes: 75 additions & 0 deletions NUIG/driver-vol1.tei
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<?xml-model href="Scripts/ossianODD.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="Scripts/ossianODD.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- first the TEI Header, for the whole of the edition -->
<xi:include href="teiHeader.xml"/>
<text>
<!-- start of 1773 edition -->

<!-- start of volume 1 -->
<xi:include href="V1/tei/prelims.xml"/>
<!-- front matter for vol1 -->
<body>
<!-- each work in vol1 is a text -->
<xi:include href="V1/tei/cathloda.xml"/>
<xi:include href="V1/tei/comala.xml"/>
<xi:include href="V1/tei/carricthura.xml"/>
<xi:include href="V1/tei/carthon.xml"/>
<xi:include href="V1/tei/oinamorul.xml"/>
<xi:include href="V1/tei/colnadona.xml"/>
<xi:include href="V1/tei/oithona.xml"/>
<xi:include href="V1/tei/croma.xml"/>
<xi:include href="V1/tei/calthon.xml"/>
<xi:include href="V1/tei/warofc.xml"/>
<xi:include href="V1/tei/cathlin.xml"/>
<xi:include href="V1/tei/sulmalla.xml"/>
<xi:include href="V1/tei/warofin.xml"/>
<xi:include href="V1/tei/songsofselma.xml"/>

<div type="poem"><!-- start of Fingal -->
<pb xml:id="P73110217" facs="V1/img/1773-684.pbm"/>
<head>FINGAL, AN ANCIENT EPIC POEM. In SIX BOOKS.</head>
<xi:include href="V1/tei/fingal-1.xml"/><!-- each is a div -->
<xi:include href="V1/tei/fingal-2.xml"/>
<xi:include href="V1/tei/fingal-3.xml"/>
<xi:include href="V1/tei/fingal-4.xml"/>
<xi:include href="V1/tei/fingal-5.xml"/>
<xi:include href="V1/tei/fingal-6.xml"/>
</div>
<!-- end of Fingal -->
<xi:include href="V1/tei/lathmon.xml"/>
<xi:include href="V1/tei/darthula.xml"/>
<xi:include href="V1/tei/deathcuthullin.xml"/>
<xi:include href="V1/tei/battleoflora.xml"/>
</body>
<!-- end of vol1 -->
<!-- <text>
<!-\- start vol 2 -\->
<xi:include href="V2/tei/prelims.xml"/>
<!-\- vol 2 front matter -\->
<group>
<text> <!-\- start of temora -\->
<body>
<xi:include href="V2/tei/temora-1.xml"/><!-\- each is a div -\->
<xi:include href="V2/tei/temora-2.xml"/>
<xi:include href="V2/tei/temora-3.xml"/>
<xi:include href="V2/tei/temora-4.xml"/>
<xi:include href="V2/tei/temora-5.xml"/>
<xi:include href="V2/tei/temora-6.xml"/>
<xi:include href="V2/tei/temora-7.xml"/>
<xi:include href="V2/tei/temora-8.xml"/>
</body>
</text><!-\- end of temora -\->
<xi:include href="V2/tei/conlath.xml"/>
<xi:include href="V2/tei/berrathon.xml"/>
<xi:include href="V2/tei/dissAera.xml"/>
<xi:include href="V2/tei/dissPoems.xml"/>
<xi:include href="V2/tei/criticalDiss.xml"/>
</group>

</text>
<!-\- end vol2 -\->
</group>
</text>
--></text>
</TEI>
81 changes: 81 additions & 0 deletions NUIG/driver-vol2.tei
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@

<?xml-model href="Scripts/ossianODD.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="Scripts/ossianODD.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- first the TEI Header, for the whole of the edition -->
<xi:include href="teiHeader.xml"/>
<text>
<!-- start of 1773 edition -->
<!-- <group>
<text>
<!-\- start of volume 1 -\->
<xi:include href="V1/tei/prelims.xml"/>
<!-\- front matter for vol1 -\->
<group>
<!-\- each work in vol1 is a text -\->
<xi:include href="V1/tei/cathloda.xml"/>
<xi:include href="V1/tei/comala.xml"/>
<xi:include href="V1/tei/carricthura.xml"/>
<xi:include href="V1/tei/carthon.xml"/>
<xi:include href="V1/tei/oinamorul.xml"/>
<xi:include href="V1/tei/colnadona.xml"/>
<xi:include href="V1/tei/oithona.xml"/>
<xi:include href="V1/tei/croma.xml"/>
<xi:include href="V1/tei/calthon.xml"/>
<xi:include href="V1/tei/warofc.xml"/>
<xi:include href="V1/tei/cathlin.xml"/>
<xi:include href="V1/tei/sulmalla.xml"/>
<xi:include href="V1/tei/warofin.xml"/>
<xi:include href="V1/tei/songsofselma.xml"/>
<text>
<!-\- start of Fingal -\->
<pb xml:id="P73110217" facs="V1/img/1773-684.pbm"/>
<front><titlePage>
<titlePart>FINGAL, AN ANCIENT EPIC POEM. In SIX BOOKS.</titlePart></titlePage>
</front><body>
<xi:include href="V1/tei/fingal-1.xml"/><!-\- each is a div -\->
<xi:include href="V1/tei/fingal-2.xml"/>
<xi:include href="V1/tei/fingal-3.xml"/>
<xi:include href="V1/tei/fingal-4.xml"/>
<xi:include href="V1/tei/fingal-5.xml"/>
<xi:include href="V1/tei/fingal-6.xml"/>
</body>
</text>
<!-\- end of Fingal -\->
<xi:include href="V1/tei/lathmon.xml"/>
<xi:include href="V1/tei/darthula.xml"/>
<xi:include href="V1/tei/deathcuthullin.xml"/>
<xi:include href="V1/tei/battleoflora.xml"/>
</group>
</text>
<!-\- end of vol1 -\->
--> <text>
<!-- start vol 2 -->
<xi:include href="V2/tei/prelims.xml"/>
<!-- vol 2 front matter -->
<group>
<text> <!-- start of temora -->
<body>
<xi:include href="V2/tei/temora-1.xml"/><!-- each is a div -->
<xi:include href="V2/tei/temora-2.xml"/>
<xi:include href="V2/tei/temora-3.xml"/>
<xi:include href="V2/tei/temora-4.xml"/>
<xi:include href="V2/tei/temora-5.xml"/>
<xi:include href="V2/tei/temora-6.xml"/>
<xi:include href="V2/tei/temora-7.xml"/>
<xi:include href="V2/tei/temora-8.xml"/>
</body>
</text><!-- end of temora -->
<xi:include href="V2/tei/conlath.xml"/>
<xi:include href="V2/tei/berrathon.xml"/>
<xi:include href="V2/tei/dissAera.xml"/>
<xi:include href="V2/tei/dissPoems.xml"/>
<xi:include href="V2/tei/criticalDiss.xml"/>
</group>

</text>
<!-- end vol2 -->
<!-- </group>-->
</text>

</TEI>
File renamed without changes.
Loading

0 comments on commit 15b72c8

Please sign in to comment.