Mercurial > hg > isophonics-drupal-site
annotate core/modules/views/templates/views-view-rss.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Default template for feed displays that use the RSS style. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - link: The link to the feed (the view path). |
Chris@0 | 8 * - namespaces: The XML namespaces (added automatically). |
Chris@0 | 9 * - title: The title of the feed (as set in the view). |
Chris@0 | 10 * - description: The feed description (from feed settings). |
Chris@0 | 11 * - langcode: The language encoding. |
Chris@0 | 12 * - channel_elements: The formatted channel elements. |
Chris@0 | 13 * - items: The feed items themselves. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_views_view_rss() |
Chris@0 | 16 * |
Chris@0 | 17 * @ingroup themeable |
Chris@0 | 18 */ |
Chris@0 | 19 #} |
Chris@0 | 20 <?xml version="1.0" encoding="utf-8" ?> |
Chris@0 | 21 <rss version="2.0" xml:base="{{ link }}"{{ namespaces }}> |
Chris@0 | 22 <channel> |
Chris@0 | 23 <title>{{ title }}</title> |
Chris@0 | 24 <link>{{ link }}</link> |
Chris@0 | 25 <description>{{ description }}</description> |
Chris@0 | 26 <language>{{ langcode }}</language> |
Chris@0 | 27 {{ channel_elements }} |
Chris@0 | 28 {{ items }} |
Chris@0 | 29 </channel> |
Chris@0 | 30 </rss> |