Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MCR.URIResolver.xslImports.solr-document=%MCR.URIResolver.xslImports.solr-docume
######################################################################
## RSS Feed for journals and series ##
######################################################################

MIR.Metadata.Navigation.SeriesPanel.RSS.Enabled=true
#MCR.LayoutTransformerFactory.Default.Ignore=mycoreobject-rss,%MCR.LayoutTransformerFactory.Default.Ignore%
#DuEPublico.RSS.Generator=DuEPublico\: Duisburg-Essen Publications Online, University of Duisburg-Essen, Germany

Expand Down
9 changes: 6 additions & 3 deletions src/main/resources/xsl/series-panel.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<xsl:param name="WebApplicationBaseURL" />
<xsl:param name="CurrentLang" />
<xsl:param name="ServletsBaseURL" />
<xsl:param name="MIR.Metadata.Navigation.SeriesPanel.RSS.Enabled" />

<xsl:template match="mycoreobject" mode="seriesLayout">
<xsl:apply-templates select="structure/derobjects/derobject[classification[@classid='derivate_types'][@categid='navigation']]/@xlink:href" mode="seriesLayout">
Expand Down Expand Up @@ -45,9 +46,11 @@
<div class="card-body">
<ul>
<xsl:apply-templates select="item" mode="seriesLayout" />
<xsl:call-template name="rssLink">
<xsl:with-param name="rootID" select="$rootID" />
</xsl:call-template>
<xsl:if test="$MIR.Metadata.Navigation.SeriesPanel.RSS.Enabled='true'">
<xsl:call-template name="rssLink">
<xsl:with-param name="rootID" select="$rootID" />
</xsl:call-template>
</xsl:if>
</ul>
</div>

Expand Down