internetarchive / iare

An interactive IARI JSON viewer
GNU Affero General Public License v3.0
5 stars 4 forks source link

as a patron I expect WARE to give me an intuitive overview of the state of the URLs in a reference from enwiki #29

Open dpriskorn opened 1 year ago

dpriskorn commented 1 year ago

The implementation should differ according to the enwiki-type of reference:

  1. a footnote or general reference line containing a known reference template* (see definition below) For this case WARE should:

    • list URLs for the book/chapter/thing and their status codes (if an error occurred in check-url it should show that somehow and expose all details somehow. It should tell the user if the URL in question is "alive" in a way that makes sense to the patron.
    • for each URL above also show whether a CORRESPONDING archive URL is available and "alive". Available here is defined as being in the same template in a different parameter e.g. archive-url
  2. a footnote or general reference line containing a only a URL or archive-url template For this case WARE should:

    • list URLs and their status codes (if an error occurred in check-url it should show that somehow and expose all details somehow). It should tell the user if the URL in question is "alive" in a way that makes sense to the patron.
    • for each URL above also show whether a CORRESPONDING archive URL is available and "alive". Available is defined here as being in the same reference wikitext.
  3. a footnote or general reference line containing no template For this case WARE should:

    • list detected URLs and their status codes (if an error occurred in check-url it should show that somehow and expose all details somehow). It should tell the user if the URL in question is "alive" in a way that makes sense to the patron.

Known enwiki reference templates: