Navigatie: User manual >

Makemenu

Vorige paginaTerug naar hoofdstuk overzichtVolgemde pagina

When you use of software from others you get also the associated not always desired behavior for free.

 

Therefore when problems occur don't always blame the author of this program, although in spite of all his effort to make it bug free, probably he has left some.

 

Therefore all developers of the programs in this package, including the author of makemenu.exe and settings.exe, made it explicitly clear that have provided these programs as-is and you may use it  at your own risk. They are not responsible for any damage by the use of these programs.

 

When errors are detected by or reported to the author of makemenu.exe and settings.exe, he will search for a solution and makes it available as soon as possible he has one.

 

Okay these are the legal aspects of the use . Now the package itself. It consists of the following components:

 

The developed utilities by me for the menu making or building from CBooks are:

 

makemenu for the creation of HTML menu pages using the images extracted by using the appropriate extraction program as described below and the creation of overview menus. In addition it informs the user of any error during this process in an HTML error log.
settings is a small utility to change the settings in a configuration file, which influence the manner makemenu performs its tasks.

 

The free utilities from third parties are:

unrar for the extraction from CBR CBooks. Most CBook readers support the image file types JPG, TIF, GIF and PNG.
unzip for the extraction from CBZ CBooks.
pdftohtml for the extraction of images from PDF CBooks (PDF files consisting mainly or only out of images). This program gives sometimes undesired results, but luckily the distribution of CBooks as a PDF file is limited.

 

The default browser installed with the operating system or later added is used to display the menus, overviews and error logs. I use Mozilla Firefox.

Opening the CBooks by clicking uses the association, which setup by the user for his favorite CBook reader (I use with great pleasure MangaMeeya - MMCE_Win32).

 

 

Tabs are added to limit the number of covers on a page, which avoids the use of scrolling to access an out of page cover.

The image above and below shows some of the flexibility to set up menu pages.

The image above consists of 4 covers per row in 2 rows with a thumbnail size of 160x228 pixels.

 

The example above consists of 9 covers on a row with 3 rows and a thumbnail size of 90x120 pixels.

 

How does it work?

How it works is not important for using the package, but sometimes it gives answers on your questions when you know it.

 

The starting point of the design of the package is using as much as possible the implied information of name of the CBooks file and the naming and structure of the folders. This is to avoid the use and maintenance of a database. I like to read the books, instead of doing maintenance. However some maintenance is needed when you have a large collection. This maintenance should be kept to a minimum. The only requirement is that you tell where the CBooks are stored and you keep collection structured with sensible names to your CBook files.

 

When you start using this package you will discover that this will improve over time. You can change this when needed, because the (re)generation of the menus is easy and quite fast. Another advantage is that you will get a consistent look of your complete collection.

 

Now lets us look what happens we use the package.

When we give the command: makemenu menu "G:\ComicBooks\English\Complete\American Century"

it makes a list of all the CBook files in that folder, extract when needed the cover page from the CBook, and save it in the sub folder cover. Then it starts creating an HTML page based on the  filenames, the configuration file and HTML boiler plates (model templates). This continues until all CBooks found are added to the menu page. The finishing touch is the completion of that page and checking if the overview menu needs an update.

 

 

 

The above shows the relations during this process. The end result is a cbmenu.htm file and a folder with the cover images. When completed this newly created cbmenu.htm is opened in  your default browser.

 

This example was using only one folder, but when higher levels folders are passed or dropped on the Menu icon, it will search for all CBooks in the given folder and all its sub folders.

 

Hereafter all commands of makemenu.

 

 

Via the start menu these commands are available as shortcuts. The Menu shortcut is placed on your Desktop for easy access.