31 lines
		
	
	
		
			703 B
		
	
	
	
		
			Twig
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			703 B
		
	
	
	
		
			Twig
		
	
	
	
	
	
{#
 | 
						|
/**
 | 
						|
 * @file
 | 
						|
 * Default theme implementation to display an item in a views RSS feed.
 | 
						|
 *
 | 
						|
 * Available variables:
 | 
						|
 * - title: RSS item title.
 | 
						|
 * - link: RSS item link.
 | 
						|
 * - description: RSS body text.
 | 
						|
 * - item_elements: RSS item elements to be rendered as XML (pubDate, creator,
 | 
						|
 *   guid).
 | 
						|
 *
 | 
						|
 * @see template_preprocess_views_view_row_rss()
 | 
						|
 *
 | 
						|
 * @ingroup themeable
 | 
						|
 */
 | 
						|
#}
 | 
						|
<item>
 | 
						|
  <title>{{ title }}</title>
 | 
						|
  <link>{{ link }}</link>
 | 
						|
  <description>{{ description }}</description>
 | 
						|
  {% for item in item_elements -%}
 | 
						|
    <{{ item.key }}{{ item.attributes -}}
 | 
						|
    {% if item.value -%}
 | 
						|
      >{{ item.value }}</{{ item.key }}>
 | 
						|
    {% else -%}
 | 
						|
      {{ ' />' }}
 | 
						|
    {% endif %}
 | 
						|
  {%- endfor %}
 | 
						|
</item>
 |