X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fentries.xml.twig;h=0a0131cde3c384d7d92f08c57db6ddfdb2b6ad0f;hb=47e2d609bcac6de4893cc04559c0794642c30a80;hp=d70aa5dc9c99e58fa043d47183ae5e936e0a164f;hpb=b5d7eb148c4cd62ff187b08765f0c13c7d330fcf;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 d70aa5dc..0a0131cd 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,46 @@ - - - wallabag - {{ type }} feed - {{ url_html }} - - {% if entries.hasPreviousPage -%} - - {% endif -%} - {% if entries.hasNextPage -%} - - {% endif -%} - - {{ "now"|date('D, d M Y H:i:s') }} - wallabag - wallabag {{ type }} elements - - {% for entry in entries %} - - - <![CDATA[{{ entry.title|e }}]]> - wallabag - {{ entry.url }} - {{ entry.url }} - {{ entry.createdAt|date('D, d M Y H:i:s') }} - - 0 -%}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': entry.readingTime}) }}{%- else -%}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{%- endif %}{{ entry.content|raw -}}]]> - - - + + wallabag — {{type}} feed + RSS feed for {{ type }} entries + {% if entries | length > 0 %} + {{ (entries | first).createdAt | date('c') }} {# Indicates the last time the feed was modified in a significant way. #} + {% endif %} + wallabag:{{ domainName | removeScheme | removeWww }}:{{ user }}:{{ type }} + + + {% 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 %} + + <![CDATA[{{ entry.title|e }}]]> + + {{ 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 %} +