aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2026-05-05 22:51:34 +0200
committerPhilip Wittamore <philip@wittamore.com>2026-05-05 22:51:34 +0200
commit9e5a5d48ebcc6137a7e8ba8f26ef6bab75e4522a (patch)
tree331e3753cfca41359931d43421a5e168175fd9bf
parentfd5ca9551ce75d8856451de7928b000cb3b1c779 (diff)
update
-rwxr-xr-xblogrss8
-rwxr-xr-xblogsend11
-rwxr-xr-xblogsitemap2
-rwxr-xr-xblogthis2
4 files changed, 10 insertions, 13 deletions
diff --git a/blogrss b/blogrss
index da84d0f..5e83aeb 100755
--- a/blogrss
+++ b/blogrss
@@ -1,10 +1,10 @@
#!/usr/bin/env bash
-link=https://wittamore.com/articles/2025
+link=https://wittamore.fr/articles/2026
description='Ramblings from Brittany, France'
-rsslink=https://wittamore.com/rss.xml
+rsslink=https://wittamore.fr/rss.xml
feedname=/home/philip/web/rss.xml
-postDir=/home/philip/web/articles/2025
+postDir=/home/philip/web/articles/2026
updated=$(date --iso-8601=ns)
# Build RSS header & footer
@@ -13,7 +13,7 @@ echo "<?xml version='1.0' encoding='UTF-8' ?>
<rss version='2.0' xmlns:atom='http://www.w3.org/2005/Atom'>" > ~/feedtop
echo "
<channel>
-<title>Bloggings - wittamore.com</title>
+<title>Bloggings - wittamore.fr</title>
<link>https://wittamore.com</link>
<description>Ramblings from Brittany, France</description>
<lastBuildDate>$updated</lastBuildDate>
diff --git a/blogsend b/blogsend
index 3661d29..04b1e4a 100755
--- a/blogsend
+++ b/blogsend
@@ -5,24 +5,21 @@
# usage : blogsend hours (if not set default is 1 hour)
# example : blogsend 72 sends files modified over the past 3 days
-source ~/.local/bashlib/pb_number
-source ~/.local/bashlib/pb_colour
-
# folders
-rf=mail:/var/www/html/wittamore.com
-mf=~/.local/src/web/wittamore.com
+rf=soc:/srv/http/wittamore.fr
+mf=~/web
cd $mf || exit
# test if $1
if [ -z "$1" ]; then
- printf %b "$(pb_fg 196)no parameter, using 1$(pb_nc)\n"
+ printf %b "no parameter, using 1\n"
hours=1;
else
# test if $1 is a number
if [ "$1" -eq "$1" ] >/dev/null 2>&1; then
hours="$1";
else
- printf %b "$(pb_fg 196)bad parameter, using 1$(pb_nc)\n"
+ printf %b "bad parameter, using 1\n"
hours=1;
fi
fi
diff --git a/blogsitemap b/blogsitemap
index 15c6a8d..8924287 100755
--- a/blogsitemap
+++ b/blogsitemap
@@ -3,7 +3,7 @@
cd /home/philip/web
# url configuration
-URL="https://wittamore.com/"
+URL="https://wittamore.fr/"
# values: always hourly daily weekly monthly yearly never
FREQ="weekly"
diff --git a/blogthis b/blogthis
index 7a0fab4..6cf6162 100755
--- a/blogthis
+++ b/blogthis
@@ -2,7 +2,7 @@
# create text, assemble html file, add to articles
-#web is a symlink to /home/philip/src/web/wittamore.com
+#web is a symlink to /home/philip/src/web/wittamore.fr
ROOT=/home/philip/web
mkdir -p $ROOT/.tmp