diff options
| -rwxr-xr-x | blogrss | 8 | ||||
| -rwxr-xr-x | blogsend | 11 | ||||
| -rwxr-xr-x | blogsitemap | 2 | ||||
| -rwxr-xr-x | blogthis | 2 |
4 files changed, 10 insertions, 13 deletions
@@ -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> @@ -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" @@ -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 |
