Skip to content

Commit

Permalink
added support for dc:creator (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliendavid committed Aug 13, 2019
1 parent 509fac7 commit 83326ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",

Expand Down
5 changes: 3 additions & 2 deletions rss.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down Expand Up @@ -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>

Expand Down

0 comments on commit 83326ee

Please sign in to comment.