-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow optional Croissant exporter to replace JSON-LD <head> content #10382
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jp-tosca from discussion in tech hours just now, I'd say this PR is close.
Can you please add a release note snippet?
We might want a different title. "Allow optional Croissant exporter to replace JSON-LD <head>
content"?
@pdurbin done 🚀 |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some suggestions for the release note.
Co-authored-by: Philip Durbin <philip_durbin@harvard.edu>
📦 Pushed preview images as
🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Approved.
I've been running this on my dev3 server and it works fine. The only thing to be aware of is that if the Croissant exporter throws an error, the older format (Schema.org JSON-LD) is shown in the <head>
instead. I think this is ok.
Works great! Merging! |
What this PR does / why we need it:
When the new Croissant PR is ready it will replace the content on the header for LD-JSON, this PR will make that the dataset page check for croissants, and if not found it will provide the old LD-JSON, this will preserve current functionality and allow simply drop the croissant Jar on the exporters folder.
Which issue(s) this PR closes:
Partially closes # #10341
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation: