In this exercise you’ll create a TEI markup of a one-page document. Creating the markup involves the following steps:
- Decide on the document that you want to mark up. It can be something that is only one page, or it can be a single page from something longer. It can be from one of your artifacts that you’ve posted to your gallery, or it can be something new that you’ve found just for this assignment. If it is something new, it should still relate to your research project, and preferably, it is something with some unique characteristics as a document–such as different kinds of fonts, handwriting on the page, different sections or subsections, etc.
- Go to https://wwp.northeastern.edu/outreach/resources.html. Under where it says Templates, Schemas, and Stylesheets you should see something that says TEI Exercise package, which you can download as a ZIP file. Download that file, unzip it, and save it somewhere where you will be able to remember it and access it later.
- Go to https://atom.io/ and download and install Atom. Atom is a text editor. Text editors are programs that are used to edit computer code, and they render the code in a way that is easier to read.
- Atom should open automatically once it is installed. Within the program, click Open and navigate to the TEI_exercise folder. Open the folder called content. In that folder, open the file exercise_template.xml.
- Click File and Save As, and give the file a new name, preferably the title of the document that you are marking up or a shortened version of it. Make sure the file extension is still .xml, and make sure to save it in that same content folder. Note: do not do anything with any other files in the TEI_exercise folder. Those other files contain instructions for how to display the xml file on a browser, and you’ll need them all in that same folder structure later on.
- Now, in this new file that you’ve created, create the markup of your document. Transcribe all of the text and use the tags that we learned in class to describe the features of the text. Be sure to save frequently as you work.
- After you’ve finished creating your markup, save and close your document, then go back to your file explorer. Right click on the TEI_exercise folder, select Send to and Compressed (zipped) folder. This will create a new TEI_exercise.zip.
- Go to Reclaim Hosting and log in. Go to CPanel and go to File Manager. Click on the wp-content folder.
- Inside the wp-content folder, upload TEI_exercise.zip. Right click on the zipped folder and click Extract to unzip it.
- Your TEI markup is now on your website. You can figure out the URL for where you can view the markup by following the file structure in your file manager. The URL should be [your website’s URL]/wp-content/TEI_exercise/content/[your xml filename].xml. Open up a new browser tab, type that in, and see if you can view your document.
- Once you’ve got the URL, go to WordPress. Upload a new image in your media library. Add the TEI exercise’s URL to the image’s slide link. Add the image’s ID number to the gallery shortcode on your gallery page. That will create a thumbnail image on your gallery alongside your artifacts that will then link to your TEI document.
To earn credit for this assignment, your TEI markup must be accessible from your website’s gallery and must accurately represent the structure of the original document.