]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/feed.xml
Generate and archive blog, allow publishing
[rbdr/blog] / templates / feed.xml
index 36edc2877dbd49ddb90e7872e319ef45866e8481..d95e38cde9f0c3f7354217bfc390c647e45dd2b1 100644 (file)
@@ -1,18 +1,16 @@
 <?xml version="1.0"?>
 <rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
 <?xml version="1.0"?>
 <rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
-    <atom:link href="https://r.bdr.sh/gemlog/feed.xml" rel="self" type="application/rss+xml" />
-    <title>Ruben's Gemlog</title>
-    <link>https://r.bdr.sh/gemlog/</link>
-    <description>This is the gemlog at r.bdr.sh.</description>
+    <title>My Ephemeral Blog</title>
+    <description>My Ephemeral Blog</description>
     <language>en</language>
     <language>en</language>
-    {{~ it.posts: post}}
+    {{~ posts: post}}
       <item>
       <item>
-        <guid isPermaLink="false">rbdr:{{= post.id}}</guid>
-        <pubDate>{{= post.createdOn}}</pubDate>
+        <guid isPermaLink="false">blog:{{= post.id}}</guid>
+        <pubDate>{{= post.created_on_utc}}</pubDate>
         <title>{{= post.title}}</title>
         <description>
         <title>{{= post.title}}</title>
         <description>
-          {{= post.html}}
+          {{= post.escaped_html}}
         </description>
       </item>
     {{~}}
         </description>
       </item>
     {{~}}