-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 03a98e2
Showing
7 changed files
with
734 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Martin Roček | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Tiny template for TEI editions | ||
|
||
Have you ever run a workshop on TEI and then struggled with where or how to publish the students' work? This template was created for that very reason. It has been designed to be as simple as possible, while still allowing students to make at least some adjustments so that they feel a sense of ownership over their work. | ||
|
||
## Limitations | ||
- It does not work with images | ||
- It does not work with multiple files | ||
- It does not work very well with different readings | ||
|
||
However in future versions I hope to address these issues and extend the functionality of the template. If you have any suggestions, please let me know. | ||
|
||
## How to use this template | ||
1. You can either fork this repository or download it as a zip file in the release section. | ||
2. Copy your XML edition to the `xml` folder. | ||
3. Edit the `index.html` file to include the correct path to your XML file. Look for following line | ||
```html | ||
<script> | ||
var CETEIcean = new CETEI() | ||
CETEIcean.getHTML5("xml/[name_of_your_file].xml", function(data) { | ||
document.getElementById("TEI").appendChild(data) | ||
}) | ||
</script> | ||
``` | ||
4. You can tweak colour, text-size etc. in the `config.css` file at the root of the repository. | ||
5. Publish it on GitHub pages or any other web-server. | ||
|
||
## Publishing on GitHub pages | ||
1. Create a new repository on GitHub. | ||
2. Upload the files from the template to the repository. | ||
3. Go to the settings of the repository and scroll down to the GitHub pages section. | ||
4. Select the `master` branch as the source and click save. | ||
5. Wait a few minutes and then click on the link provided in the GitHub pages section. | ||
|
||
## Copyright and licence | ||
This template is released under the [MIT licence](LICENSE.md) and is free to use, modify and redistribute. The example XML file should be considered as a demonstration of the template and is not covered by the licence. | ||
|
||
This template uses the [CETEIcean](https://github.com/TEIC/CETEIcean) library, which is released under the [BSD 2-Clause "Simplified" License](https://github.com/TEIC/CETEIcean/blob/master/LICENSE.md). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.