Anole Computer Services, LLC Scripts
Anole Computer Services, LLC currently offers three free web site scripts, a random image generator and directory wrapper script written in PERL and a speciallzed weather graphic script written in PHP.NOTE: The following scripts are no longer available or supported:
- NSS Text Counter: Due to unresolvable problems with counts resetting at random that I could never get a handle on.
- DirWrap Photo: This was never intended to be a full blown photo album but folks tended to treat it as such. If you are looking for this type of script there are many other options available.
Random Image Generator (PERL)
Our version of a random image generator. It differs from most random image generators in that the single script can be used to call different groups of random images for different applications. The script can be called with a normal <img> tag or via SSI. If called via SSI, this script generates an <img> tag with the src attribute linked to a random file in a directory specified in the SSI call. It allows the user to specify in the call the alternate text for the <img> tag alt attribute.
It's main advantages over most random image generators include:
- No database to maintain. Just put the files in a directory.
- Can be called via HTML <img> tag or SSI.
- One script can be used for different groups of images.
- Creates an actual <img> tag with alt txt if called via SSI.
- Can automatically create a link to a URL you supply in the call if called via SSI.
DirWrap (PERL)
DirWrap is a CGI script written in PERL that takes the contents of a specified directory and wraps it in an html template of your choice. It was written primarily to provide a means for outputting directory contents on web servers that are configured to disallow directory listings via URL but it can be used with any web server that allows CGI scripts to be run.
Calling DirWrap via CGI results in a listing of hyperlinked file and directory names wrapped in html code specified in a user created template. File details include the file size and last modified date. Directories are differentiated with a small folder icon. New files can be identified graphically by user set parameters. Files can be sorted in a variety of fashions.
Advantages of DirWrap include:
- The ability to hide files so that they do not show up in the directory listing
- The ability to exclude specific directories from display
- The ability to alter the look and feel of the output by utilizing different templates for different directories.
- A built-in download counter that can be enabled or disabled.
- Can be called via URL or form
Weather Graphics(PHP)
Our weather graphics script takes data uploaded from your personal weather station and creates a weather graphic that others can use on their web sites to display the current weather. You can see it in action at the top right of this page.