|
CSE Home |
About Us |
Search |
Contact Info |
The WebViewer download packager tool copies and and transforms files as necessary to convert a web-based WebViewer archive into a zip file suitable for download to portable devices for off-line viewing. The zip archive includes WMV, script XML, and slide images,
Binary:
Source:
To install the runtime, simply unzip and place the resulting directory in a programs directory. You may want to add the path to the download packager directory name to the system PATH environment variable for convenience.
Binary Requirements:
Source build requirements. The above, plus:
Note: Dependency vjslib.dll comes from Visual J# .Net. This conains the APIs to perform the Zip compression.
Usage:
downloadpackager <existing asx or wbv reference> <new directory/zipfile base name>
The first argument may be a http url or a local or UNC reference to an existing asx or wbv file which is the entry point to the archive you wish to package. The second argument is a name which will become the root directory of the stand-alone archive and the base name of the output zip file. An error results if either the directory or the zip file exists when the tool is invoked. The application dereferences WBV and ASX to find media and script files. It then analyzes the script file to find out which slides are referenced. The necessary files are copied to the local output directory, and all paths are converted to relative forms. As a final step, the output directory is zipped to create a single file archive.
The application creates a readme.txt file at the root of the output. This file is formed in part by the contents of the file readme_template.txt which is located in the application directory. You may customize this file to suit your needs.
In order to copy a video file from a windows media server, the tool needs a mapping from mms:// url to local or UNC path. One or more mappings may be specified in downloadpackager.exe.config. They are read from top to bottom, and the first one that matches is used.
The packages created are designed for WebViewer 1.9.5 or later.
|
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to E-mail the page owner] |
|