From daaf29781cc3237c1d001ed5161683e7b6cf8250 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 2 Aug 2022 22:47:49 -0500 Subject: Add rss.conf.sh --- rss.conf.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 rss.conf.sh diff --git a/rss.conf.sh b/rss.conf.sh new file mode 100644 index 0000000..a97cb45 --- /dev/null +++ b/rss.conf.sh @@ -0,0 +1,39 @@ +# RSS Configuration file for shatom(1) +# dedicated to lucidiot +# https://www.rssboard.org/rss-specification + +feed_header() { + cat < + + +$FEED_TITLE +$SITE_URL +$FEED_SUBTITLE +$FEED_COPYRIGHT +$FEED_UPDATED +shatom +https://www.rssboard.org/rss-specification +EOF +} + +feed_footer() { + cat < + +END +} + +feed_entry() { # feed_entry FILE + ENTRY_URL="$(entry_url "$1")" + cat < +$(entry_title "$1") +$ENTRY_URL +$ENTRY_URL +$(entry_updated "$1") +$(entry_author "$1") + + +EOF +} -- cgit 1.4.1-21-gabe81