Art HTML Listing 3.0 Help www.zzee.com | Support | You are here: Contents > 7. Deployment / Upload Results to Web Server

# 7. Deployment / Upload Results to Web Server

www.zzee.com | You are here: Contents > 7. Deployment / Upload Results to Web Server

The development model of AHL assumes that either:

- The webmaster has a local mirror of the web site at the computer where AHL is used
- Or AHL is used directly at the same computer where the web server is located

To upload the result to the server you need to:

- Copy all images from "images" subfolder of AHL to some folder on your web server (let's assume it is called "images" as well). Then in all your AHL projects you need to specify the path to that folder on your web site in Options > Icons > "Path to icons on web server". The path should start with either the slash (like "/images/") or with "http://" (like "http://www.yourSite.com/images").
- When the listing is created you need to upload the file to the folder on your web server that matches the local folder that was used as Source folder for the project. And in case when AHL is residing directly on web server computer, you don't need to upload anything.

# 8. Command Line Mode

www.zzee.com | You are here: Contents > 8. Command Line Mode

Art HTML Listing could be used without GUI, within command prompt only. This is useful when you need to run the program on a regular basis, via batch file or to call it from the other program. Command mode usage synopsis is:

    prompt> path\zahl3.exe projectFilePath

There is the only required parameter - a path to the project file. ProjectFilePath should be either absolute or relative to the folder where AHL is installed. A project file can be created using GUI mode. If you call AHL without this parameter - usual GUI mode will be initialized. If you call AHL with the parameter, it will run in command line mode automatically. Being called in GUIless mode, AHL will process the project and then will terminate.

Though Art HTML Listing can be run without a GUI, it is not compiled like a console program, it is compiled like Windows GUI program, this is done to save a distribution size. So it is better to say that it is GUIless mode than console mode. Being called with a command line argument, it doesn't create any windows.

You can merge several project files in one using a text editor, such as Notepad. Just copy all text inside <project> tag from one template and append it to the end of the other template. When you supply such multiple project file to the command line mode, all templates it contains will be processed.