Init a method for 0045-css recipe. - #268
Draft
markpbaggett wants to merge 1 commit into
Draft
Conversation
glenrobson
reviewed
Mar 11, 2026
| source=f"{base_url}/canvas/p1", | ||
| styleClass="author2highlight", | ||
| selector={"type": "FragmentSelector", "value": "xywh=700,1250,1850,1150"}, | ||
| ) |
Contributor
There was a problem hiding this comment.
del anno1_target.selector.conformsTo
Contributor
There was a problem hiding this comment.
or delattr(p, "age")
delattr(anno1_target.selector, "conformsTo")
glenrobson
reviewed
Mar 11, 2026
| anno_page_id=f"{base_url}/page/p2/1", | ||
| ) | ||
|
|
||
| print(manifest.json(indent=2)) |
Contributor
There was a problem hiding this comment.
if this doesn't work we could take conformsTo out of the JSON
Contributor
|
In the 11th March call we tried to del the conformsTo property so that the recipe matches. Also going to add a warning to the Markdown page to say why we are doing this. ConformsTo is recomened but not manditory. So the cookbook isn't wrong but creating it with iiif-prezi is probably good for most cases. So this is a work around to make the recipes match. |
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.
This is draft until we decide how to deal with cookbook, schema json, and skeleton divergence.