rename feed_* to meta_feed_* and simplify wildcard function call
[~bandali/bndl.org] / feed_rss.m4
diff --git a/feed_rss.m4 b/feed_rss.m4
deleted file mode 100644 (file)
index 8ebecd8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-include(meta_notes.m4)dnl
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0">
-<channel>
-<title>Amin Bandali's Personal Site</title>
-<description>Notes and blog posts by Amin Bandali</description>
-<link>https://bandali.eu.org</link>
-<lastBuildDate>syscmd(date -uR | tr -d \\n)</lastBuildDate>
-<pubDate>syscmd(date -uR | tr -d \\n)</pubDate>
-<ttl>1800</ttl>
-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')')')')
-fordown(`__i',__latest,eval(__latest-10),`
-  syscmd(sed "s/\&/\&amp;/g;s/>/\&gt;/g;s/</\&lt;/g" _get(`notes', __i).m4 | m4 -D__feed_rss)')
-</channel>
-</rss>