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.
|
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
|
[ ] 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 Subjects
|
||||||
|
|
||||||
[x] Item pages - Add clickable links on Series
|
[x] Item pages - Add clickable links on Series
|
||||||
|
@ -191,6 +191,24 @@ while ($row = $subtype->fetchArray()) {
|
|||||||
|
|
||||||
<meta name="twitter:card" content="summary" />
|
<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>'; ?>
|
<?php echo '<title>Item Record: '.$row_title.'</title>'; ?>
|
||||||
<!-- Favicon-->
|
<!-- Favicon-->
|
||||||
<link rel="icon" type="image/x-icon" href="item/assets/favicon.ico" />
|
<link rel="icon" type="image/x-icon" href="item/assets/favicon.ico" />
|
||||||
@ -379,7 +397,9 @@ while ($row = $subtype->fetchArray()) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
</div> <!-- END CITATIONS -->
|
</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>
|
<h3 class="fw-bolder"><u>Metadata</u></h3>
|
||||||
<p class="metadata"><br />
|
<p class="metadata"><br />
|
||||||
<?php
|
<?php
|
||||||
|
Reference in New Issue
Block a user