prefixDef
Posted by jtakeda on 05 May 2017 in Activity log
Until now, MoEML's prefixDefs pointed to the live site to resolve the pointer (i.e. mol:BLAH became http://mapoflondon.uvic.ca/BLAH) to preserve ease of linking within nested folder structures. With the static build, however, all pointers can be resolved locally, since the files are flattened.
I've now changed the prefixDefs for most of the pointers in MoEML so that they resolve to something local. The only issue is how we point to calendars in @datingMethod. Currently, we use 'mol:julianSic', which resolves to http://mapoflondon.uvic.ca/julianSic.htm--that doesn't exist. So we'll likely need a new prefixDef (molcal or something like that) that resolves to:
- in db/data: http://mapoflondon.uvic.ca/includes.xml#julianSic OR http://mapoflondon.uvic.ca/dates.xml#julianSic
- in static/site/xml/original: includes.xml#julianSic OR dates.xml#julianSic