Page 1 of 1

automate web page creation

Posted: Tue Apr 10, 2012 2:09 pm
by rdo
Hello,

Is it possible to automate the web page creation somehow? Is there a command line switch to generate web pages or script or something similar.

Here is my problem - I have archive of all my photos taken during several years where every photo session is in a separate directory. Now i have my own webserver, and i want to share the photos with my relatives. What i need initially is to create for every directory with photos the index thumnails page and the corresponding html pages for images. Then in time, when i add new photos i will need to do this again and again for every new directory.
The ideal solution would be to have a bat file and when i start it - to traverse all directories and subdirectories and for every directory to create an index page and the details pages. It will be good if i can tell it it to not overwrite any existing thumnail images and html files, because this will destroy the browser caches.

The traverse of directories from the bat file is not a problem. I see i can also create thumnails with the nconvert, but unfortunately i can't find the command how to start the webpage creator with this directory, give it the output directory and generate all the needed files.


Best regards

Re: automate web page creation

Posted: Wed Apr 11, 2012 8:00 pm
by XnTriq

Re: automate web page creation

Posted: Fri Apr 20, 2012 2:02 pm
by rdo
Hi,

Thanks for your suggestions. I was hoping to avoid using dynamic webpages.
It is strange that i can't find on internet any tool that can generate static web pages in the way i need. XnView looks promising - the functionality is there, but it looks that it can't be controlled from command line.

Re: automate web page creation

Posted: Fri Apr 20, 2012 9:00 pm
by XnTriq
Harishankar Venkataraman: Static image gallery generators (Linux/*nix)