URNs provide an abstraction and a single place for e.g updating references to external resources…
Show more
Extend API to allow registration for URNs.URNs provide an abstraction and a single place for e.g updatingreferences to external resources when switching between a CDN and alocal resource, or when a resource should be updated. Instead ofadding e.g. a CDN url via tempate::head::add_script, one can add anURN and control its content from a single place.Example: template::register_urn \ -urn urn:ad:js:jquery \ -resource /resources/xowiki/jquery/jquery.min.js
Show less