A perl script for recursive uploading!
fecund
Joined: 2002-09-13
Posts: 13 |
Posted: Fri, 2002-09-13 21:53 |
A month ago I heavily modified the adddir scripts to allow real recursive uploading! Directories inside directories become subalbums within subalbums. It has other features as well- you can name all those subalbums and caption all those images as they get created & uploaded, even optionally running an outside script for the names. Also, like the other patched adddir available, it logs in less for quicker uploading. Unlike the other patched adddir, you don't have to replace your gallery_remote.php file for it to work. (There is a patch- less intrusive than a copy- that will let some of the arbitrary-captioning-of-photos feature work. Without the patch, you can still caption photos after the filenames...) The programs are backwards comapatible- your old scripts will work with the new programs unmodified. There are plenty of new features, which are tested with gallery 1.3.1 New features might not work on other versions, or on heavily patched galleries, or galleries running embedded in nuke- or it might. Even if you don't use the new features, The optional patch lets you set the caption of a photo to any arbitrary text on upload. If don't need that- you're OK with using the filename as the caption, or no photo captions- you don't have to apply the patch to gallery_remote.php Everything else- creating new albums and titling them- works with plain vanilla gallery. I haven't yet tested it with gallery remote 0.4 but I when I do, I will make it work if it breaks. |
|
Posts: 974
I rolled some of yary's changes into galleryadd.pl.