setMementoTags(doc: Document, __namedParameters: { originalUrl?: string; datetime?: Date }): void
Add provenance metadata to the DOM, using the terminology of the Memento protocol.
Note however that the Memento spec only discusses HTTP headers; we take the freedom to use
<meta> and <link> tags to ‘embed’ these headers inside the document itself.
Returns
Nothing; the Document is mutated.
Parameters
doc: Document
The Document to add tags to.
__namedParameters: { originalUrl?: string; datetime?: Date }
Add provenance metadata to the DOM, using the terminology of the Memento protocol.
Note however that the Memento spec only discusses HTTP headers; we take the freedom to use
<meta>
and<link>
tags to ‘embed’ these headers inside the document itself.Returns
Nothing; the Document is mutated.