rss.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml
  2. version="1.0" encoding="utf-8"?>
  3. <rss version="2.0"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  6. >
  7. <channel xml:lang="es">
  8. <title>Noticias rmgss.net</title>
  9. <link>https://www.rmgss.net/rss</link>
  10. <description>Sitio personal de Rodrigo Garcia</description>
  11. <language>es</language>
  12. <generator>python Flask - Jinja2</generator>
  13. {% for entry in contents %}
  14. <item xml:lang="es">
  15. <title>{{ entry.title }}</title>
  16. <link>{{ entry.link }}</link>
  17. <guid isPermaLink="true">{{ entry.id }}</guid>
  18. <dc:date>{{ entry.updated }}</dc:date>
  19. <dc:format>text/html</dc:format>
  20. <dc:creator>{{ entry.author }}</dc:creator>
  21. <description>
  22. {% for cat in entry.category %}
  23. {{ cat }}
  24. {% if loop.index != entry.category|length %}
  25. ,
  26. {% endif %}
  27. {% endfor %}
  28. </description>
  29. <content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/">
  30. <![CDATA[{{ entry.content|safe }}]]>
  31. </content:encoded>
  32. </item>
  33. {% endfor %}
  34. </channel>
  35. </rss>