1
0
mirror of https://github.com/aureliendavid/rsspreview.git synced 2025-08-22 19:28:39 +00:00

added support for dc:creator (#43)

This commit is contained in:
Aurelien David 2019-08-13 21:55:55 +02:00
parent 509fac7ad6
commit 83326eeec0
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "RSSPreview",
"version": "3.10",
"version": "3.10.1",
"author": "Aurelien David",
"homepage_url": "https://github.com/aureliendavid/rsspreview",

View File

@ -6,7 +6,8 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rss1="http://purl.org/rss/1.0/"
xmlns:media="http://search.yahoo.com/mrss/"
exclude-result-prefixes="atom atom03 rdf rss1 media" >
xmlns:dc="http://purl.org/dc/elements/1.1/"
exclude-result-prefixes="atom atom03 rdf rss1 media dc" >
<xsl:param name="fullPreview" />
<xsl:param name="doAuthor" />
@ -61,7 +62,7 @@
<div class="lastUpdated"><xsl:value-of select="pubDate | rss1:pubDate | atom:updated | atom03:updated" /></div>
<xsl:if test="$doAuthor">
<div class="author"><xsl:value-of select="author | rss1:author | atom:*/atom:name | atom03:*/atom03:name" /></div>
<div class="author"><xsl:value-of select="dc:creator | author | rss1:author | atom:*/atom:name | atom03:*/atom03:name" /></div>
</xsl:if>
</h3>