For an explanation of what Html2Slideshow is, please read the text of the Html2Slideshow-Homepage on http://www.uplawski.de/html2slideshow.html. However, the referenced page is only available in German, at the time of this writing (end of March 2009).
In the document, you are currently reading, I describe, how the graphical Shoes-surface for the Html2Slideshow-program is used. If you want to use Html2Slideshow on the command-line of a Unix-shell or in a DOS-window, instead, the argument -h or --help will print the following usage-information:
| Usage: ruby html2slideshow.rb [options] or html2slideshow [options] | |
| Specific options: | |
| -d, --debug[true|FALSE] | Switch on debug-mode. Will generate log-messages during processing |
| -l, --local | Collect the image-files from the source-directory (if not provided, HTML-files are analyzed) |
| -r, --recursive | When collecting image-files from the source-directory, also include the sub-directories. |
| -s, --source SOURCE DIR | Read HTML source-files from this directory |
| -t, --target [TARGET DIR] | Write slideshow-files to this sub-directory (if not provided, SOURCE DIR is used) |
| Common options: | |
| -h, --help | Show this message |
| --version | Show version |
You need Shoes. Without Shoes, you will not be able to use HTML2Slideshow over the graphical user interface and have to stick with the command-line. Get the graphics toolkit and all the background-information you may need, from its GitHub-repository: http://github.com/whymirror/shoes/downloads/
The generator and its GUI exist, thus, well separately from each other to allow different uses of the program. While html2slideshow.rb is the main Ruby-script, that can be used on the command-line, html2slideshowDialog.rb contains the definition of the Shoes-dialog, explained below.
I believe, that you know already how to start a Shoes-application, but just for completeness, do it like this:
$>shoes html2slideshowDialog.rb
So far, two options are not accessible to the console-program:
Both features are explained further below.
The user-interface consists of a selection of dialogs, but for the most general task of creating slideshow-files from original (X)HTML-sources, the first or main dialog offers all the functionality you need.
I have included an easy way to adapt the GUI to languages other than English. The current release contains reliable translations to German and French. I will explain first, how you enable these two language-versions, then how you can enable the program to use additional languages.
Usually, you want the messages, captions and other text which appears on the surface, to be written in the language, that your operating system is already configured to use. Unfortunately, this setting is found at different places, depending on your current operating system. Under Linux Html2Slideshow is able to find the system-wide setting in the environment-variable LANG and will use it by default. So, if you are using Linux and want the program to speak to you in either German or French, no changes should be necessary.
Should you want to actively change the language of Html2Slideshow and know, that the program supports the new language, there is yet another, easy way to enforce that change. Go to the folder, where Html2Slideshow resides and create a new text-file LANG (without file-extension), if it does not accidentally exist already. The contents of the file is one single line with the two-letter country-code for the new setting. Initially, apart from 'en', only 'fr' or 'de' make sense. But you are free to write the code in capital letters, too.
All translations reside in one text-file, that you find in the program-folder. The file is named "translations". Here is an examplary section of its contents.
Each block starts with the English version of a text to display, followed by a colon. Each translation of this text starts in a new line and is prepended with the two-letter country-code and a colon.
XX is a wildcard, which allows a text to be parameterized by the program. The position of this wildcard may vary in a translation but it should stay intact.
When you add your own translation or modify the existing text, please keep it free of special characters, especially colons (other than those at the end of the english original or the language-codes), because these control the program-behavior and your text would be clipped at their position.
Lower down in the translations-file, you find two sections which need further explanation.
The first contains text, which will be dynamically set or changed on the generated slideshow-pages. The JavaScript-routines behind this functionality cannot handle any special characters, like e.g. French accents (like in é). Instead, in this section, the escape-sequence of each such character must be used. The JavaScript-function unescape() will see to making them palatable to the browser.
The very last paragraph in the file contains static text for display on the slideshow-pages. The special characters there need to be masked as the typical named entities in HTML-syntax, like é for é.
When you are done and have added a new language-code and translation to all text-blocks in the file, do not forget to change the file LANG in the program directory, if you are using Windows or if the language is not pre-set in the environment-variable LANG.
When you start the program, this green dialog is what you see, at
first.

