Mon Sep 5 02:30:45 EDT 2016
I've put initial descriptions on all the photos from Pennsic, and a few things before and since - you can take a surprising number of photos of baby squirrels in a very short time. The website pages need to be regenerated to pick this up, and the tagging code I've added needs to be changed to make relative links that don't rely on the BASE HREF. (Because the BASE HREF needs to be different for local files on this laptop and for the files on the web server.)
There's also descriptions needed for the gallery directories, but I think I have some scripts to pick up the descriptions of the sub-galleries or the leaf photos to speed that up - but that needs the descriptions on the photos first.
Monday 16:56
I just realized the change I was planning for my photo gallery tag links isn't going to work. The tags are generated from a .txt file for each photo, and I need to change from the BASE HREF approach I was using to relative paths, which involves figuring out how many directory levels are in the current photo's path. The tags' links end up in a .comment file for each photo, and this is hard-linked into each gallery the photo is linked into, one for each tag. But the galleries may be at different depths of the tree, so those relative links may not work in other directories. I'm going to have to go back to the BASE HREF, and figure out how to make it work. ☹
The solution may be to run a webserver on my source-copy machine and use it to view the site, rather than going directly to the html files with a browser. Hmmm, I see that nginx is already running on this laptop. I wonder what it's doing?
[This entry was originally posted as
https://syntonic-comma.dreamwidth.org/833995.html on Dreamwidth (where there are
comments).]