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