]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/feed.xml
Use serde and time
[rbdr/blog] / templates / feed.xml
index 5b6c3209389c5302936a30acdfe955b0b19a3b92..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>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>
-    {{~ 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>
     {{~}}