Metadata published by technote¶
Technote publishes metadata with HTML documents. This metadata can be used for a number of purposes, from search engine optimization, to inclusion in Google Scholar, unfurling in social media and message apps, and even for maintaining institutional documentation indices. Technote uses supports a number of metadata standards, including Highwire Press, Open Graph, microformats2, and custom element annotations with data attributes. This page describes the metadata that Technote publishes.
Standard HTML metadata¶
Technote publishes standard HTML metadata:
meta name="title"is the document’s title (h1 heading).meta name="description"is the document’s description derived from theabstractdirective.meta name="generator"is the name of the software that generated the document. Example:<meta name="generator" content="technote 1.0.0: https://technote.lsst.io">.link ref="canonical"is the canonical URL of the document, derived from thecanonical_urlfield in a document’stechnote.tomlconfiguration file.
Highwire Press metadata¶
Google Scholar uses Highwire Press metadata to index literature.
Technote publishes the following meta tags:
citation_titlecitation_authorcitation_author_institutioncitation_author_emailcitation_author_orcidcitation_datecitattion_doicitation_technical_report_numbercitation_fulltext_html_url
OpenGraph metadata¶
Social media and messaging apps use OpenGraph metadata to unfurl links.
Technote publishes the following meta tags:
og:titleog:descriptionog:urlog:type(alwaysarticle)og:article:authorog:article:published_timeog:article:modified_time
microformats2 metadata¶
microformats2 is a standard for annotating HTML element that reflect standard document metadata.
The annotations are published as class attributes on HTML elements.
h-entryis applied to the container element for the document (including sidebars).e-contentis applied to the container element for the document’s content.p-summaryis applied to the abstract’s container section.p-authoris applied to the name of each author.dt-updatedis applied to the date element of the last update.dt-publishedis applied to the date element of the original publication date.
Element data attributes¶
For on-page metadata that is not covered by the standards above, Technote annotates on-page metadata as data attributes on HTML elements.
data-technote-source-urlis set to the URL of the source repository for the document (e.g. on GitHub). This data attribute is applied to theaelement that links to the source repository.