fix email on cv
[~bandali/bndl.org] / meta_feed_rss.m4
CommitLineData
206884ba 1include(meta_defs.m4)dnl
066f7565 2<?xml version="1.0" encoding="UTF-8" ?>
06611295
AB
3<rss version="2.0"
4 xmlns:atom="http://www.w3.org/2005/Atom"
5 xmlns:content="http://purl.org/rss/1.0/modules/content/">
066f7565
AB
6<channel>
7<title>Amin Bandali's Personal Site</title>
8<description>Notes and blog posts by Amin Bandali</description>
29f0d7b9 9<link>__d`'__p/</link>
066f7565
AB
10<lastBuildDate>syscmd(date -uR | tr -d \\n)</lastBuildDate>
11<pubDate>syscmd(date -uR | tr -d \\n)</pubDate>
12<ttl>1800</ttl>
29f0d7b9
AB
13<atom:link href="__d`'__p/notes.rss" rel="self" type="application/rss+xml" />
14<atom:link href="__d`'__p/notes.atom" rel="alternate" type="application/atom+xml" />
15<atom:link href="__d`'__p/" rel="alternate" type="text/html" />
066f7565
AB
16define(__feed_rss)dnl
17define(`fordown',`ifelse($#,0,``$0'',`ifelse(eval($2>=$3),1,
18 `pushdef(`$1',$2)$4`'popdef(`$1')$0(`$1',decr($2),$3,`$4')')')')
19fordown(`__i',__latest,eval(__latest-10),`
06611295 20 syscmd(m4 -D__feed_rss -D__d=__d -D__p=__p _get(`notes', __i).m4)')
066f7565
AB
21</channel>
22</rss>