commit 1ba1b5e7c565d804ab425028c661c7880e968268
parent 06c97f86b24ba0d8502b37d1e2af936229625baf
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Mon, 8 Jun 2020 02:52:18 -0400
Add echo messages to generate script
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/generate-blogroll.sh b/generate-blogroll.sh
@@ -42,6 +42,7 @@ feed_list=$(newsboat -e | grep outline)
> blogroll-unsorted.md
+echo "Generating new blogroll..."
for item in $feed_list; do
xml_url=$(echo "$item" | awk '{$1=$2=""; print $3}' \
| cut -d'=' -f2- | tr -d \")
@@ -56,6 +57,7 @@ sort blogroll-unsorted.md > blogroll.md
rm blogroll-unsorted.md
# Replace existing content in blogroll.md with new list of feeds
+echo "Updating pages/links.md..."
echo ":%y
:e pages/links.md
/BLOGROLL_BEGIN
@@ -72,6 +74,7 @@ rm blogroll.md
./compile pages/links.md
# Generate OPML file
+echo "Generating OPML..."
newsboat -e > public/blogroll.opml
# Send the new OPML file to the site