[Kde-imaging] export to html gallery

Stefano Stabellini stefano at stabellini.net
Fri Dec 15 03:37:43 CET 2006


Hi all,
I began to use digikam only recently when I bought my first digital camera.
I really like it and perfectly fits my needs.
Since I have a little website I tried exporting my galleries to HTML,
and again digikam (and kipi-plugins) did the job very well.
Too bad that the second time I wanted to export a gallery I had to
export also the first one because if I didn't the index.html was
overwritten with only the new gallery.
Not a problem with 2-3 galleries but try to image what would happen with
50-60 galleries...
To overcome this problem I wrote a little python script that take the
main html galleries directory and a temporary directory with only the
last published gallery and merge them.
It took me only a couple of hours and I'm really new to python, so I
guess that for you would be really easy to add this feature to the html
export plugin.
Hoping to be a little helpful I attached my script to this mail.
Thanks for the good job,

Stefano Stabellini

--

stefano[AT]stabellini.net - http://www.stabellini.net

“Success is not final, failure is not fatal:
it is the courage to continue that counts.”
          Winston Churchill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digikammerger.py
Type: text/x-python
Size: 1953 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20061214/b7ec7d70/attachment.py 


More information about the Kde-imaging mailing list