]> 105106.c2e0p.group Git - pod.git/blobdiff - sf/feed.xml
Fix guid and link in feed
[pod.git] / sf / feed.xml
index 3d7e16ec42e260b495960d9ccb61cb75cd1ec2b9..f339fc699038472fb144ea6f0980d21ceefa6b80 100644 (file)
@@ -1,62 +1,49 @@
+---
+title: ""
+---
 <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
     xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
     <channel>
-        <atom:link href="https://rjspod.live/sf/feed.xml" rel="self" type="application/rss+xml" />
-        <title>RJS SF Pod</title>
-        <link>https://rjspod.live/sf</link>
-        <description>Ruchi and Jer explain weird SF politics to Scott.</description>
-        <managingEditor>[email protected] (Podcast)</managingEditor>
-        <webMaster>[email protected] (Webmaster)</webMaster>
-        <language>en-us</language>
-        <copyright>Copyright (C) 2022 RJS Pod. All Rights Reserved.</copyright>
-        <pubDate>Mon, 11 Apr 2022 02:00:00 GMT</pubDate>
-        <lastBuildDate>Mon, 11 Apr 2022 02:00:00 GMT</lastBuildDate>
+        <atom:link href="{{ site.podcast.url }}/feed.xml" rel="self" type="application/rss+xml" />
+        <title>{{ site.podcast.title }}</title>
+        <link>{{ site.podcast.url }}</link>
+        <description>{{ site.podcast.escription | xml_escape }}</description>
+        <managingEditor>{{ site.podcast.email }} ({{ site.podcast.author }})</managingEditor>
+        <webMaster>{{ site.podcast.email }} ({{ site.podcast.author }})</webMaster>
+        <language>{{ site.podcast.lang }}</language>
+        <copyright>Copyright (C) {{ site.time | date: "%Y" }} {{ site.author | xml_escape }}. All Rights Reserved.</copyright>
+        <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
+        <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
         <image>
-            <url>https://rjspod.live/RJS_pod_1400x1400.jpg</url>
-            <title>RJS SF Pod</title>
-            <link>https://rjspod.live/sf</link>
+            <url>{{ site.podcast.url }}/RJS_pod_1400x1400.jpg</url>
+            <title>{{ site.podcast.title }}</title>
+            <link>{{ site.podcast.url }}</link>
         </image>
         <docs>http://www.rssboard.org/rss-specification</docs>
-        <itunes:author>RJS SF Pod</itunes:author>
+        <itunes:author>{{ site.podcast.title }}</itunes:author>
         <itunes:explicit>clean</itunes:explicit>
-        <itunes:image href="http://rjspod.live/RJS_pod_1400x1400.jpg"/>
+        <itunes:image href="{{ site.url }}/RJS_pod_1400x1400.jpg"/>
         <itunes:owner>
         <itunes:name><![CDATA[RJS Pod]]></itunes:name>
-                <itunes:email>[email protected] (Podcast)</itunes:email>
+                <itunes:email>{{ site.email }} (Podcast)</itunes:email>
         </itunes:owner>
         <itunes:category text="News">
             <itunes:category text="Politics"/>
         </itunes:category>
-        <item>
-            <title>Episode 1: Hi Sheryl!</title>
-            <link>https://rjspod.live/sf/episode1/</link>
-            <description>
-                Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas.
-            </description>
-            <guid isPermaLink="true">https://rjspod.live/sf/episode1/</guid>
-            <pubDate>Mon, 11 Apr 2022 02:00:00 GMT</pubDate>
-            <media:content
-                medium="audio"
-                url="https://archive.org/download/rjssfpod-episode1/rjssfpod-episode1.mp3"
-                type="audio/mpeg"
-                isDefault="true"
-                expression="full"
-                duration="4034">
-                <media:title type="plain">Episode 1: Hi Sheryl!</media:title>
-                <media:description>
-                    Ruchi and Jer discuss SF's redistricting fracas, as well as SF's role in California's math policy fracas.
-                </media:description>
-                <media:rating scheme="urn:simple">adult</media:rating>
-                <media:thumbnail url="https://rjspod.live/RJS_pod.jpg"/>
-                <media:keywords>
-                    sf, politics, education
-                </media:keywords>
-            </media:content>
-            <enclosure url="https://archive.org/download/rjssfpod-episode1/rjssfpod-episode1.mp3" length="56478621" type="audio/mpeg"/>
-            <itunes:image href="http://rjspod.live/RJS_pod_1400x1400.jpg"/>
-            <itunes:explicit>clean</itunes:explicit>
-            <itunes:duration>1:07:14</itunes:duration>
-        </item>
+{% for post in site.posts %}        <item>
+            <title>{{ post.title | xml_escape }}</title>
+            <link>{{ post.url | absolute_url }}</link>
+            <description>{{ post.excerpt | xml_escape }}</description>
+            <guid isPermaLink="true">{{ post.url | absolute_url }}</guid>
+            <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
+            <enclosure url="http:{{ post.file }}" length="{{ post.length }}" type="audio/mp3"/>
+            <itunes:author>{{ site.podcast.author }}</itunes:author>
+            <itunes:summary>{{ post.summary | xml_escape }}</itunes:summary>
+            <itunes:duration>{{ post.duration }}</itunes:duration>
+            <itunes:keywords>{{ post.keywords }}</itunes:keywords>
+            <itunes:image href="{{ site.url }}/images/itunes.png" />
+            <itunes:explicit>{{ post.explicit }}</itunes:explicit>
+        </item>{% endfor %}
     </channel>
 </rss>