Terence Eden. He has a beard and is smiling.

Terence Eden’s Blog

Theme Switcher:

Convert DOI to a HTML5 / Schema citation

· 650 words · Viewed ~214 times


The DOI logo.

This is a quick and dirty way to turn a DOI (Digital Object Identifiers for academic papers) into an HTML & Microdata citation. I use this to power my Citations page. Schema.org is a Microdata standard which allows machines to read your HTML and create semantic relations between documents. Here's a minimum viable citation: <blockquote itemprop="citation" itemscope…

Thames Water don't get password security

· 1 comment · 350 words · Viewed ~2,963 times


Thames Water seem to love giving me a new account number each month. That would be fine, but each time they do, I have to manually add that number to my online account. I'm bored of being their data-entry monkey. So, when they rang today, I told them that I expected them to update my account. We had the normal back-and-forth and "let me speak to your manager" that accompanies anything deviating …

When is an Electric Car not an Electric Car? When TfL say so!

· 500 words · Viewed ~252 times


TfL screen saying the vehicle is exempt.

Another middle-class rant about an easily solved problem. Or, how a software bug nearly cost me £80. Things you should know... London has a Congestion Zone. You have to pay £11 to drive through it. If you have an EV (Electric Vehicle), you don't have to pay the Congestion Charge. Easy, right? Not quite. In order to get the 100% discount, you have to register your vehicle and pay a £10 per …

Use-cases wanted! Adding dietary requirements to Schema.org/Person

· 6 comments · 450 words · Viewed ~229 times


Vegetarian sashimi on a bed of ice.

I want Schema.org to add dietary requirements to the Person specification. And I need your help! Background Schema.org is a metadata standard. You can include it on webpages to create structured, machine-readable data. Here's a sample way of representing a Person: { "@context": "https://schema.org/", "@type": "Person", "name": "Albert Einstein", "hasOccupation": [ { "@type": …

Book Review: Zero Sum Game by S. L. Huang

· 100 words


A bullet hole in a window.

A blockbuster, near-future science fiction thriller, S.L. Huang's Zero Sum Game introduces a math-genius mercenary who finds herself being manipulated by someone possessing unimaginable power... Ridiculously campy fun. Combat mathematician uses her smarts - and her guns - to chase baddies throughout America. Bombs, vector calculus, and hard-boiled detectives. Similar to The Chemical Detective …