Skip to content

Init a method for 0045-css recipe. - #268

Draft
markpbaggett wants to merge 1 commit into
iiif-prezi:mainfrom
markpbaggett:recipe-0045-css
Draft

Init a method for 0045-css recipe.#268
markpbaggett wants to merge 1 commit into
iiif-prezi:mainfrom
markpbaggett:recipe-0045-css

Conversation

@markpbaggett

Copy link
Copy Markdown
Member

This is draft until we decide how to deal with cookbook, schema json, and skeleton divergence.

source=f"{base_url}/canvas/p1",
styleClass="author2highlight",
selector={"type": "FragmentSelector", "value": "xywh=700,1250,1850,1150"},
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

del anno1_target.selector.conformsTo

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or delattr(p, "age")

delattr(anno1_target.selector, "conformsTo")

anno_page_id=f"{base_url}/page/p2/1",
)

print(manifest.json(indent=2))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this doesn't work we could take conformsTo out of the JSON

@glenrobson

Copy link
Copy Markdown
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.

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