ilrt / Beyond2022TeiTemplate

Work on creating a template for the TEI/XML that will be used in the Medieval Gold Seam and other seams
2 stars 0 forks source link

Linking to external resources, e.g. websites #27

Open MikeJ1971 opened 4 years ago

MikeJ1971 commented 4 years ago

I've adopted to use the element, which 'defines a reference to another location, possibly modified by additional text or comment.

https://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-ref.html

The @target attribute provides the URL, while the text within the element proves the text that provides the hyperlink.

<ref target="https://chancery.tcd.ie/document/patent/2-henry-v/116">https://chancery.tcd.ie/document/patent/2-henry-v/116</ref>

pdryburgh commented 4 years ago

Gary might have a preferred solution but this looks good when referring to external websites. I guess it will depend on how CIRCLE is embedded within the overall project data structure,