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

Also support antisymmetric relationships #314

Closed
naturallymitchell opened this issue Jun 5, 2018 · 7 comments
Closed

Also support antisymmetric relationships #314

naturallymitchell opened this issue Jun 5, 2018 · 7 comments

Comments

@naturallymitchell
Copy link

naturallymitchell commented Jun 5, 2018

Currently, in order to represent data relationships, users can only use quasiordered sets, ie taxonomies or sections, with predefined structure. Support for more intuitive relationships and with ease of ad-hoc structuring could come with partial ordered sets, using references. Hierarchies would still work using a common codebase, simply by continuing to model data types without their antisymmetric relation and using similar template logic.

This provides a deep fix for #246.

@Keats
Copy link
Collaborator

Keats commented Jun 6, 2018

I don't believe this would fix #246 as you won't be able to paginate the taxonomies pages or provide a different RSS feed for each?

@naturallymitchell
Copy link
Author

naturallymitchell commented Jun 6, 2018

I don't know about the pagination, but for RSS feeds, it works the same as the page template right? So, instead of outputting a page, you would output a feed with all pages that reference a term.

Here's the relevant Tera code:
https://github.com/3Dcube/gutenberg-references-demo/blob/master/templates/page.html#L12

Taxonomy terms would need to become like regular, user editable pages. See albums for example:
https://github.com/3Dcube/gutenberg-references-demo/tree/master/content

@Keats
Copy link
Collaborator

Keats commented Jun 13, 2018

The issue with that afaik is that the reference pages (including RSS) will need to be created manually . That was my first suggestion for custom taxonomies but I can see how having the pages be set-up automatically would be a big advantage

@Keats
Copy link
Collaborator

Keats commented Jun 20, 2018

@mitchtbaum did I miss something or is my last post correct?

@naturallymitchell
Copy link
Author

@Keats I'm not sure what you mean by reference pages. References are fields, so pages that have them would reuse the same template.

@Keats
Copy link
Collaborator

Keats commented Jun 24, 2018

You are saying it fixes the #246 issue, which contains auto-generated RSS and list/individual taxonomies pages but I don't see how #315 would fix that. It seems to be kind of orthogonal to me, you would use references if you want to mention some other related articles/pages on a page but it doesn't do the same job as taxonomies

@Keats
Copy link
Collaborator

Keats commented Mar 26, 2019

@naturallymitchell reviving this issue and the PR associated with it.
Do you still have this issue with the more recent versions of Zola or did you find a workaround?

@Keats Keats closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants