Zotero and RDF metadata on item pages.
This commit is contained in:
10
TODO.md
10
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
|
||||
|
@ -191,6 +191,24 @@ while ($row = $subtype->fetchArray()) {
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
||||
<!-- Zotero and RDF Related Metadata -->
|
||||
|
||||
<meta name="citation_title" content=<?php echo '"'.$row_title.'" />'; ?>
|
||||
|
||||
<meta name="citation_authors" content=<?php echo '"'.$row_author_sort.'" />'; ?>
|
||||
|
||||
<meta name="citation_publisher" content=<?php echo '"'.$row_publisher.'" />'; ?>
|
||||
|
||||
<?php
|
||||
while ($row = $identifiers->fetchArray()) {
|
||||
$row_id_type = $row['type'];
|
||||
$row_id_val = $row['val'];
|
||||
if ($row_id_type == 'isbn') {
|
||||
echo '<meta name="citation_isbn" content="'.$row_id_val.'" />';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php echo '<title>Item Record: '.$row_title.'</title>'; ?>
|
||||
<!-- Favicon-->
|
||||
<link rel="icon" type="image/x-icon" href="item/assets/favicon.ico" />
|
||||
@ -379,7 +397,9 @@ while ($row = $subtype->fetchArray()) {
|
||||
</script>
|
||||
|
||||
</div> <!-- END CITATIONS -->
|
||||
<div class="col-md-6"> <!-- BEGIN METADATA -->
|
||||
|
||||
<!-- BEGIN METADATA -->
|
||||
<div class="col-md-6">
|
||||
<h3 class="fw-bolder"><u>Metadata</u></h3>
|
||||
<p class="metadata"><br />
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user