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, Dublin Core, schema.org (as JSON-LD), 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_datecitation_doi(from the doi field)citation_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
Dublin Core metadata#
Dublin Core is a general-purpose bibliographic vocabulary that repository software and metadata harvesters understand.
Technote publishes the following meta tags:
DC.titleDC.creator(one per author)DC.description(the abstract)DC.identifier(the technote’s DOI as ahttps://doi.orgURL, falling back to the canonical URL when the technote has no DOI)DC.date(the creation date, falling back to the updated date)DC.publisher(from the organization field)DC.type(alwaysText)DC.format(alwaystext/html)DC.language(alwaysen)DC.rights(the SPDX license identifier)
schema.org metadata#
Technote publishes a schema.org description of the document as a JSON-LD block in the HTML head (a script element with type="application/ld+json").
Search engines and DOI infrastructure use this structured data to understand the page.
The technote is described as a Report with these properties, when the corresponding metadata is available:
@id(the DOI as ahttps://doi.orgURL, falling back to the canonical URL)identifier(aPropertyValuecarrying the DOI, following the DataCite-to-schema.org crosswalk)name,url,abstract, anddescriptionreportNumber(the technote’s id) andversiondatePublishedanddateModifiedauthor(with ORCiD as@id, email, and affiliations)publisher(from the organization field, with its ROR as@id)license(the URL for the SPDX license identifier)inLanguage(alwaysen)
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.