<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:id="learn_checkLinks">
   <teiHeader>
      <fileDesc>
         <titleStmt>
            <title type="main">Check Link Validity</title>
            <respStmt xml:id="odd_HOUL3_wtm">
               <resp ref="resp:wtm">Technical Writer</resp>
               <persName ref="pers:HOUL3">Navarra Houldin</persName>
            </respStmt>
            <respStmt xml:id="odd_GALL2_pfr">
               <resp ref="resp:pfr">Proofreader</resp>
               <persName ref="pers:GALL2">Mahayla Galliford</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:pdr">Project Director</resp>
               <persName ref="pers:JENS1">Janelle Jenstad</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:wtm">Project Manager</resp>
               <persName ref="pers:GALL2">Mahayla Galliford</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:wtm">Training and Documentation Lead</resp>
               <persName ref="pers:HOUL3">Navarra Houldin</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:prg">Programmer</resp>
               <persName ref="pers:HOLM1">Martin Holmes</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:prg">Programmer</resp>
               <persName ref="pers:TAKE1">Joey Takeda</persName>
            </respStmt>
            <respStmt>
               <resp ref="resp:prg">Junior Programmer</resp>
               <persName ref="pers:ELHA1">Tracey El Hajj</persName>
            </respStmt>
            <sponsor ref="org:LEMD1"/>
            <funder>Social Sciences and Humanities Research Council of Canada</funder>
         </titleStmt>
         <editionStmt>
            <p>Released with Linked Early Modern Drama Online 1.0</p>
         </editionStmt>
         <publicationStmt>
            <publisher>University of Victoria on the Linked Early Modern Drama Online Platform</publisher>
            <availability>
               <licence from="2023-12-10" resp="pers:JENS1" corresp="anth:lemdo"/>
               <p>This file is licensed under a <ref target="https://creativecommons.org/licenses/by-nc-nd/4.0/">CC BY-NC_ND 4.0 license</ref>, which means that it is freely downloadable without permission under the following conditions: (1) credit must be given to the author and LEMDO in any subsequent use of the files and/or data; (2) the content cannot be adapted or repurposed (except in quotations for the purposes of academic review and citation); and (3) commercial uses are not permitted without the knowledge and consent of the editor and LEMDO. This license allows for pedagogical use of the documentation in the classroom.</p>
            </availability>
         </publicationStmt>
         <seriesStmt>
            <p>Linked Early Modern Drama Online</p>
         </seriesStmt>
         <sourceDesc>
            <p>TEI Customization created by <orgName ref="pers:HOLM1">Martin Holmes</orgName>, <orgName ref="pers:TAKE1">Joey Takeda</orgName>, and <orgName ref="pers:JENS1">Janelle Jenstad</orgName>; documentation written by members of the <orgName ref="org:LEMD1">LEMDO Team</orgName>
            </p>
         </sourceDesc>
      </fileDesc>
      <profileDesc>
         <textClass>
            <catRef scheme="tax:emdDocumentTypes" target="cat:ldtBornDigDocumentation"/>
            <catRef scheme="tax:emdDocumentTypes" target="cat:ldtBornDig"/>
         </textClass>
      </profileDesc>
      <tei:encodingDesc xmlns:tei="http://www.tei-c.org/ns/1.0">
         <p>Encoded in TEI P5 according to the LEMDO Customization and Encoding Guidelines</p>
         <editorialDecl>
            <p>n/a</p>
         </editorialDecl>
         <tei:constraintDecl scheme="schematron" queryBinding="xslt2">
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="tei"
                    uri="http://www.tei-c.org/ns/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="xs"
                    uri="http://www.w3.org/2001/XMLSchema"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="rng"
                    uri="http://relaxng.org/ns/structure/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="rna"
                    uri="http://relaxng.org/ns/compatibility/annotations/1.0"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="sch"
                    uri="http://purl.oclc.org/dsdl/schematron"/>
            <sch:ns xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                    prefix="sch1x"
                    uri="http://www.ascc.net/xml/schematron"/>
         </tei:constraintDecl>
      </tei:encodingDesc>
      <revisionDesc status="prgGenerated">
         <change who="pers:HOLM1" when="2026-05-01">Automatically generated this file by 
                        extracting its content from lemdo.lite.odd.</change>
      </revisionDesc>
   </teiHeader>
   <text>
      <body>
         <div ana="audAnthologyLead audEditor audEncoder">
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_prior">
               <head>Prior Reading</head>
               <list rend="bulleted">
                  <item>
                     <title level="a"><ref target="doc:learn_generalDiagnostics">LEMDO Diagnostics</ref></title>
                  </item>
                  <item>
                     <title level="a"><ref target="doc:learn_encodeLinks_intro">Introduction to Making Links</ref></title>
                  </item>
                  <item>
                     <title level="a"><ref target="doc:learn_encodeLinks_principles">Principles, Practices, and Caveats of Linking</ref></title>
                  </item>
               </list>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_rationale">
               <head>Rationale</head>
               <p>One of the key functions of any LEMDO edition or anthology is to make links—our name is <title level="m"><emph>Linked</emph> Early Modern Drama Online</title> for this reason! Because there are many types of links that LEMDO editors, encoders, and anthology leads make, it is important that we have mechanisms to ensure the links are functional. This documentation will guide you through the process of checking link validity using edition diagnostics, general LEMDO diagnostics, and our anthology link checker.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_edition">
               <head>Step-by-Step: Check Pointer Links Using Edition Diagnostics</head>
               <p>You can use your edition diagnostics to check that pointers from your annotations and collation files are formatted correctly. To do so: <list rend="numbered">
                     <item>Run edition diagnostics by opening your modernized text file and clicking the red play button at the top of the Oxygen window.</item>
                     <item>Once the diagnostic page has opened in your browser, navigate to the <quote>Annotations and collations whose pointers are in the wrong order</quote> diagnostic.</item>
                     <item>If there is a zero after the diagnostic title, there are no issues with the order of pointers in your annotations or collation.</item>
                     <item>If there is a number other than zero after the diagnostic title, open the diagnostic by clicking on the title.</item>
                     <item>Search your edition to find the bad pointer listed in the diagnostic.</item>
                     <item>Check your modernized text to ensure you are linking to anchors in the correct order.</item>
                  </list>
               </p>
               <p>You can also check that all of your pointers link to something using the <quote>Pointers not pointing at anything</quote> diagnostic. If the number following the diagnostic title is not zero, open the diagnostic and search your edition for the bad pointer. Update the value of the <att>target</att> attribute so that the pointer successfully links to an entity.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_generalDiagnostics">
               <head>Step-by-Step: Check Bad Internal Links Using LEMDO Diagnostics</head>
               <p>LEMDO offers two internal link checks in our general diagnostics: urgent and non-urgent. Urgency is based on the status of the file that the bad link is in; files that have a status close to publication should have their links corrected more quickly than those that are in early stages of encoding or remediation. To check bad internal links in your files: <list rend="numbered">
                     <item>Open LEMDO diagnostics through the <quote>Resources</quote> tab in the top navigation bar of the LEMDO-dev site.</item>
                     <item>If you want to check links in one edition only, type the edition abbreviation in the filter text box. Otherwise, leave it blank.</item>
                     <item>Navigate to the <quote>Bad Internal Links</quote> diagnostics and check if your files are listed under them.</item>
                     <item>If your files are listed under the bad internal links diagnostics, search your edition for the links listed and correct the links.</item>
                  </list>
               </p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_externalLinks">
               <head>Practice: Check External Links Using the Anthology External Links List</head>
               <p>Before an anthology can be released, all of its external links must be checked. LEMDO lists all of the external links for each anthology in the anthology’s Jenkins Web page.</p>
               <p>To check your anthology’s external links, ask LEMDO Director <persName ref="pers:JENS1">Janelle Jenstad</persName> (<ref target="mailto:lemdo@uvic.ca">lemdo@uvic.ca</ref>) to have your anthology’s link check pages added to <orgName ref="org:HCMC1">HCMC’s</orgName> server. The pages must be uploaded to the HCMC server before external links can be checked. Once they have uploaded the pages, either the LEMDO director or an HCMC developer will tell you where to find your link check pages.</p>
               <p>Your anthology’s link check index page on the HCMC server will provide you with instructions to use the <ref target="https://validator.w3.org/checklink">W3C Link Checker</ref>. Using this tool will allow you to find any 301 (permanently moved pages), 302 (redirected pages), and 404 (dead link) errors.</p>
               <p>If there are any link errors, search across your anthology and its editions for the bad URL to and correct any instances of it.</p>
            </div>
            <div xmlns:lemdo="http://hcmc.uvic.ca/lemdo/ns"
                 xmlns:sch="http://purl.oclc.org/dsdl/schematron"
                 xmlns:teix="http://www.tei-c.org/ns/Examples"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xml:id="learn_checkLinks_otherResources">
               <head>Other Resources</head>
               <list rend="bulleted">
                  <item>LEMDO YouTube video: <ref target="https://youtu.be/Mc7RYjdCUJQ">Releasing Your Anthology (Technical)</ref>
                  </item>
               </list>
            </div>
         </div>
      </body>
   </text>
</TEI>
