nodoze 2.0 review

Download
by rbytes.net on

nodoze is a Perl script to repair websites built with MS Windows so that they will work properly on a UNIX server. It changes all

License: Artistic License
File size: 0K
Developer: Mike Babulic
0 stars award from rbytes.net

nodoze is a Perl script to repair websites built with MS Windows so that they will work properly on a UNIX server.

It changes all file and directory names, and all relative URLS in the html, to lower case, and it changes all .htm extensions to .html.

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.

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" >

Requirements:
Perl 5
Config
FileHandle

What's New in This Release:
nodoze now handles < ?php ... php? > and < script > ... < /script > tags gracefully.
"" is changed to "/", and dangerous characters in URLs are escaped.

nodoze 2.0 search tags