amazon_onsite-1.0.0-beta5/templates/rss-feed.html.twig
templates/rss-feed.html.twig
{#
/**
* @file
* Default template for the RSS feed.
*
* Available variables:
* - link: The link to the feed (the view path).
* - namespaces: The XML namespaces (added automatically).
* - title: The title of the feed (as set in the view).
* - description: The feed description (from feed settings).
* - langcode: The language encoding.
* - last_build_date: The last build date,
* - logo_path: path to channel logo
* - channel_elements: The formatted channel elements.
* - items: The feed items themselves.
*
* @see views-view-rss.html.twig
*
* @ingroup themeable
*/
#}
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:amzn="https://amazon.com/ospublishing/1.0/">
<channel>
<title>{{ title }}</title>
<link>{{ link }}</link>
<description>{{ description }}</description>
<language>{{ langcode }}</language>
<lastBuildDate>{{ last_build_date }}</lastBuildDate>
<amzn:rssVersion>1.0</amzn:rssVersion>
{%- if logo_path ~%}<image>{{ logo_path }}</image>{% endif ~%}
{{ items }}
</channel>
</rss>
