From 0d8f00b2d768e82eefd8365fb5c3b331fb48db57 Mon Sep 17 00:00:00 2001 From: SamuelOPH <samueloph@gmail.com> Date: Fri, 11 Dec 2015 12:58:24 -0200 Subject: [PATCH] Catches description using DC This should make VuFind stores description of everything harvested using ojs.xsl. Altough It looks like using nlm is better with OJS, I think it would be nice to improve this method too. --- import/xsl/ojs.xsl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/import/xsl/ojs.xsl b/import/xsl/ojs.xsl index 16278f307cf..b817e0728fa 100644 --- a/import/xsl/ojs.xsl +++ b/import/xsl/ojs.xsl @@ -94,6 +94,13 @@ <xsl:value-of select="php:function('VuFind::stripArticles', string(//dc:title[normalize-space()]))"/> </field> </xsl:if> + + <!-- DESCRIPTION --> + <xsl:if test="//dc:description"> + <field name="description"> + <xsl:value-of select="//dc:description" /> + </field> + </xsl:if> <!-- PUBLISHER --> <xsl:if test="//dc:publisher[normalize-space()]"> -- GitLab