(iphoto-dir-to-album-dir): Add new argument `album-url-prefix'.
authortomo <tomo>
Tue, 3 Apr 2007 15:40:56 +0000 (15:40 +0000)
committertomo <tomo>
Tue, 3 Apr 2007 15:40:56 +0000 (15:40 +0000)
iphoto-util.el

index 2fb04a6..11e84bc 100644 (file)
                      (nth 0 time-max))))))
 
 (defun iphoto-dir-to-album-dir (year month day album-name
-                                    album-dir-root url-root image-url-root)
+                                    album-dir-root url-root image-url-root
+                                    album-url-prefix)
   (let ((coding-system-for-write 'utf-8-jp-er)
        (album-dir-base (expand-file-name album-name album-dir-root))
        album-dir album-dir-original ret a-dir-n a-dirs)
                                    "\e$B!A\e(B")))
                     (cons 'files
                           (directory-files dir nil nil nil t))
-                    (cons 'exit album-name))))
+                    (cons 'exit (concat album-url-prefix album-name)))))
        (write-region (point-min)(point-max)
                      (expand-file-name "dir.desc" album-dir)))
       (unless (file-exists-p album-dir-original)