Skip to content

Conversation

@BigBlueHat
Copy link
Member

  • Load JSON-LD from hash fragments.
  • Change how popups are attached.
  • Reduce size of shortcuts button.
  • Add permalink popup & copy button.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 15, 2025

Deploying json-ld-org with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8faa9fb
Status: ✅  Deploy successful!
Preview URL: https://9b524822.json-ld-org.pages.dev
Branch Preview URL: https://add-permalink.json-ld-org.pages.dev

View logs

@BigBlueHat
Copy link
Member Author

BigBlueHat commented Aug 15, 2025

Here's a test URL:
https://add-permalink.json-ld-org.pages.dev/playground/next/#json-ld=%7B%22%40context%22%3A%7B%22gr%22%3A%22http%3A%2F%2Fpurl.org%2Fgoodrelations%2Fv1%23%22%2C%22pto%22%3A%22http%3A%2F%2Fwww.productontology.org%2Fid%2F%22%2C%22foaf%22%3A%22http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%22%2C%22xsd%22%3A%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%22%2C%22foaf%3Apage%22%3A%7B%22%40type%22%3A%22%40id%22%7D%2C%22gr%3AacceptedPaymentMethods%22%3A%7B%22%40type%22%3A%22%40id%22%7D%2C%22gr%3AhasBusinessFunction%22%3A%7B%22%40type%22%3A%22%40id%22%7D%2C%22gr%3AhasCurrencyValue%22%3A%7B%22%40type%22%3A%22xsd%3Afloat%22%7D%7D%2C%22%40id%22%3A%22https%3A%2F%2Fexample.org%2Fcars%2Ffor-sale%23tesla%22%2C%22%40type%22%3A%22gr%3AOffering%22%2C%22gr%3Aname%22%3A%22Used+Tesla+Roadster%22%2C%22gr%3Adescription%22%3A%22Need+to+sell+fast+and+furiously%22%2C%22gr%3AhasBusinessFunction%22%3A%22gr%3ASell%22%2C%22gr%3AacceptedPaymentMethods%22%3A%22gr%3ACash%22%2C%22gr%3AhasPriceSpecification%22%3A%7B%22gr%3AhasCurrencyValue%22%3A%2285000%22%2C%22gr%3AhasCurrency%22%3A%22USD%22%7D%2C%22gr%3Aincludes%22%3A%7B%22%40type%22%3A%5B%22gr%3AIndividual%22%2C%22pto%3AVehicle%22%5D%2C%22gr%3Aname%22%3A%22Tesla+Roadster%22%2C%22foaf%3Apage%22%3A%22https%3A%2F%2Fwww.teslamotors.com%2Froadster%22%7D%7D&startTab=tab-expanded

Things still needed include:

  • handling/setting the context parameter
  • warning if the document is too large
  • (maybe) find a different URL shortening service to use (...or add one into json-ld.org?)

@BigBlueHat BigBlueHat requested a review from dlongley November 21, 2025 20:57
@BigBlueHat BigBlueHat changed the base branch from main to update-all-the-things November 21, 2025 21:09
Base automatically changed from update-all-the-things to main November 21, 2025 22:19
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.

2 participants