How to add ISSN metadata to a web page


Inspired by John Hoare at the Dirty Feed blog - I've asked the British Library to assign my blog an International Standard Serial Number (ISSN).

An ISSN is an 8-digit code used to identify newspapers, journals, magazines and periodicals of all kinds and on all media–print and electronic.

creenshot of an email from the British Library. Dear Terence Eden INTERNATIONAL STANDARD SERIAL NUMBER (ISSN) Thank you for your recent enquiry, we have assigned ISSN to the following publication(s): Terence Eden’s blog ISSN 2753-1570 .

Why?

Shut up.

OK. It turns out that lots of people cite my blog in academic papers - so I wanted to make it slightly easier for scholars of the future to use metadata to trace my vast influence on Human civilisation.

How?

I filled in a form on the British Library website. Didn't cost me a penny. Was pretty quick!

Metadata

I can stick a bit of text at the bottom of each page with the ISSN - but that doesn't make it easily discoverable by automated tools. How can I make an ISSN machine readable? There are a few ways.

Meta Elements

There are a limited list of official <meta> names. These are extensible, and Google Scholar recommends citation_issn. Which is as simple as adding the following to your page's <head>:

HTML HTML<meta name="citation_issn" content="1234-5678">

There alternatives though.

Schema.org

In recent years, Schema.org has become the dominant form for representing metadata on the web. There are two ways you can implement it:

JSON-LD

JSON Linked Data involves adding a scrap of JavaScript to your HTML, like this:

HTML HTML<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Blog",
  "issn": "1234-5678"
}
</script>

If you don't want to add a separate script, you can add the data inline using...

Microdata

The microdata specification uses the exact same data as Schema.org - but allows you to add the data directly into the web page like this:

<body itemscope itemtype="https://schema.org/Blog">
   ...
   ISSN <span itemprop="issn">1234-5678</span>

That's probably the easiest way to do it.

The ISSN registry allows you to look up any ISSN with a simple URL. Mine is at https://portal.issn.org/resource/ISSN/2753-1570.

Belt and braces

So, this is what I've ended up doing - cramming everything in all at once.

HTML HTML<head>
   ...
   <meta name="citation_issn" content="1234-5678">
</head>
<body itemscope itemtype="https://schema.org/Blog">
   ...
   ISSN <a href="https://portal.issn.org/resource/ISSN/1234-5678"><span itemprop="issn">1234-5678</span></a>

Any other ways?

What am I missing? Can someone smarter than I tell me that there's an easier / better / more interoperable way to do this?


Share this post on…

  • Mastodon
  • Facebook
  • LinkedIn
  • BlueSky
  • Threads
  • Reddit
  • HackerNews
  • Lobsters
  • WhatsApp
  • Telegram

5 thoughts on “How to add ISSN metadata to a web page”

Trackbacks and Pingbacks

  1. Subiecte principale: Macbook M1 cu probleme, iOS 15, Microsoft renunță la parole, misiunea spațială Insipration4 Gazde: Vlad Bănică și Manuel Cheța Ne găsești și pe iTunes, Podbean, YouTube și Reddit. Știri – Business Insider: Cum marile companii cheltuie bani ca să arunce vina pe oameni – Tom’s Hardware: Apple are din nou probleme din cauza ecranelor Macbook M1 – The Verge: iOS 15 a sosit! – Bleeping Computer: Microsoft renunță la parole – Space com: misiunea Insipiration4 explicată – ZD Net: ExpressVPN, trust, but verify —– – The Verge: Amazon a banat 600 de firme chineze pentru review fraud – Tom’s Hardware: Toshiba are HDD de 18TB – Terence Eden: cum poți primi număr ISSN pentru blogul tău dacă stai în UK – Videotutorial ro: cum să citești mesaje Whatsapp, dar să nu se vadă confirmarea de citire imediat Extras Unde ne găsești: – Vlad Bănică pe Diasporacast – donează tehnica nefolosită via ceasulbun[at]stareanatiei.ro – Manuel Cheța pe manuelcheța.com Share this:TwitterFacebook

What are your reckons?

All comments are moderated and may not be published immediately. Your email address will not be published.

Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <p> <pre> <br> <img src="" alt="" title="" srcset="">