<?xml version="1.0" encoding="UTF-8"?><div xmlns="http://www.tei-c.org/ns/1.0" xml:id="learn_checkLinks" resp="or:odd_HOUL3_wtm or:odd_GALL2_pfr" ana="audAnthologyLead audEditor audEncoder">
   
   <head>Check Link Validity</head>
   
   <div xml:id="learn_checkLinks_prior">
      <head>Prior Reading</head>
      
      <list rend="bulleted">
         <item><ptr target="doc:learn_generalDiagnostics"/></item>
         <item><ptr target="doc:learn_encodeLinks_intro"/></item>
         <item><ptr target="doc:learn_encodeLinks_principles"/></item>
      </list>
   </div>
   
   
   <div 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 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 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 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 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>