Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grasmash/drupal-views-itunes-rss
Drupal 8 module for providing <itunes:*> tags via Views RSS.
https://github.com/grasmash/drupal-views-itunes-rss
Last synced: 2 months ago
JSON representation
Drupal 8 module for providing <itunes:*> tags via Views RSS.
- Host: GitHub
- URL: https://github.com/grasmash/drupal-views-itunes-rss
- Owner: grasmash
- Created: 2017-12-18T14:03:14.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-08T19:23:40.000Z (about 6 years ago)
- Last Synced: 2024-10-03T19:43:18.062Z (3 months ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 6
- Watchers: 4
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Drupal 8 module for providing <itunes:*> tags via Views RSS.
This module provides a new Views formatter for rendering Views RSS feeds as iTunes podcast feeds. It essentially allows you to map fields on Drupal entities to iTunes elements. E.g., you may map a node's `field_episode_recording` file field to the `` XML element, or a node's `field_explicit` boolean field to the `` XML element.
# Set up
1. Create a new view with a 'feed' display.
1. Add the entity fields that will be rendered as iTunes elements. E.g., add the file field that should be rendered as the ``.
1. Select "iTunes RSS Feed" as the display __format__.
1. Set settings under settings for "iTunes RSS Feed".
1. Select "iTunes Fields" under format's __show__ setting.
1. Set the settings under settings for "iTunes Fields".# Customize
You may customize the output using Drupal's core theming system. The following twig templates may be overridden:
* views-view-itunes-rss.html.twig
* views-view-row-rss.html.twigThe following preprocessor may be overridden: `template_preprocess_views_view_itunes_rss()`.