X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fentries.xml.twig;h=cf6f6571775e6bc8d75368377cd408668852d80f;hb=531c8d0a5c55fa93438e227a7d349235fbd31d28;hp=25d09ec31a6612afce666243e7129d67cd20e0eb;hpb=12e7599b3517b3fd7a7fce999e5d27f1165d07b3;p=github%2Fwallabag%2Fwallabag.git
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig
index 25d09ec3..cf6f6571 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig
@@ -1,34 +1,53 @@
-
-
- wallabag - {{ type }} feed
- {{ url_html }}
-
- {% if entries.hasPreviousPage -%}
-
- {% endif -%}
- {% if entries.hasNextPage -%}
-
- {% endif -%}
-
- {{ "now"|date(constant('DATE_RSS')) }}
- wallabag
- wallabag {{ type }} elements
-
- {% for entry in entries %}
-
- -
-
-
- {{ entry.url }}
- {{ entry.url }}
- {{ entry.createdAt|date(constant('DATE_RSS')) }}
-
- 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
-
-
-
+
+ {% if type != 'tag' %}
+ wallabag â {{type}} feed
+ Atom feed for {{ type }} entries
+ wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:{{ type }}
+
+ {% else %}
+ wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:{{ type }}:{{ tag }}
+
+ wallabag â {{type}} {{ tag }} feed
+ Atom feed for entries tagged with {{ tag }}
+ {% endif %}
+ {% if entries | length > 0 %}
+ {{ (entries | first).createdAt | date('c') }} {# Indicates the last time the feed was modified in a significant way. #}
+ {% endif %}
+
+ {% if entries.hasPreviousPage %}
+
+ {% endif -%}
+ {% if entries.hasNextPage %}
+
+ {% endif -%}
+
+ wallabag
+
+ {{ user }}
+
+ {{ asset('favicon.ico') }}
+ {{ asset('bundles/wallabagcore/themes/_global/img/logo-square.png') }}
+ {% for entry in entries %}
+
+
+
+ {{ entry.url }}
+ wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:entry:{{ entry.id }}
+ {{ entry.updatedAt|date('c') }}
+ {{ entry.createdAt|date('c') }}
+ {% for tag in entry.tags %}
+
{% endfor %}
-
-
-
+ {% for author in entry.publishedBy %}
+
+ {{ author }}
+
+ {% endfor %}
+
+ 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]>
+
+
+ {% endfor %}
+