NAME
nodoze - prepares websites built using Microsoft Windows for unix
servers
SYNOPSIS
nodoze directory...
ARGUMENTS
directory... is a list of directories or files. All the
files within every directory in the list are processed by nodoze.
DESCRIPTION
When websites are built on on computers running Microsoft Windows,
the case of file and directory names is often ignored. Other
"widowsizms" are also introduced (such as ending files with .htm
instead of .html). This causes BIG problems if the site is
served under unix.
nodoze is a "quick and dirty" Perl program to repair these
websites so that they will work properly on a unix server.
What nodoze Changes
- ".htm" extensions in file names and in Relative
URLs are changed to ".html"
<img src="document.htm">
becomes <img
src="document.html">
- All files are renamed to lower case. All Relative
URLs are changed to lower case
<img src="http:/Images/my.JPG">
becomes <img
src="http:/images/my.jpg">
- "Dangerous" characters in URLs are escaped
<img src="a space.jpg"> becomes <img
src="a%20space.jpg">
- "\" characters in URLs become "/"
<img
src="http:\\www.server.com">
becomes <img
src="http://www.server.com">
- URLs are quoted
<img src=picture.jpg> becomes <img
src="picture.jpg">
- Javascript: URLs are not changed by nodoze (i.e. the
above doesn't apply to them)
Relative URLs (a.k.a Local URLs)
- In a Relative URL the server is not named
<img src="http:/Local.JPG">
becomes <img
src="http:/local.jpg">
- An Absolute URL is a mailto:, or a
javascript:, or names a server
example: <img
src="http://www.server.com/absolute.jpg">
REQUIRES
Perl 5, Config, FileHandle
AUTHOR
Mike Babulic, http://www.cuug.ab.ca/~babulicm
COPYRIGHT
This program is distributed under the Perl
Artistic License.
DOWNLOAD
nodoze was last changed on October 8, 2005. You can find it on the
author's website
- Version 2.0
- http://www.cuug.ab.ca/~babulicm/perl/nodoze/nodoze20.gz
- Version 1
- http://www.cuug.ab.ca/~babulicm/perl/nodoze/nodoze