]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/feed.xml
Use serde and time
[rbdr/blog] / templates / feed.xml
index 6a68ba8c3f2a09544db01d51b1d083308ba1b5c1..d95e38cde9f0c3f7354217bfc390c647e45dd2b1 100644 (file)
@@ -1,17 +1,16 @@
 <?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>
-    <title>Gemlog at Unlimited Pizza 🍕</title>
-    <link>https://unlimited.pizza/gemlog/</link>
-    <description>This is the gemlog at unlimited.pizza</description>
+    <title>My Ephemeral Blog</title>
+    <description>My Ephemeral Blog</description>
     <language>en</language>
-    {{~ it.posts: post}}
+    {{~ posts: post}}
       <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>
-          {{= post.html}}
+          {{= post.escaped_html}}
         </description>
       </item>
     {{~}}