Skip to content
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

Add file get content twig extension #479

Open
DiegoPino opened this issue Nov 12, 2024 · 0 comments
Open

Add file get content twig extension #479

DiegoPino opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request IIIF Specs/Manifests/Implementations metadata Meta(l) data Twig Extension Make those flowers reach the sun Twig Twig template processing
Milestone

Comments

@DiegoPino
Copy link
Member

DiegoPino commented Nov 12, 2024

What?

Why would you do that?

Imagine a Twig template that takes 5 minutes to process bc it uses thousands of results from Views and nested. Same as "this call could have been an email", "this twig template result could have been a static file" situation? Maybe attaching a JSONLD to the Object/ADO with a static result of that template is a better choice? But without adding more code to Mirador, etc. One could still serve the EXPOSED endpoint that would "if the JSONLD file is present and attached to the object then deliver its content wrapped around an API ... but if not, process the twig template as usual" type of scenario

Danke

@DiegoPino DiegoPino added enhancement New feature or request Twig Twig template processing metadata Meta(l) data IIIF Specs/Manifests/Implementations Twig Extension Make those flowers reach the sun labels Nov 12, 2024
@DiegoPino DiegoPino added this to the 1.5.0 milestone Nov 12, 2024
@DiegoPino DiegoPino self-assigned this Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request IIIF Specs/Manifests/Implementations metadata Meta(l) data Twig Extension Make those flowers reach the sun Twig Twig template processing
Projects
None yet
Development

No branches or pull requests

1 participant