add rss feed
[~bandali/bndl.org] / feed_atom.m4
CommitLineData
505a9419
AB
1<?xml version="1.0" encoding="UTF-8"?>
2<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
066f7565
AB
3<title>Amin Bandali's Personal Site</title>
4<id>tag:bandali.eu.org,atom,notes/</id>
5<link href="https://bandali.eu.org/notes.atom" rel="self" type="application/atom+xml"/>
6<link href="https://bandali.eu.org" rel="alternate" type="text/html"/>
7<updated>syscmd(date -Iseconds -u | tr -d \\n)</updated>
8define(__feed_atom)dnl
505a9419
AB
9define(`fordown',`ifelse($#,0,``$0'',`ifelse(eval($2>=$3),1,
10 `pushdef(`$1',$2)$4`'popdef(`$1')$0(`$1',decr($2),$3,`$4')')')')
11fordown(`__i',__latest,eval(__latest-10),`
066f7565 12 syscmd(sed "s/\&/\&amp;/g;s/>/\&gt;/g;s/</\&lt;/g" __i.m4 | m4 -D__feed_atom)')
505a9419 13</feed>