|
|
A powerful feature of DPU is its ability to do text substitutions. Many of DPU's utilities look for key phrases (marked with curly braces { and }). When these utilities operate, they replace the key phrase with metadata values. For example, in Caption, if you type in "{DPU username}" for the caption text, the name of the registered user of DPU (or "Unregistered" if not registered) will appear on the picture. Click here for a complete list of the available key phrases. The real power of these key phrases comes when used with image specific metadata. For example, if you create a caption with the text "{image title}" then each image will receive a caption with its particular title overlaid on the image. You enter one item and DPU does the work of changing the value for each image. The metadata for the images can be edited using MetaEdit and the other utilities use the values as described below: CaptionThe caption text has all image, computer and DPU metadata text substitutions applied to it. SaverThe file name and path have all all image, computer and DPU metadata text substitutions applied to them. In addition there are specific substitutions for the file date defined for these values. WebGenSome of the main work of WebGen is the way it performs text substitution. It looks for key phrases in the html code copied from the style folder and replaces them with information from the database and metadata from the image. Computer, DPU and web key phrase substitutions are preformed on all files ending .html or .htm. Image substitutions are performed on files with "{image name}" in the file name. These files are duplicated for each image being processed and then the image key phrase substitutions are performed for each of these web pages individually. Image substitutions are also performed on the interior of several web key phrase substitutions.
|
|