[KimDaBa] Problem with "Generate HTML..." and funny filenames
Martin Ehmsen
martin at ehmsen.org
Sun Dec 19 14:13:37 GMT 2004
Hi...
I have a problem when using the "Generate HTML..." option, probably
because my images have funny filenames.
I have the following subset of images in my kimdaba database that I
want to generate a html page from:
2004-12-17-18.33.52.jpg
2004-12-17-18.34.59.jpg
2004-12-17-18.38.16.jpg
2004-12-17-18.41.59.jpg
2004-12-17-18.42.08.jpg
2004-12-17-18.42.20.jpg
2004-12-17-18.44.44.jpg
2004-12-17-18.44.55.jpg
2004-12-17-18.49.13.jpg
2004-12-17-18.49.58.jpg
2004-12-17-19.14.44.jpg
2004-12-17-19.22.34.jpg
2004-12-18-14.42.04.jpg
2004-12-18-14.42.24.jpg
2004-12-18-14.47.08.jpg
2004-12-18-14.48.49.jpg
2004-12-18-14.52.30.jpg
2004-12-18-14.52.53.jpg
2004-12-18-14.59.17.jpg
2004-12-18-16.02.34.jpg
2004-12-18-16.04.13.jpg
2004-12-18-16.04.36.jpg
2004-12-18-16.04.51.jpg
As you probably can see, the filenames come from dates+timestamps.jpg
But when I generate the html-code the output directory looks like the
following:
-rw------- 1 ehmsen users 1071 19 dec 14:50 2004-12-17-18-1024x768.html
-rw------- 1 ehmsen users 3118 19 dec 14:50 2004-12-17-18-128.33.52.jpg
-rw------- 1 ehmsen users 2943 19 dec 14:50 2004-12-17-18-128.34.59.jpg
-rw------- 1 ehmsen users 3167 19 dec 14:50 2004-12-17-18-128.38.16.jpg
-rw------- 1 ehmsen users 3230 19 dec 14:50 2004-12-17-18-128.41.59.jpg
-rw------- 1 ehmsen users 3043 19 dec 14:50 2004-12-17-18-128.42.08.jpg
-rw------- 1 ehmsen users 3187 19 dec 14:50 2004-12-17-18-128.42.20.jpg
-rw------- 1 ehmsen users 3350 19 dec 14:50 2004-12-17-18-128.44.44.jpg
-rw------- 1 ehmsen users 3269 19 dec 14:50 2004-12-17-18-128.44.55.jpg
-rw------- 1 ehmsen users 3277 19 dec 14:50 2004-12-17-18-128.49.13.jpg
-rw------- 1 ehmsen users 3209 19 dec 14:50 2004-12-17-18-128.49.58.jpg
-rw------- 1 ehmsen users 64562 19 dec 14:50 2004-12-17-18.33.52.jpg
-rw------- 1 ehmsen users 67195 19 dec 14:50 2004-12-17-18.34.59.jpg
-rw------- 1 ehmsen users 72221 19 dec 14:50 2004-12-17-18.38.16.jpg
-rw------- 1 ehmsen users 62527 19 dec 14:50 2004-12-17-18.41.59.jpg
-rw------- 1 ehmsen users 59351 19 dec 14:50 2004-12-17-18.42.08.jpg
-rw------- 1 ehmsen users 80861 19 dec 14:50 2004-12-17-18.42.20.jpg
-rw------- 1 ehmsen users 82814 19 dec 14:50 2004-12-17-18.44.44.jpg
-rw------- 1 ehmsen users 78136 19 dec 14:50 2004-12-17-18.44.55.jpg
-rw------- 1 ehmsen users 74023 19 dec 14:50 2004-12-17-18.49.13.jpg
-rw------- 1 ehmsen users 69086 19 dec 14:50 2004-12-17-18.49.58.jpg
-rw------- 1 ehmsen users 1071 19 dec 14:50 2004-12-17-19-1024x768.html
-rw------- 1 ehmsen users 3426 19 dec 14:50 2004-12-17-19-128.14.44.jpg
-rw------- 1 ehmsen users 2973 19 dec 14:50 2004-12-17-19-128.22.34.jpg
-rw------- 1 ehmsen users 79706 19 dec 14:50 2004-12-17-19.14.44.jpg
-rw------- 1 ehmsen users 64937 19 dec 14:50 2004-12-17-19.22.34.jpg
-rw------- 1 ehmsen users 1071 19 dec 14:50 2004-12-18-14-1024x768.html
-rw------- 1 ehmsen users 3062 19 dec 14:50 2004-12-18-14-128.42.04.jpg
-rw------- 1 ehmsen users 3442 19 dec 14:50 2004-12-18-14-128.42.24.jpg
-rw------- 1 ehmsen users 3044 19 dec 14:50 2004-12-18-14-128.47.08.jpg
-rw------- 1 ehmsen users 3080 19 dec 14:50 2004-12-18-14-128.48.49.jpg
-rw------- 1 ehmsen users 3212 19 dec 14:50 2004-12-18-14-128.52.30.jpg
-rw------- 1 ehmsen users 2699 19 dec 14:50 2004-12-18-14-128.52.53.jpg
-rw------- 1 ehmsen users 2845 19 dec 14:50 2004-12-18-14-128.59.17.jpg
-rw------- 1 ehmsen users 77047 19 dec 14:50 2004-12-18-14.42.04.jpg
-rw------- 1 ehmsen users 79437 19 dec 14:50 2004-12-18-14.42.24.jpg
-rw------- 1 ehmsen users 66698 19 dec 14:50 2004-12-18-14.47.08.jpg
-rw------- 1 ehmsen users 72360 19 dec 14:50 2004-12-18-14.48.49.jpg
-rw------- 1 ehmsen users 76775 19 dec 14:50 2004-12-18-14.52.30.jpg
-rw------- 1 ehmsen users 50244 19 dec 14:50 2004-12-18-14.52.53.jpg
-rw------- 1 ehmsen users 64308 19 dec 14:50 2004-12-18-14.59.17.jpg
-rw------- 1 ehmsen users 1021 19 dec 14:50 2004-12-18-16-1024x768.html
-rw------- 1 ehmsen users 3160 19 dec 14:50 2004-12-18-16-128.02.34.jpg
-rw------- 1 ehmsen users 2556 19 dec 14:50 2004-12-18-16-128.04.13.jpg
-rw------- 1 ehmsen users 2748 19 dec 14:50 2004-12-18-16-128.04.36.jpg
-rw------- 1 ehmsen users 2847 19 dec 14:50 2004-12-18-16-128.04.51.jpg
-rw------- 1 ehmsen users 78745 19 dec 14:50 2004-12-18-16.02.34.jpg
-rw------- 1 ehmsen users 45706 19 dec 14:50 2004-12-18-16.04.13.jpg
-rw------- 1 ehmsen users 65016 19 dec 14:50 2004-12-18-16.04.36.jpg
-rw------- 1 ehmsen users 69555 19 dec 14:50 2004-12-18-16.04.51.jpg
-rw------- 1 ehmsen users 4672 19 dec 14:50 index-1024x768.html
lrwxrwxrwx 1 ehmsen users 19 19 dec 14:50 index.html -> index-1024x768.html
-rw------- 1 ehmsen users 753 19 dec 14:50 mainpage.css
So I only get a html page for four of my pictures, namely:
2004-12-17-18.49.58.jpg
2004-12-17-19.22.34.jpg
2004-12-18-14.59.17.jpg
2004-12-18-16.04.51.jpg
So kimdaba only generates html-files for the last picture where the
hour-indicator changes, ie. it only generates one html-file for each
group:
2004-12-17-18.*
2004-12-17-19.*
2004-12-18-14.*
2004-12-18-16.*
It could look like kimdaba thinks filenames can't contain dots ("."),
which is not true.
I hope I have given enough information so that someone could fix this
bug. If I haven't made myself clear, or anyone have any additional
questions, feel free to ask.
Thanks in advance.
Martin
--
"No harm," The Boss burbles on.
"So anyway, I thought maybe we should do something about Branding."
"Branding?" I ask, match poised against the striker behind my back.
"You mean as in burning a mark onto any user that complains?"
- BOFH
More information about the Kphotoalbum
mailing list