"Structured data"


Qwwwik version 2.0 begins to add just a little bit of 'structured data', if a Qwwwik admin user chooses to when creating or updating a page. In this instance, 'bit' really does mean bit – specifically Open Graph. It started as 'structured data' for Facebook but is now used by other services too. Open Graph is a type of metadata within the head of a web page, the aim being to represent the content of any particular page in 'rich preview' form. For this page the Open Graph markup is:

<meta property="og:url" content="https://qwwwik.com/structured-data">
<meta property="og:title" content="Structured data">
<meta property="og:type" content="article">
<meta property="og:description" content="Whatever you choose to write.">
<meta property="og:image" content="https://qwwwik.com/img/og.png">
<meta property="og:image:secure_url" content="https://qwwwik.com/img/og.png">
<meta property="og:image:width" content="200">
<meta property="og:image:height" content="200">

Prior to version 2.0 all the meta properties were generated automatically by Qwwwik, using for example the already existing page heading as og:title, and a standard image og.png as og:image and og:image:secure_url.

Optional feature

New in version 2.0 is an extra input box in /admin/pages where you can write "Whatever you choose to write" up to a maximum of 150 characters. This text is stored on the site and may as well be used as a meta name="description", again in the document head. One could say the whole of the document head is structured data but that isn't really what is meant by it. To know more, read Google's introduction to structured data markup in Google Search.

As "Whatever you choose to write" is used not only for Open Graph but as a meta name="description" it's worth reading about snippets in Google search results »


As an example, using Open Graph on one of my websites that uses the same system as Qwwwik, the 'rich preview' looks like this:

The image is customised and the Open Graph added description is "Limited and Open Edition archival art prints of hand-drawn contemporary images by British artist Patrick Taylor" (and Bingo).


Really useful structured data markup is one of the next aims for Qwwwik.

See information

Page last modified: 15 July, 2024
Search | Legal | Qwwwik

Info