1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Merge pull request #7849 from anarcat/rss-alternate

restore pre-Atom behavior of linking directly to the article
This commit is contained in:
Jérémy Benoist 2025-02-07 20:08:54 +01:00 committed by GitHub
commit c774398d85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,11 +31,9 @@
{% for entry in entries %}
<entry>
<title><![CDATA[{{ entry.title|e }}]]></title>
<link href="{{ entry.url }}"/>
<link rel="alternate" type="text/html"
<link rel="alternate" href="{{ entry.url }}"/>
<link rel="via" type="text/html"
href="{{ url('view', {'id': entry.id}) }}"/>
<link rel="via"
href="{{ entry.url }}"/>
<id>wallabag:{{ domainName|removeScheme|removeWww }}:{{ user }}:entry:{{ entry.id }}</id>
<updated>{{ entry.updatedAt|date('c') }}</updated>
<published>{{ entry.createdAt|date('c') }}</published>