Repository navigation
M28, second part: JSON and Dublin Core for public items - #75
Merged
Merged
Conversation
/items/{id}.json and DC.* tags plus an alternate link on the item page, made from
an allow-listed PublicItemRecord that follows the link-preview rules.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Signed-off-by: Seb H. <[email protected]>
Say in security.md and the changelog that the JSON and its link stay with search engines off, and that a 200 can outlive a take-down by ten minutes. Test hostile and non-Latin text in the tags and the JSON, and that only Ready, unbinned files are listed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Seb H. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
/items/{id}.jsonfor every public item, plus<link rel="alternate" type="application/json">andDC.*meta tags on the item page. Plan:docs/plan-m28-toward-1-0.md, Part 2.PublicItemRecord), never a serialised entity. Starts fromVisibleItemsandVisibleMediaonly.DC.descriptionare left out when the item may not travel; a record-only item lists no files.Cache-Control: public, max-age=600, with no ETag or Last-Modified. Not in the sitemap.X-Robots-Tag: noindexand the DC tags are left out; the JSON is deliberately not switched off (said insecurity.md).Checks
Release build clean; 581 passed / 6 skipped / 0 failed; browser tests 210/210; gitleaks clean; privacy review found no leak (its concerns are addressed: hostile-text, file-state tests, docs).
Not tested here
Real phones, screen readers, how other tools read the tags.
🤖 Generated with Claude Code