The simplicity of the Shoes toolkit results in some small inconveniences, but they are almost entirely restricted to the appearance of the surface. In the screenshot above, you notice a less than optimal alignment of the GUI-elements (and there is more to come...). This does anyway not impair the functionality of the program.
I will now explain each element from top left to bottom right:



slideshowis entered automatically, but can be modified. The field can even be cleared, in case that you want the source-folder to contain the slideshow-files, as well. Otherwise, the sub-folder will be created, if it does not already exist, when you click the
Start-button (see below).

Start

Done, but the same dialog is used on other occasions and I have not yet found out, how the dimension of such a window can be swiftly adapted to its current use. Let us ignore that for now, okay? Thank you. ;-)

Back-button to return to the main-window. Do not try to close the window by use of the x-button in the window-frame. Because I need to avoid several dialogs being open at the same time, the triggering buttons will always stay disabled as long as a dialog is opened. Shoes does not allow me another way to keep track of open dialogs, should you not use the
Backbutton. Otherwise, the program needs to be restarted, to activate all buttons again.
Options

html2slideshow.login the current user's home-folder is used, but you can name a different file, after you activate the option by a click on the checkbox. The file will be created, if it does not exist and additional contents is appended, otherwise. As long as the checkbox is not activated, though, no log will be written. Be careful to choose a file, that is not needed for other purposes and none that would be destroyed, when text is added to its end!
Back-button will bring you back to the main dialog. All options have immediately been applied.
Quit
Quit-button you exit the program. In the current version, the configuration is lost each time, when you close the main dialog and thus leave Html2Slideshow. This means, that before you can generate the next slideshow or replace an existing one, you will have to choose your folders and options once again. This will probably change when the program is updated some time, so that your current settings can be saved and restored in the next session.
Quitin the main dialog, the confirmation dialog from the next screenshot pops up:

Howto
Howto-button in the main dialog. You are asked for the command, which opens the browser. Either type the path to the executable or, if the latter is already in the path for executable files on your system, just the name of the browser:

Acceptwill either open the page in your browser or a failure-message is displayed. In that case, you can return to the previous dialog with the
Back-button and alter the browser-command.

About

For each button, that you see on the surface, a keyboard-shortcut
exists, which can alternatively trigger the same action as the button
does. Most shortcuts are composed as a
combination of the Alt
-key with the first letter of a
button-caption. For the Howto-dialog
this means, that Alt+b
closes the
dialog, while Alt+a
should bring up
the web-browser of your choice. These shortcuts will not be adapted
to a different language-setting. I list them here for
completeness:
with sub-directoriesin the main dialog (no effect, when HTML-files will be scanned)
Howto-dialog from the main dialog
about-dialog
As you see above, the shortcut Alt+q
is available in each dialog to quit the
application completely. Use the same shortcut again, when asked to
confirm that you want to close down Html2Slideshow.
I am using my own site at http://www.uplawski.de/Provence as an example. The idea for my first C++-version of Html2Slideshow did also arise during the creation of those pages.
The local
directory with all the inside pages, at first looks like in the
screenshot to the right.
What I want, is a slideshow-file for each of those html-files, should they contain references to photos. Html2Slideshow will create those files and spares me the trouble to copy JavaScript and CSS-code in the process.
First, I make sure, that the options for my slide show project are
correctly set, in the options dialog: 
In the main dialog of the program, I enter the path to the
source-folder: 
Due to the line-break in the path to the (will-be) slideshow-folder,
a slider can appear to the right of the dialog,
depending on your display-configuration and the length of the
path-entries, you choose.
Because I want to use the photos referenced in the HTML-source of my web-pages, I have to choose the option "Image-source: files linked in HTML", as explained above.
Next, I just click the Start
-button and a moment later, all
is done. You can, though, use the options-dialog to alter the program-behavior,
prior triggering the generator.
To the right,
you see part of the result, as the new sub-folder slideshow
has been added below .../Provence/pages.
Inside that folder, I find the new slideshow-files along with the
CSS- and JavaScript-files, that they will use: 
Ω