{"schema":"clkt-record-v1","version":1,"app":{"name":"CLKT","version":"1.1.0","dispatcher":"clkt-openclaw-agent"},"source":{"type":"wordpress-post","url":"https://getclkt.com/2026/07/15/how-we-built-an-open-attribution-layer-for-wordpress/","domain":"getclkt.com","postId":75,"postType":"post","slug":"how-we-built-an-open-attribution-layer-for-wordpress","title":"How We Built an Open Attribution Layer for WordPress","publishedAt":"2026-07-15T16:14:57Z","modifiedAt":"2026-07-15T16:14:57Z"},"content":{"contentType":"text/html","encoding":"utf-8","sha256":"bc2687d83a23559934f5e348cbbf9f37b4ddae622b8430f1d928f984852a1710","html":"<p>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&#x27;s no structured way for the downstream work to link back to you — or for you to declare how your work can be reused.</p>\n<p>We just shipped the foundation to change that in CLKT 1.1.0.</p>\n<h2>The problem with attribution on the web</h2>\n<p>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.</p>\n<p>None of this is structured. None of it is durable. And none of it travels with the content when it moves between platforms.</p>\n<p>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.</p>\n<h2>What we built</h2>\n<p>Three things landed in CLKT 1.1.0:</p>\n<h3>1. License and derivedFrom fields in the CLKT Record</h3>\n<p>Every CLKT upload creates a <code>clkt-record-v1</code> JSON object stored on Arweave. We added two optional top-level fields:</p>\n<p><strong><code>license</code></strong> declares reuse terms using an SPDX identifier:</p>\n<pre class=\"wp-block-code\"><code>{\n  &quot;license&quot;: {\n    &quot;spdx&quot;: &quot;CC-BY-4.0&quot;,\n    &quot;url&quot;: &quot;https://creativecommons.org/licenses/by/4.0/&quot;,\n    &quot;note&quot;: &quot;Attribution required&quot;\n  }\n}</code></pre>\n<p><strong><code>derivedFrom</code></strong> links to upstream works:</p>\n<pre class=\"wp-block-code\"><code>{\n  &quot;derivedFrom&quot;: [\n    {\n      &quot;relationship&quot;: &quot;translation&quot;,\n      &quot;txId&quot;: &quot;abc123...&quot;,\n      &quot;url&quot;: &quot;https://example.com/original&quot;,\n      &quot;title&quot;: &quot;The Original Post&quot;,\n      &quot;author&quot;: &quot;Jane Doe&quot;\n    }\n  ]\n}</code></pre>\n<p>The <code>relationship</code> field supports <code>remix</code>, <code>translation</code>, <code>response</code>, <code>fork</code>, and <code>citation</code>. When a <code>txId</code> is present, the link points to another Arweave record — creating a verifiable chain of provenance that doesn&#x27;t depend on any URL staying alive.</p>\n<p>These fields are also emitted as Arweave transaction tags (<code>License-SPDX</code>, <code>Derived-From</code>, <code>Derived-From-Relationship</code>), making them queryable without fetching the full record.</p>\n<h3>2. A collection feed via Arweave GraphQL</h3>\n<p>CLKT records are queryable. We built a feed client that queries the Arweave GraphQL endpoint (Goldsky primary, arweave.net fallback) to find records by:</p>\n<ul>\n<li><strong>Collector</strong> — every CLKT record from a specific wallet</li>\n<li><strong>Domain</strong> — every record from a specific WordPress site</li>\n<li><strong>Collection ID</strong> — records grouped by site identity</li>\n<li><strong>Topic</strong> — records tagged with specific categories</li>\n</ul>\n<pre class=\"wp-block-code\"><code>import { fetchFeed } from &#x27;./lib/arweave-feed.js&#x27;;\n\nconst feed = await fetchFeed(\n  { domain: &#x27;www.divydovy.com&#x27; },\n  { pageSize: 10 }\n);\n\n// feed.items: array of CLKT record summaries\n// feed.hasNextPage: boolean\n// feed.cursor: pass to next call for pagination</code></pre>\n<p>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.</p>\n<p><code>fetchRecord(txId)</code> retrieves the complete CLKT Record JSON. <code>fetchVersionChain(txId)</code> follows the version chain to return all versions of a record, oldest first.</p>\n<h3>3. Frontend attribution on WordPress posts</h3>\n<p>When a post has license or derivedFrom metadata, the CLKT frontend section now displays it:</p>\n<ul>\n<li>A license badge linked to the license URL (e.g. &quot;CC-BY-4.0&quot;)</li>\n<li>Derived-from references showing the relationship type, linked title, and author</li>\n</ul>\n<p>This renders automatically below the existing &quot;Permanent Record&quot; heading. No configuration needed — if the metadata exists, it shows. If it doesn&#x27;t, nothing changes.</p>\n<h2>Why this matters</h2>\n<p>These three pieces create a loop:</p>\n<ol>\n<li><strong>Author publishes</strong> with license terms and optional derivedFrom links</li>\n<li><strong>Record is stored</strong> on Arweave with structured tags</li>\n<li><strong>Anyone can query</strong> the feed to discover records</li>\n<li><strong>Attribution is visible</strong> on the source site and verifiable on Arweave</li>\n</ol>\n<p>A translator can publish their version with <code>derivedFrom</code> pointing to the original&#x27;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.</p>\n<p>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.</p>\n<h2>What&#x27;s next</h2>\n<p>The schema is ready. The feed works. The frontend renders. The next steps are about making these fields easy to set:</p>\n<ul>\n<li>A metabox UI for selecting a license and adding derivedFrom references</li>\n<li>The hosted collect app (<code>app.getclkt.com</code>) consuming the feed</li>\n<li>Browser extension compatibility — collecting content from any page, not just WordPress</li>\n</ul>\n<p>The goal hasn&#x27;t changed: save forever, collect together. Now the &quot;together&quot; part has structure.</p>\n<hr>\n<p><em>CLKT is free and open source. <a href=\"https://wordpress.org/plugins/clkt-save-forever-collect-together/\">Install it from WordPress.org</a> or <a href=\"https://github.com/divydovy/clkt-save-forever-collect-together\">view the source on GitHub</a>.</em></p>\n"},"collector":{"namespace":"eip155","chainId":8453,"address":"0x6c938581ad8b4e83fe0972b7d5942d0b0d669449","caip10":"eip155:8453:0x6c938581ad8b4e83fe0972b7d5942d0b0d669449"},"collection":{"id":"wordpress-site:getclkt.com"},"restore":{"manifest":"embedded"}}