Change guid and link in RSS feeds to give original entry URL

Fix #1926
This commit is contained in:
Nicolas Lœuillet 2016-04-15 16:07:34 +02:00
parent f2e5fdc366
commit 2d899e8d30
No known key found for this signature in database
GPG Key ID: 5656BE27E1E34D0A
2 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@
<item> <item>
<title><![CDATA[{{ entry.title }}]]></title> <title><![CDATA[{{ entry.title }}]]></title>
<source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source>
<link>{{ url('view', { 'id': entry.id }) }}</link> <link>{{ entry.url }}</link>
<guid>{{ url('view', { 'id': entry.id }) }}</guid> <guid>{{ entry.url }}</guid>
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
<description> <description>
<![CDATA[ <![CDATA[

View File

@ -12,8 +12,8 @@
<item> <item>
<title><![CDATA[{{ entry.title }}]]></title> <title><![CDATA[{{ entry.title }}]]></title>
<source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source>
<link>{{ url('view', { 'id': entry.id }) }}</link> <link>{{ entry.url }}</link>
<guid>{{ url('view', { 'id': entry.id }) }}</guid> <guid>{{ entry.url }}</guid>
<pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
<description> <description>
<![CDATA[ <![CDATA[