]> 105106.c2e0p.group Git - pod.git/blobdiff - sf/feed.xml
Fix guid and link in feed
[pod.git] / sf / feed.xml
index dd92c6dda30d00f1972076e46c5da3ba8174e48b..f339fc699038472fb144ea6f0980d21ceefa6b80 100644 (file)
@@ -33,9 +33,9 @@ title: ""
         </itunes:category>
 {% for post in site.posts %}        <item>
             <title>{{ post.title | xml_escape }}</title>
         </itunes:category>
 {% for post in site.posts %}        <item>
             <title>{{ post.title | xml_escape }}</title>
-            <link>{{ site.podcast.url }}{{ post.url }}</link>
+            <link>{{ post.url | absolute_url }}</link>
             <description>{{ post.excerpt | xml_escape }}</description>
             <description>{{ post.excerpt | xml_escape }}</description>
-            <guid isPermaLink="true">{{ site.podcast.url }}{{ post.url }}</guid>
+            <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>
             <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>