2024-11-11
This commit is contained in:
47
content/feeds/full.njk
Normal file
47
content/feeds/full.njk
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
permalink: /feeds/full.xml
|
||||
eleventyExcludeFromCollections: true
|
||||
metadata:
|
||||
title: Crew of the Kahuna
|
||||
subtitle: A FFG Star Wars RPG Story
|
||||
description: This is an RPG podcast.
|
||||
language: en
|
||||
categories:
|
||||
- Fiction
|
||||
- Comedy
|
||||
- Lesiure
|
||||
- Games
|
||||
---
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:base="{{ site.url | addPathPrefixToFullUrl }}" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ metadata.title }}</title>
|
||||
<link>{{ site.url | addPathPrefixToFullUrl }}</link>
|
||||
<atom:link href="{{ permalink | htmlBaseUrl(site.url) }}" rel="self" type="application/rss+xml" />
|
||||
<description>{{ metadata.description }}</description>
|
||||
<language>{{ metadata.language or page.lang }}</language>
|
||||
<itunes:subtitle>{{metadata.subtitle}}</itunes:subtitle>
|
||||
<itunes:author>{{site.author.name}}</itunes:author>
|
||||
{%- for category in metadata.categories %}
|
||||
<itunes:category text="{{category}}"/>
|
||||
{%- endfor %}
|
||||
<itunes:owner>
|
||||
<itunes:name>{{ site.author.name }}</itunes:name>
|
||||
<itunes:email>{{ site.author.email }}</itunes:email>
|
||||
</itunes:owner>
|
||||
<generator>
|
||||
{{eleventy.generator}}
|
||||
</generator>
|
||||
{%- for post in collections.episode | reverse %}
|
||||
{%- set absolutePostUrl = post.url | htmlBaseUrl(site.url) %}
|
||||
{% if post.data.podcast %}<item>
|
||||
<title>{{ post.data.title }}</title>
|
||||
<link>{{ absolutePostUrl }}</link>
|
||||
<description>{{ post.content | renderTransforms(post.data.page, site.url) }}</description>
|
||||
<pubDate>{{ post.date.toUTCString() | dateToRfc822 }}</pubDate>
|
||||
<guid>{{ absolutePostUrl }}</guid>
|
||||
<enclosure url="{{ post | podcastUrl | absoluteUrl(site.url) }}" type="audio/mpeg"/>
|
||||
</item>{% endif %}
|
||||
{%- endfor %}
|
||||
</channel>
|
||||
</rss>
|
||||
Reference in New Issue
Block a user