diff options
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/entries.xml.twig | 4 |
1 files changed, 2 insertions, 2 deletions
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 d70aa5dc..25d09ec3 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 | |||
@@ -11,7 +11,7 @@ | |||
11 | <link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/> | 11 | <link rel="next" href="{{ url }}?page={{ entries.nextPage }}"/> |
12 | {% endif -%} | 12 | {% endif -%} |
13 | <link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/> | 13 | <link rel="last" href="{{ url }}?page={{ entries.nbPages }}"/> |
14 | <pubDate>{{ "now"|date('D, d M Y H:i:s') }}</pubDate> | 14 | <pubDate>{{ "now"|date(constant('DATE_RSS')) }}</pubDate> |
15 | <generator>wallabag</generator> | 15 | <generator>wallabag</generator> |
16 | <description>wallabag {{ type }} elements</description> | 16 | <description>wallabag {{ type }} elements</description> |
17 | 17 | ||
@@ -22,7 +22,7 @@ | |||
22 | <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> | 22 | <source url="{{ url('view', { 'id': entry.id }) }}">wallabag</source> |
23 | <link>{{ entry.url }}</link> | 23 | <link>{{ entry.url }}</link> |
24 | <guid>{{ entry.url }}</guid> | 24 | <guid>{{ entry.url }}</guid> |
25 | <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate> | 25 | <pubDate>{{ entry.createdAt|date(constant('DATE_RSS')) }}</pubDate> |
26 | <description> | 26 | <description> |
27 | <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> | 27 | <![CDATA[{%- if entry.readingTime > 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> |
28 | </description> | 28 | </description> |