]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/feed.xml
Generate and archive blog, allow publishing
[rbdr/blog] / templates / feed.xml
index d22d6561f0b067b8f2863a0ccf24d381563d749d..d95e38cde9f0c3f7354217bfc390c647e45dd2b1 100644 (file)
@@ -1,16 +1,16 @@
 <?xml version="1.0"?>
 <?xml version="1.0"?>
-<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">
+<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule" xmlns:atom="http://www.w3.org/2005/Atom">
   <channel>
   <channel>
-    <title>Blog at Unlimited Pizza 🍕</title>
-    <link>https://blog.unlimited.pizza</link>
-    <description>This is the blog at unlimited.pizza</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">unlimited-pizza:{{= 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>
         <description>
-          {{= post.html}}
+          {{= post.escaped_html}}
         </description>
       </item>
     {{~}}
         </description>
       </item>
     {{~}}