summaryrefslogtreecommitdiff
path: root/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-22 23:04:01 +0300
committerPaul Buetow <paul@buetow.org>2025-06-22 23:04:01 +0300
commitcd60a353054abfae9609f71fbab0e97640d0a877 (patch)
treeed12dbb9b117e842822c92b8c0586d0704959b12 /gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
parent7afc2fb9cac9547998cd7b4cf3283391e6331799 (diff)
Update content for html
Diffstat (limited to 'gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html')
-rw-r--r--gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html118
1 files changed, 59 insertions, 59 deletions
diff --git a/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html b/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
index 0e4cf0f0..044134e7 100644
--- a/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
+++ b/gemfeed/2023-10-29-kiss-static-web-photo-albums-with-photoalbum.sh.html
@@ -130,42 +130,42 @@ photoalbum makemake
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><font color="#F3E651">%</font><font color="#ff0000"> photoalbum makemake</font>
-<font color="#ff0000">You may now customize </font><font color="#F3E651">.</font><font color="#ff0000">/photoalbumrc and run make</font>
+<pre><b><font color="#ee5896">%</font></b><font color="#ffffff"> photoalbum makemake</font>
+<font color="#ffffff">You may now customize </font><b><font color="#ee5896">.</font></b><font color="#ffffff">/photoalbumrc and run make</font>
-<font color="#F3E651">%</font><font color="#ff0000"> cat Makefile</font>
-<font color="#ff0000">all</font><font color="#F3E651">:</font>
-<font color="#ff0000"> photoalbum generate photoalbumrc</font>
-<font color="#ff0000">clean</font><font color="#F3E651">:</font>
-<font color="#ff0000"> photoalbum clean photoalbumrc</font>
+<b><font color="#ee5896">%</font></b><font color="#ffffff"> cat Makefile</font>
+<font color="#ffffff">all</font><b><font color="#ee5896">:</font></b>
+<font color="#ffffff"> photoalbum generate photoalbumrc</font>
+<font color="#ffffff">clean</font><b><font color="#ee5896">:</font></b>
+<font color="#ffffff"> photoalbum clean photoalbumrc</font>
-<font color="#F3E651">%</font><font color="#ff0000"> cat photoalbumrc</font>
-<i><font color="#ababab"># The title of the photoalbum</font></i>
-<font color="#ff0000">TITLE</font><font color="#F3E651">=</font><font color="#bb00ff">'A simple Photoalbum'</font>
+<b><font color="#ee5896">%</font></b><font color="#ffffff"> cat photoalbumrc</font>
+<i><font color="#00ff00"># The title of the photoalbum</font></i>
+<font color="#ffffff">TITLE</font><b><font color="#ee5896">=</font></b><font color="#cd00ff">'A simple Photoalbum'</font>
-<i><font color="#ababab"># Thumbnail height geometry</font></i>
-<font color="#ff0000">THUMBHEIGHT</font><font color="#F3E651">=</font><font color="#bb00ff">300</font>
-<i><font color="#ababab"># Normal geometry height (when viewing photo). Uncomment, to keep original size.</font></i>
-<font color="#ff0000">HEIGHT</font><font color="#F3E651">=</font><font color="#bb00ff">1200</font>
-<i><font color="#ababab"># Max previews per page.</font></i>
-<font color="#ff0000">MAXPREVIEWS</font><font color="#F3E651">=</font><font color="#bb00ff">40</font>
-<i><font color="#ababab"># Randomly shuffle all previews.</font></i>
-<i><font color="#ababab"># SHUFFLE=yes</font></i>
+<i><font color="#00ff00"># Thumbnail height geometry</font></i>
+<font color="#ffffff">THUMBHEIGHT</font><b><font color="#ee5896">=</font></b><font color="#ff00ff">300</font>
+<i><font color="#00ff00"># Normal geometry height (when viewing photo). Uncomment, to keep original size.</font></i>
+<font color="#ffffff">HEIGHT</font><b><font color="#ee5896">=</font></b><font color="#ff00ff">1200</font>
+<i><font color="#00ff00"># Max previews per page.</font></i>
+<font color="#ffffff">MAXPREVIEWS</font><b><font color="#ee5896">=</font></b><font color="#ff00ff">40</font>
+<i><font color="#00ff00"># Randomly shuffle all previews.</font></i>
+<i><font color="#00ff00"># SHUFFLE=yes</font></i>
-<i><font color="#ababab"># Diverse directories, need to be full paths, not relative!</font></i>
-<font color="#ff0000">INCOMING_DIR</font><font color="#F3E651">=</font><font color="#ff0000">$(pwd)</font><font color="#ff0000">/incoming</font>
-<font color="#ff0000">DIST_DIR</font><font color="#F3E651">=</font><font color="#ff0000">$(pwd)</font><font color="#ff0000">/dist</font>
-<font color="#ff0000">TEMPLATE_DIR</font><font color="#F3E651">=</font><font color="#ff0000">/usr/share/photoalbum/templates/default</font>
-<i><font color="#ababab">#TEMPLATE_DIR=/usr/share/photoalbum/templates/minimal</font></i>
+<i><font color="#00ff00"># Diverse directories, need to be full paths, not relative!</font></i>
+<font color="#ffffff">INCOMING_DIR</font><b><font color="#ee5896">=</font></b><font color="#ffffff">$(pwd)</font><font color="#ffffff">/incoming</font>
+<font color="#ffffff">DIST_DIR</font><b><font color="#ee5896">=</font></b><font color="#ffffff">$(pwd)</font><font color="#ffffff">/dist</font>
+<font color="#ffffff">TEMPLATE_DIR</font><b><font color="#ee5896">=</font></b><font color="#ffffff">/usr/share/photoalbum/templates/default</font>
+<i><font color="#00ff00">#TEMPLATE_DIR=/usr/share/photoalbum/templates/minimal</font></i>
-<i><font color="#ababab"># Includes a .tar of the incoming dir in the dist, can be yes or no</font></i>
-<font color="#ff0000">TARBALL_INCLUDE</font><font color="#F3E651">=</font><font color="#ff0000">yes</font>
-<font color="#ff0000">TARBALL_SUFFIX</font><font color="#F3E651">=.</font><font color="#ff0000">tar</font>
-<font color="#ff0000">TAR_OPTS</font><font color="#F3E651">=</font><font color="#bb00ff">'-c'</font>
+<i><font color="#00ff00"># Includes a .tar of the incoming dir in the dist, can be yes or no</font></i>
+<font color="#ffffff">TARBALL_INCLUDE</font><b><font color="#ee5896">=</font></b><font color="#ffffff">yes</font>
+<font color="#ffffff">TARBALL_SUFFIX</font><b><font color="#ee5896">=.</font></b><font color="#ffffff">tar</font>
+<font color="#ffffff">TAR_OPTS</font><b><font color="#ee5896">=</font></b><font color="#cd00ff">'-c'</font>
-<i><font color="#ababab"># Some debugging options</font></i>
-<i><font color="#ababab">#set -e</font></i>
-<i><font color="#ababab">#set -x</font></i>
+<i><font color="#00ff00"># Some debugging options</font></i>
+<i><font color="#00ff00">#set -e</font></i>
+<i><font color="#00ff00">#set -x</font></i>
</pre>
<br />
<span>In the case for <span class='inlinecode'>irregular.ninja</span>, I changed the defaults to the following:</span><br />
@@ -174,38 +174,38 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><font color="#ff0000">--- photoalbumrc 2023-10-29 21:42:00.894202045 +0200</font>
-<font color="#ff0000">+++ photoalbumrc.new 2023-06-04 10:40:08.030994440 +0300</font>
-<font color="#ff0000">@@ -1,23 +1,24 @@</font>
-<font color="#ff0000"> # The title of the photoalbum</font>
-<font color="#ff0000">-TITLE='A simple Photoalbum'</font>
-<font color="#ff0000">+TITLE='Irregular.Ninja'</font>
+<pre><font color="#ffffff">--- photoalbumrc 2023-10-29 21:42:00.894202045 +0200</font>
+<font color="#ffffff">+++ photoalbumrc.new 2023-06-04 10:40:08.030994440 +0300</font>
+<font color="#ffffff">@@ -1,23 +1,24 @@</font>
+<font color="#ffffff"> # The title of the photoalbum</font>
+<font color="#ffffff">-TITLE='A simple Photoalbum'</font>
+<font color="#ffffff">+TITLE='Irregular.Ninja'</font>
-<font color="#ff0000"> # Thumbnail height geometry</font>
-<font color="#ff0000">-THUMBHEIGHT=300</font>
-<font color="#ff0000">+THUMBHEIGHT=400</font>
-<font color="#ff0000"> # Normal geometry height (when viewing photo). Uncomment, to keep original size.</font>
-<font color="#ff0000">-HEIGHT=1200</font>
-<font color="#ff0000">+HEIGHT=1800</font>
-<font color="#ff0000"> # Max previews per page.</font>
-<font color="#ff0000"> MAXPREVIEWS=40</font>
-<font color="#ff0000">-# Randomly shuffle all previews.</font>
-<font color="#ff0000">-# SHUFFLE=yes</font>
-<font color="#ff0000">+# Randomly shuffle</font>
-<font color="#ff0000">+SHUFFLE=yes</font>
+<font color="#ffffff"> # Thumbnail height geometry</font>
+<font color="#ffffff">-THUMBHEIGHT=300</font>
+<font color="#ffffff">+THUMBHEIGHT=400</font>
+<font color="#ffffff"> # Normal geometry height (when viewing photo). Uncomment, to keep original size.</font>
+<font color="#ffffff">-HEIGHT=1200</font>
+<font color="#ffffff">+HEIGHT=1800</font>
+<font color="#ffffff"> # Max previews per page.</font>
+<font color="#ffffff"> MAXPREVIEWS=40</font>
+<font color="#ffffff">-# Randomly shuffle all previews.</font>
+<font color="#ffffff">-# SHUFFLE=yes</font>
+<font color="#ffffff">+# Randomly shuffle</font>
+<font color="#ffffff">+SHUFFLE=yes</font>
-<font color="#ff0000"> # Diverse directories, need to be full paths, not relative!</font>
-<font color="#ff0000">-INCOMING_DIR=$(pwd)/incoming</font>
-<font color="#ff0000">+INCOMING_DIR=~/Nextcloud/Photos/irregular.ninja</font>
-<font color="#ff0000"> DIST_DIR=$(pwd)/dist</font>
-<font color="#ff0000"> TEMPLATE_DIR=/usr/share/photoalbum/templates/default</font>
-<font color="#ff0000"> #TEMPLATE_DIR=/usr/share/photoalbum/templates/minimal</font>
+<font color="#ffffff"> # Diverse directories, need to be full paths, not relative!</font>
+<font color="#ffffff">-INCOMING_DIR=$(pwd)/incoming</font>
+<font color="#ffffff">+INCOMING_DIR=~/Nextcloud/Photos/irregular.ninja</font>
+<font color="#ffffff"> DIST_DIR=$(pwd)/dist</font>
+<font color="#ffffff"> TEMPLATE_DIR=/usr/share/photoalbum/templates/default</font>
+<font color="#ffffff"> #TEMPLATE_DIR=/usr/share/photoalbum/templates/minimal</font>
-<font color="#ff0000"> # Includes a .tar of the incoming dir in the dist, can be yes or no</font>
-<font color="#ff0000">-TARBALL_INCLUDE=yes</font>
-<font color="#ff0000">+TARBALL_INCLUDE=no</font>
-<font color="#ff0000"> TARBALL_SUFFIX=.tar</font>
-<font color="#ff0000"> TAR_OPTS='-c'</font>
+<font color="#ffffff"> # Includes a .tar of the incoming dir in the dist, can be yes or no</font>
+<font color="#ffffff">-TARBALL_INCLUDE=yes</font>
+<font color="#ffffff">+TARBALL_INCLUDE=no</font>
+<font color="#ffffff"> TARBALL_SUFFIX=.tar</font>
+<font color="#ffffff"> TAR_OPTS='-c'</font>
</pre>
<br />
<span>So I changed the album title, adjusted some image and thumbnail dimensions, and I want all images to be randomly shuffled every time the album is generated! I also have all my photos in my Nextcloud Photo directory and don&#39;t want to copy them to the local <span class='inlinecode'>incoming</span> directory. Also, a tarball containing the whole album as a download isn&#39;t provided.</span><br />