A Humble Proposal for Extracting Content Source Entities #235
tomerlichtash
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently each source has a reference attached to an actual markdown file.
The problem as we currently see it is that we want to reference multiple items to a single entity, and that entity should also present metadata. e.g. Two references to Librazette, while the Librazette entity reveals its own cover image, but also allowing both references to present their own cover photo, without overriding a single cover photo opportunity.
In order to accomplish that, I propose the following structure:
Parent
refers to a bibliographic source (which might have multiple references to it), e.g.:Librazette
.ref
represents a singular reference to the parent source (e.g. An article, an ad, a piece of some sort).id
is similar to the folder they reside in.The parent and ref
metadata
is described viaindex.[locale].md
, like so:Parent:
or, for Ref:
A
ref
entity can have common props for multilingual entries, soref
can also have data described inmeta.md
, like so:Another special feature for
ref
is describing assets viaassets.md
, which contains a URL to a media assets. This can be optimized soassets.md
would reference to assets IDs, once we get those in place, somehow, but currently the description is via a direct URL, like so:The idea here is that different languages might want to refer to different assets, and probably will have to use different label captions.
These are my initial thoughts on the matter. A draft for this structure can be found in this branch: export-source-entity.
Beta Was this translation helpful? Give feedback.
All reactions