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

Structured data from the included page #270

Open
Juergen-aus-Zuendorf opened this issue Aug 17, 2021 · 2 comments
Open

Structured data from the included page #270

Juergen-aus-Zuendorf opened this issue Aug 17, 2021 · 2 comments

Comments

@Juergen-aus-Zuendorf
Copy link

Hi,

following suggestion:
If you have a page with structured data (plugin data or struct) you can include this by the "page" or "section" command into another page. Unfortunately, the structured data is lost because it belongs to the original page.
My idea is that there would be a flag, perhaps called "embeddata" that decides if the structured data used from the current page or from the original page.

Best regards
Juergen

@Klap-in
Copy link
Member

Klap-in commented Aug 17, 2021

Why are you interested in duplicated data? Sounds for me that in your solution, the same data will be included for the original page and the other page(s) with the include.

This is a duplicate of #83?

@Juergen-aus-Zuendorf
Copy link
Author

Let's have a page with struct data. My intention now is to make an aggregation on this page where I use the possibility to filter with data values of exactly this page (functionality of the struct plugin, syntax $STRUCT.<schema>.<field>$). And again, this page is then included on other pages with {{page>...}}.
But at the moment on these other pages the filtering of the aggregation fails.

One concrete example is that there exist some pages with the mentioned aggregations. And these pages should be concatenated as PDF file by the bookcreator plugin. But it does not work.

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

No branches or pull requests

2 participants