Aww::lib - Perl module for aww
admininput checkoptions checksite checktime config execoptions get_filenames get_fullfilenames getsubdirs match optioninput print_error process trashfiles wmlprocess writemainconfig
This is the function library for the aww program. That's why it exports (if you want it) a lot of functions. This library comes in handy if you want to program your own modules for aww. You will find here a short description for every supplied function. How you call it (IN) and what you will get back (OUT).
This subroutine adds key-valuepairs to the project configfile:
The subroutine then asks for the value of the new key, chomps of the linebreak, applies some sanity checks and hands it over to the config subroutine.
This subroutine checks if the options that are given are OK (if they are in 'PossibleOptions' from the config file)
This subroutine checks if the projects exist that were given on the commandline.
This subroutine checks if destination files to the given source files exist and if they are newer (if they are up to date).
The subroutine checks in the destination directory for the same filename and for a filename with Outputfile_type suffix
If the --force flag is used, the checktime subroutine returns all files that have destination files older than the start of the program.
This subroutine is used for all configurations in aww. (replacing all old configuration subroutines)
The connect subroutine processes the given files of the process directorywith WML-Options to connect to Previous, Up, Next pages etc.
The WML-Options can be accessed in the wml files with <get-var VARIABLENAME>: PREVIOUSFILE, NEXTFILE and UPFILE
This subroutine creates a thumbnail with the given options.
This subroutine executes the functions for all options (one after another).
This subroutine returns all filenames of given directory that have a special ending.
This subroutine gets all filenames of given directory that match the given RegExp and sorts them after the sortoption. The subroutines calls get_filenames and adds the full path to the files!
This subroutine gets recursivly all subdirectories of given directories
This subroutine returns the following properties of the input image: width, height, size
This subroutine checks for every element of a given array if it matches (or not matches) a given RegExp.
This subroutine adds new key=value pairs to the project configfile
The subroutine then asks for the options of the directory, chomps of the linebreak, applies some sanity checks and hands it to the config subroutine
This subroutine prints the error-message (IN) and a short help for aww
This is the core processing subroutine, that directly executes wml
This subroutine collects files that should be deleted befor the program terminates.
This is the main processing subroutine. It checks for newer sourcefiles in the given sourcedirectory and processes all needed files.
This subroutine writes the main configfile to the $HOME/.aww/ directory
Michael Panhorst <Michael@Panhorst.com>
aww, Aww::Main and Aww::Options
THIS IS A VERY EARLY ALPHA VERSION!!!