|
@@ -18,8 +18,8 @@
|
|
|
<itunes:category text="News & Politics"/>
|
|
|
|
|
|
{% for nid, node in ror.podcast.nodes %}
|
|
|
- {% set num_audios = ror.podcast.audio[nid]|length %}
|
|
|
- {% for num, audio in ror.podcast.audio[nid] %}
|
|
|
+ {% set num_audios = node.audio|length %}
|
|
|
+ {% for num, audio in node.audio %}
|
|
|
<item>
|
|
|
{% set audiourl = audio.field_audio_link[0].uri %}
|
|
|
{% set ext = audiourl|split('.')|last %}
|
|
@@ -32,7 +32,13 @@
|
|
|
<title> {{node.title.0.value}} </title>
|
|
|
{% endif %}
|
|
|
<itunes:summary>{{ node.summary | raw }}</itunes:summary>
|
|
|
- <description> {{ node.body.0.value }} </description>
|
|
|
+ <description> {{ node.body.0.value }}
|
|
|
+ {# [fields]
|
|
|
+ {% for field in node.img.0|keys %}
|
|
|
+ [[ {{ field}}{{"\t"}}-> `{{node.img.0[field]}}` ]]
|
|
|
+ {% endfor %}
|
|
|
+ [/fields] #}
|
|
|
+ </description>
|
|
|
<link>http://www.ondarossa.info{{node.path.0.alias}}</link>
|
|
|
|
|
|
<enclosure url="{{ audiourl | replace({"https://": "http://"}) | escape('html_attr') }}" type="audio/{{ext}}" length="1024"></enclosure>
|
|
@@ -43,11 +49,6 @@
|
|
|
<guid>{{ audiourl }}</guid>
|
|
|
</item>
|
|
|
{% endfor %}
|
|
|
- {# [fields]
|
|
|
- {% for field in node.getFields() %}
|
|
|
- [[ {{ field.getName() }} ]]
|
|
|
- {% endfor %}
|
|
|
- [/fields] #}
|
|
|
{% endfor %}
|
|
|
|
|
|
</channel>
|