From 3f5febb1f76745a69c397125f9e6c006926e4d72 Mon Sep 17 00:00:00 2001 From: Daniel Messer Date: Mon, 18 Mar 2024 20:58:36 -0500 Subject: [PATCH] Zotero and RDF metadata on item pages. --- TODO.md | 10 ++++++---- itemrecord.php | 22 +++++++++++++++++++++- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/TODO.md b/TODO.md index a921260..3e35b94 100644 --- a/TODO.md +++ b/TODO.md @@ -5,12 +5,14 @@ In no particular order, here is a semi-current list of things to be done in Infopump. --- -[ ] Add an About page - -[ ] Add a citation generator (Chicago, APA, MLA) - [ ] Add share button/link on item page +[x] Add metadata to item records for Zotero and RDF connections + +[x] Add a citation generator (Chicago, APA, MLA) + +[x] Add an About page + [x] Item pages - Add clickable links on Subjects [x] Item pages - Add clickable links on Series diff --git a/itemrecord.php b/itemrecord.php index cdfa765..927a975 100644 --- a/itemrecord.php +++ b/itemrecord.php @@ -191,6 +191,24 @@ while ($row = $subtype->fetchArray()) { + + + '; ?> + + '; ?> + + '; ?> + + fetchArray()) { + $row_id_type = $row['type']; + $row_id_val = $row['val']; + if ($row_id_type == 'isbn') { + echo ''; + } + } + ?> + Item Record: '.$row_title.''; ?> @@ -379,7 +397,9 @@ while ($row = $subtype->fetchArray()) { -
+ + +

Metadata