Skip to content

Fix licence in homepage JSON-LD and de-duplicate the graph - #55

Open
arhimede wants to merge 1 commit into
developfrom
fix/index-jsonld-license
Open

Fix licence in homepage JSON-LD and de-duplicate the graph#55
arhimede wants to merge 1 commit into
developfrom
fix/index-jsonld-license

Conversation

@arhimede

@arhimede arhimede commented Aug 1, 2026

Copy link
Copy Markdown
Member

The five SoftwareApplication nodes declared BSD-3-Clause. All five packages are MIT — LICENSE.md and composer.json in each repo, and the shields.io badges on the same page already render MIT.

They were near-identical copies, which is how one wrong licence became five. Now generated from a single products array.

Also in this change:

  • @id uses a fixed canonical origin instead of absolute_url('/'), so entity identities survive the move off new.dotkernel.com
  • each app node gets an @id, author and publisher linking it to the Organization
  • all values go through |json_encode, so Twig autoescape can't turn an apostrophe into ' inside the JSON
  • sameAs drops the site's own URL, adds Packagist and X
  • API description: drops "framework-less" (contradicts "built on Mezzio and Laminas" in the hero)
  • Light description: drops "didactic / for learning purposes"

Verified by rendering through Twig and json_decode: valid JSON, 7 nodes, all licences MIT.

Follow-up needed: the API and Light descriptions now differ from the visible cards in src/App/templates/app/index.html.twig. That file also still shows BSD-3-Clause in the hero. Structured data should match on-page copy, so that template needs the same edits.

The five SoftwareApplication nodes declared BSD-3-Clause; all five packages
are MIT. They were near-identical copies, so they are now generated from one
products array and the licence is set once.

Also: stable @id values instead of absolute_url('/'), each app node linked to
the Organization, all values through |json_encode, updated API and Light
descriptions.
@arhimede arhimede linked an issue Aug 1, 2026 that may be closed by this pull request
@arhimede arhimede mentioned this pull request Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BSD-3 license ???

1 participant