Drupal investigation

views-view-rss.html.twig 863B

12345678910111213141516171819202122232425262728293031
  1. {#
  2. /**
  3. * @file
  4. * Default template for feed displays that use the RSS style.
  5. *
  6. * Available variables:
  7. * - link: The link to the feed (the view path).
  8. * - namespaces: The XML namespaces (added automatically).
  9. * - title: The title of the feed (as set in the view).
  10. * - description: The feed description (from feed settings).
  11. * - langcode: The language encoding.
  12. * - channel_elements: The formatted channel elements.
  13. * - items: The feed items themselves.
  14. *
  15. * @see template_preprocess_views_view_rss()
  16. *
  17. * @ingroup themeable
  18. */
  19. #}
  20. <?xml version="1.0" encoding="utf-8" ?>
  21. <rss version="2.0" xml:base="{{ link }}"{{ namespaces }}>
  22. <channel>
  23. <title>{{ title }}</title>
  24. <link>{{ link }}</link>
  25. <description>{{ description }}</description>
  26. <language>{{ langcode }}</language>
  27. {{ channel_elements }}
  28. {{ items }}
  29. </channel>
  30. </rss>