]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/Entry/entries.xml.twig
store estimated reading time / filters on reading time
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / Entry / entries.xml.twig
index f1039f5dd63d4937e547435caf6f64785e5492f8..a39a8dc37a5c684112c7a906e5c61a9f00f81384 100644 (file)
                 <pubDate>{{ entry.createdAt|date('D, d M Y H:i:s') }}</pubDate>
                 <description>
                     <![CDATA[
-                    {%- if entry.content| readingTime > 0 -%}
-                        {% trans %}estimated reading time :{% endtrans %} {{ entry.content| readingTime }} min
+                    {%- if entry.readingTime > 0 -%}
+                        {% trans %}estimated reading time :{% endtrans %} {{ entry.readingTime }} min
                     {%- else -%}
                         {% trans %}estimated reading time :{% endtrans %} &lt; 1 min
                     {%- endif %}
 
-                    {{ entry.content -}}
+                    {{ entry.content|raw -}}
                     ]]>
                 </description>
             </item>