Linked data-style entities? #150
-
Hi there! Is it possible to have a metadata field consist of named entities, such that à page could be created for those entities with additional properties? For instance, "Tim Alamenciak" could have a page with additional metadata like my ORCID, affiliation, other items in the collection, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@timalamenciak yeah, it is possible with some customization. We have a number of collections that use what we call a "glossary" approach (for lack of a better term), where there is the main Item metadata csv (each row generates an Item page), and an additional glossary csv (each row generates a glossary term page). We tweak the metadata display on the Item page to add links to the related Glossary pages. For example, in HJCCC the main Item metadata generates the Browse and Item pages, and a separate csv generates the Glossary page and glossary term pages. On the Item pages, for the metadata that relate to a glossary term, the term links to the glossary term page. The links between the two are created by using keys that match between the two spreadsheets. Using Liquid you can look up the information in the other spreadsheet to pull it into the page being generated. You can use the multiple csvs in "_data" kind of like a database with linked keys. And by tweaking the page_gen settings in _config.yml you can generate pages from multiple csvs. |
Beta Was this translation helpful? Give feedback.
@timalamenciak yeah, it is possible with some customization. We have a number of collections that use what we call a "glossary" approach (for lack of a better term), where there is the main Item metadata csv (each row generates an Item page), and an additional glossary csv (each row generates a glossary term page). We tweak the metadata display on the Item page to add links to the related Glossary pages.
For example, in HJCCC the main Item metadata generates the Browse and Item pages, and a separate csv generates the Glossary page and glossary term pages. On the Item pages, for the metadata that relate to a glossary term, the term links to the glossary term page.
e.g. this Item, https://w…