summaryrefslogtreecommitdiff
path: root/rss.xml
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-07-21 11:05:15 +0200
committerdavidovski <david@davidovski.xyz>2023-07-21 11:05:15 +0200
commita85890b3e6a5b678b47e1964731ad00cf4645f04 (patch)
treeda6f266e1dcfeccf82b8367aac0141dcefb12538 /rss.xml
parented5d2fa43ec7508b3356712bae45dc50f27db9ef (diff)
move non-executables to site subdir
Diffstat (limited to 'rss.xml')
-rwxr-xr-xrss.xml33
1 files changed, 0 insertions, 33 deletions
diff --git a/rss.xml b/rss.xml
deleted file mode 100755
index d2ec426..0000000
--- a/rss.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-cat << EOF
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0">
-
-<channel>
- <title>davidovski</title>
- <link>https://davidovski.xyz</link>
- <description>davidovski's site</description>
-EOF
-
-for entry in entries/*.html; do
- title="$(grep '^# ' $entry)"
- title=${title#\# }
-
- printf "<item>\n"
- printf "<title>%s</title>\n" "${title}"
- printf "<link>%s</link>\n" "http://davidovski.xyz/$entry"
- printf "<pubDate>%s</pubDate>\n" "$(stat -c %z "$entry")"
-
-
- printf "<description><![CDATA["
- md2html $entry
- printf "]]></description>\n</item>"
-
- done
-
-
-cat << EOF
-</channel>
-</rss>
-EOF