How We Built an Open Attribution Layer for WordPress
WordPress powers 40% of the web. Almost none of that content carries machine-readable attribution, license terms, or provenance data. When your post gets cited, translated, or remixed, there's no structured way for the downstream work to link back to you — or for you to declare how your work can be reused.
We just shipped the foundation to change that in CLKT 1.1.0.
The problem with attribution on the web
Attribution today is a social convention enforced by nothing. A blogger quotes your post and adds a link. A translator copies your article and maybe credits you in a footer. A researcher cites your investigation and hopes the URL still works in five years.
None of this is structured. None of it is durable. And none of it travels with the content when it moves between platforms.
The Arweave permanent web gives us durability — content that outlives any single server. But durability without attribution is just a better archive. We wanted records that carry their own provenance.
What we built
Three things landed in CLKT 1.1.0:
1. License and derivedFrom fields in the CLKT Record
Every CLKT upload creates a clkt-record-v1 JSON object stored on Arweave. We added two optional top-level fields:
license declares reuse terms using an SPDX identifier:
{
"license": {
"spdx": "CC-BY-4.0",
"url": "https://creativecommons.org/licenses/by/4.0/",
"note": "Attribution required"
}
}
derivedFrom links to upstream works:
{
"derivedFrom": [
{
"relationship": "translation",
"txId": "abc123...",
"url": "https://example.com/original",
"title": "The Original Post",
"author": "Jane Doe"
}
]
}
The relationship field supports remix, translation, response, fork, and citation. When a txId is present, the link points to another Arweave record — creating a verifiable chain of provenance that doesn't depend on any URL staying alive.
These fields are also emitted as Arweave transaction tags (License-SPDX, Derived-From, Derived-From-Relationship), making them queryable without fetching the full record.
2. A collection feed via Arweave GraphQL
CLKT records are queryable. We built a feed client that queries the Arweave GraphQL endpoint (Goldsky primary, arweave.net fallback) to find records by:
- Collector — every CLKT record from a specific wallet
- Domain — every record from a specific WordPress site
- Collection ID — records grouped by site identity
- Topic — records tagged with specific categories
import { fetchFeed } from './lib/arweave-feed.js';
const feed = await fetchFeed(
{ domain: 'www.divydovy.com' },
{ pageSize: 10 }
);
// feed.items: array of CLKT record summaries
// feed.hasNextPage: boolean
// feed.cursor: pass to next call for pagination
Each feed item includes the title, source URL, collector address, content hash, version number, license, and timestamp — extracted from Arweave tags without fetching the full record payload.
fetchRecord(txId) retrieves the complete CLKT Record JSON. fetchVersionChain(txId) follows the version chain to return all versions of a record, oldest first.
3. Frontend attribution on WordPress posts
When a post has license or derivedFrom metadata, the CLKT frontend section now displays it:
- A license badge linked to the license URL (e.g. "CC-BY-4.0")
- Derived-from references showing the relationship type, linked title, and author
This renders automatically below the existing "Permanent Record" heading. No configuration needed — if the metadata exists, it shows. If it doesn't, nothing changes.
Why this matters
These three pieces create a loop:
- Author publishes with license terms and optional derivedFrom links
- Record is stored on Arweave with structured tags
- Anyone can query the feed to discover records
- Attribution is visible on the source site and verifiable on Arweave
A translator can publish their version with derivedFrom pointing to the original's Arweave transaction. A researcher can cite a post knowing the citation target is permanent. A reader can verify the license terms directly from the Arweave record.
None of this requires a central registry, an API key, or a platform that might shut down. The attribution lives in the record itself, on permanent storage.
What's next
The schema is ready. The feed works. The frontend renders. The next steps are about making these fields easy to set:
- A metabox UI for selecting a license and adding derivedFrom references
- The hosted collect app (
app.getclkt.com) consuming the feed - Browser extension compatibility — collecting content from any page, not just WordPress
The goal hasn't changed: save forever, collect together. Now the "together" part has structure.
CLKT is free and open source. Install it from WordPress.org or view the source on GitHub.
Leave a Reply