From: Petter Reinholdtsen
Date: Tue, 31 Jul 2018 21:26:51 +0000 (+0200)
Subject: Mention the need for UTF-8.
X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/commitdiff_plain/ce6db3533bf6640b8eeb0f187a4bf40d65c2db0f?ds=inline
Mention the need for UTF-8.
---
diff --git a/blog/data/2018-07-31-exif-photo-rss.txt b/blog/data/2018-07-31-exif-photo-rss.txt
index 424d8c7e68..b59320377c 100644
--- a/blog/data/2018-07-31-exif-photo-rss.txt
+++ b/blog/data/2018-07-31-exif-photo-rss.txt
@@ -9,11 +9,12 @@ working for data hoarders like Google or Dropbox. The last few days I
have drafted an approach that might work out, and I would like to
share it with you. I would like to publish images on a server under
my control, and point some Internet connected display units using some
-free and open standard to the images I published. Many years ago, I
-hoped to find a digital photo frame capable of reading a RSS feed with
-image references (aka using the <enclosure> RSS tag), but was
-unable to find a sensible supplier of such frames. In the end I gave
-up that approach.
+free and open standard to the images I published. As my primary
+language is not limited to ASCII, I need to store metadata using
+UTF-8. Many years ago, I hoped to find a digital photo frame capable
+of reading a RSS feed with image references (aka using the
+<enclosure> RSS tag), but was unable to find a sensible supplier
+of such frames. In the end I gave up that approach.
Some months ago, I discovered that
XScreensaver is able to
@@ -30,13 +31,15 @@ a Raspberry PI unit with LibreELEC, and wanted to provide them with a
screen saver showing selected pictures from my selection.
Armed with motivation and a test photo frame, I set out to generate
-a RSS feed for the Kodi instance. I adjusted my
-Freedombox instance, created
+a RSS feed for the Kodi instance. I adjusted my Freedombox instance, created
/var/www/html/privatepictures/, wrote a small Perl script to extract
title and description metadata from the photo files and generate the
RSS file. I ended up using Perl instead of python, as the
libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
-tags I ended up using, while python3-exif did not.
+tags I ended up using, while python3-exif did not. The relevant EXIF
+tags only support ASCII, so I had to find better alternatives. XMP
+seem to have the support I need.
I am a bit unsure which EXIF/XMP tags to use, as I would like to
use tags that can be easily added/updated using normal free software