add <subtitle> to atom feed
[~bandali/bndl.org] / meta_feed_rss.m4
index cc24c84..a9feeb3 100644 (file)
@@ -1,6 +1,6 @@
-include(meta_notes.m4)dnl
+include(meta_defs.m4)dnl
 <?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0">
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
 <title>Amin Bandali's Personal Site</title>
 <description>Notes and blog posts by Amin Bandali</description>
@@ -8,6 +8,9 @@ include(meta_notes.m4)dnl
 <lastBuildDate>syscmd(date -uR | tr -d \\n)</lastBuildDate>
 <pubDate>syscmd(date -uR | tr -d \\n)</pubDate>
 <ttl>1800</ttl>
+<atom:link href="https://bndl.org/notes.rss" rel="self" type="application/rss+xml" />
+<atom:link href="https://bndl.org/notes.atom" rel="alternate" type="application/atom+xml" />
+<atom:link href="https://bndl.org" rel="alternate" type="text/html" />
 define(__feed_rss)dnl
 define(`fordown',`ifelse($#,0,``$0'',`ifelse(eval($2>=$3),1,
   `pushdef(`$1',$2)$4`'popdef(`$1')$0(`$1',decr($2),$3,`$4')')')')