From 30841bce75e0128ec087ad843fb5ab25394f3f75 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 27 Jan 2015 11:20:51 -0500 Subject: [PATCH] Added more RIS fields. - Thanks to Johannes Ruscheinski for the code. --- .../AbstractBase/export-ris.phtml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/themes/root/templates/RecordDriver/AbstractBase/export-ris.phtml b/themes/root/templates/RecordDriver/AbstractBase/export-ris.phtml index 11b26da93e9..0aaceb66d4a 100644 --- a/themes/root/templates/RecordDriver/AbstractBase/export-ris.phtml +++ b/themes/root/templates/RecordDriver/AbstractBase/export-ris.phtml @@ -108,6 +108,25 @@ if (is_array($languages)) { } } +$genres = $this->driver->tryMethod('getGenres'); +if (is_array($genres)) { + foreach ($genres as $genre) { + echo 'M3 - ' . "$genre\r\n"; + } +} + +$topics = $this->driver->tryMethod('getTopics'); +if (is_array($topics)) { + foreach ($topics as $topic) { + echo 'KW - ' . "$topic\r\n"; + } +} + +$start_page = $this->driver->tryMethod('getContainerStartPage'); +if (!empty($start_page)) { + echo 'SP - ' . "$start_page\r\n"; +} + $isbns = $this->driver->tryMethod('getISBNs'); if (is_array($isbns)) { foreach ($isbns as $isbn) { -- GitLab