cd /news/structured-data/relicensing-to-cc-by-sa-and-making-i… Β· home β€Ί topics β€Ί structured-data β€Ί article
[ARTICLE Β· art-173760] src=shkspr.mobi β†— pub= topic=structured-data verified=true sentiment=↑ positive

Relicensing to CC BY-SA and making it visible in Schema metadata

Terence Eden relicensed his blog to CC BY-SA and published a minimum viable Schema.org markup pattern for declaring per-post copyright licences to machines. The example uses a BlogPosting itemtype with itemprop=license linking to the licence URL and itemprop=copyrightNotice on an image whose alt text reads "πŸ„― CC BY-SA", alongside an author who is also the copyrightHolder, and Eden notes the structure allows different copyright and copyleft licences to be assigned to different parts of the same page. The post also covers the HTML link rel="license" attribute as a less specific alternative that requires a visitor to interpret the linked page.

key takeaway

Mark up each post as a schema.org BlogPosting with itemprop=license pointing at the licence URL and itemprop=copyrightNotice on the licence image, so machines read the licence without visiting a separate copyright page.

by read1 min views2 publishedNov 21, 2026

How do you make it clear what copyright licence a blog post uses? I know in our wonderful AI-powered future that copyright and copyleft are but a distant memory. But some of us still believe it's worth making these things clear to both men and machines.

The first port of call is the page's metadata. Using the rel attribute. Placing something like this in your page's <head> indicates that the copyright information can be found at a specific URl.

<link rel="license" href="https://example.com/copyright">

But that's not overly specific. Someone (or something) has to visit that website and then interpret what it says. How about we use some fancy Schema.org metadata to make things slightly clearer?

Here's a minimum viable example you can paste into the validator:

<body itemscope itemtype=https://schema.org/Blog>
    <main itemprop=blogPost itemscope itemtype=https://schema.org/BlogPosting>
        <article>
            <span itemprop="author copyrightHolder"
                  itemscope 
                  itemtype=https://schema.org/Person>
                <span itemprop=name>Terence Eden</span>
            </span>
            <a href=https://shkspr.mobi/blog/copyright-and-copyleft/ itemprop=license>
                <img alt="πŸ„― CC BY-SA" 
                     content="Creative Commons Attribution ShareAlike" 
                     itemprop=copyrightNotice 
                     src="https://example.com/cc-by-sa.svg">
            </a>

That says this website is a blog. The <main> element is a blog post. The article has an author who is also the copyright holder (they may be two different entities). The link is to the licence URl. The image shows the copyright notice with human readable text also available.

It looks like this to a machine:

This sort of structure will allow you to assign different copyright and copyleft licences to different parts of the same page.

In other news, this blog is now CC BY-SA!

── more in #structured-data 4 stories Β· sorted by recency
── more on @terence eden 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/relicensing-to-cc-by…] indexed:0 read:1min 2026-11-21 Β· β€”