blob: c2c64a9daa57aa9b60758d98aae724acb97c6ded (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
cat > $ZS_OUTDIR/rss.xml <<EOF
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>darkuss' website</title>
<link>https://darkuss.twoexem.com/</link>
<description>silly posts for silly people</description>
<generator>cobbled together bash:tm:</generator>
<language>en-gb</language>
<lastBuildDate>$(date -R)</lastBuildDate>
<atom:link href="https://darkuss.twoexem.com/rss.xml" rel="self" type="application/rss+xml"/>
EOF
./.zs/rss >> $ZS_OUTDIR/rss.xml
echo "</channel></rss>" >> $ZS_OUTDIR/rss.xml
|