Dave Doyle's Site

Dave Doyle's Script Archive


Home Usability Portfolio Resumé Research Performed Program archive

Welcome to my script archive!

When the web was still in its infancy, I became what is now called a web developer. I, and a few others, not only braved this new frontier, but decided to make our programs available to the world for free. The web has evolved quite a bit now, and I'm happy to discover that hundreds of programmers have made their scripts free. Languages and technologies have changed quite a bit since many of these programs were made available. In spite of this, I'm keeping my archives online and adding to them whenever I have something useful that others might need.


Add-a-link 0.8

last updated 2004

Dave Doyle's Add-a-link script is a lot like a lot of the link trading scripts out there, except that it's actually flexible and has a lot of features. After spending hours looking for one that did what I wanted, I gave up and created my own. A few of the features that it provides are:

  • Easy configuration to have it fit into your site.
  • Any number of categories to group links into
  • Use on multiple platforms including Unix and Windows
  • Email abilities to let link owners know that their sites are being removed, or the administrator know a new link has been added
  • Checking of links to ensure that the pages still exist
  • Maximum links, if desired, to prevent pages from growing out of control
  • Hit counting to find out popularity of each link
  • Statistics to find out the most and least popular links, as well as total hits
  • Optional stop words to prevent bad words from being added
  • Optional 'spamming protection' preventing multiple links from the same site

The zipped up Perl script is provided for free. Eventually I will put a demonstration of it on my site.

WebTest 2.0

last updated 2003

WebTest is a JavaScript based test that can be created by a webpage creator. The test requires no server setup or permissions and allows any user to take a self-scored test. The types of questions and scoring levels can be set by the system administrator and works with all browsers. This version of web test allows you to mix and match three different types of questions:

  • fill in the blank- allowing the user to enter a number, a word or similar text
  • multiple choice - lets the user choose from a given set of answers
  • matching - the user can mach between two sets of lists

The JavaScript is provided for free. To help with the creation of tests, a simple demonstration is also available. Save this file and the javascript to your server and feel free to create your own tests.

 

Multi-Path

last updated 2003

Multi-path is a JavaScript based script that can be used to show 'solutions' to complex problems. It allows a person to set a step and a number of options leading to the next step. The steps can be looped if need be. This script is a great way to show logic questions that have more than one possible way to solve them (and numerous dead-ends). This script is also perfect for choose-your-own-adventure type of games.

The JavaScript is available, and a simple demonstration is available showing its use in a very simple choose-your-own-adventure game.

 

Database Manager and Viewer*

last updated 1998

The Database Manager and Viewer scripts are sets of Perl script that were written during the early days of the web. The database manager lets a user create and manager a flatfile database. The database viewer, of course, lets other people view the contents of the database.

  • Database Manager: source code, setup file source code, tar file containing all code, demo
    • A modification of Selena Sol's Database Manager (now at www.extropia.com). The previous bugs are fixed. In addition, tables are laid out different ways depending on if there are multiple entries or single ones which fit the criteria.

      In addition, this script allows the use of checkboxes to add multiple pieces of information, (an additional example of this can be seen in this setup file.

      As with the viewer, a menu of choices is created.

      Lastly, this allows for pictures to be uploaded along with the information. They are saved into a file of the user's choice, and renamed to prevent multiple pictures from having the same name.

  • Database Viewer: source code, setup file source code
    • A modification of Selena Sol's Database Viewer. The previous bugs are fixed. In addition, tables are laid out different ways depending on if there are multiple entries or single ones which fit the criteria.

      Also added to this is the ability to print out a menu of all entries. The menu can be printed in 1 or 2 columns, and with or without frames. In addition, a button has been added to print out a list of everything.

* note: when this was made, there was no way to store web content in a database at a price that the average person could afford.

Mailing List Manager

last updated 1998

An all-purpose mailing list manager. There are three parts. The general mail program allows people to add or remove themselves from a list. There are also two administration scripts: one that allows you to add, remove or list the people for a list, and the second that allows files to be created and mailed.

 

Upload Utility

last updated 1997

This program gives users the ability to upload file into an account. It provides a LOT of protection mechanisms, and keeps files only in certain directories, and with only certain names. It also provides authentication. (note to programmers: encrypted authentication is not added).

 

FORTRAN Applets/Teaching Utility

last updated 1997

There are a number of applets used to teach introductory FORTRAN to students.

 

Simple scripts

last updated 1997

Here are a number of very simple scripts that solve very specific problems. Who knows, maybe someone will have a use for them. Please remember that many of them were written in the mid 90's, where anything written for the web was unique and ground-breaking. Please be gentle. The perl scripts do not have live demos, but the rest do.

  • Stats: source code
    • A Perl script that takes parameters from a database of webhits, and returns a page showing the statistics of the page hits. It can be used in a couple ways, either from a webpage, or from a command line or cron file, to create a history file. This allows for faster parsing, and less disk usage.
  • Glossary : source code & demo
    • A simple JavaScript script that attaches to a word in a document. When clicked it opens up a small window that contains the definition of the word. Not only can the window be closed overtly, but it closes itself quietly when it loses focus.
  • Evaluator: source code & demo
    • A Java applet that allows a user to give a rating by throwing rotten fruit, or giving gold stars to a picture. After choosing this, additional parameters are available to specify why the user feels the way that they do.
    Forwarding Page: source code & demo
    • Not really a program, this is the use of the meta-forward command. There is no excuse for not using this if you ever must forward a user to a new location and cannot update the webserver itself.
  • Image Swap: source code & demo
    • Basic JavaScript that allows the changing of an image depending on if you are over it or not. This is a good way to animate an image when you are over it or over its associated link.
  • Nerd Humor Engine
    • The program used to make a humor page that updates its content to include a new humor file on a schedule.
  • webpage
    • Turns any image directory into a page, so that all the images can be viewed at once, or clicked on to be seen individually. Run from the command line in the form webpage <directoryname>
  • Unhtml: source code
    • A very simple Perl script that removes all of the HTML commands from a file and returns the text as a text file. It is called from a UNIX command line using the form: unhtml <filename>
  • Signature Switching: source code
    • A simple script that randomly chooses a signature file from a directory of signatures and moves it to the .signature file. This only works in a UNIX environment. By placing an entry in a crontab, this can be switched daily, weekly, hourly, etc. A small modification should allow it to be placed within the .signature file and choose a signature every time.
  • Collecting Environment: UNIX source code, NT source code
    • A simple script (which everyone has made) that collects all the information passed from anyone who hits your webpage.
  • Multi-Forms: source code
    • If multiple forms are needed to collect all the data, this script allows this to be done without having to use temp files, by incorporating all of the data within the pages themselves.
  • Form Buttons: source code & demo
    • For use in understanding how forms and buttons work. This allows the use of one JavaScript program to control multiple forms with multiple submit buttons.
Any problems, suggestions or improvements? Please email me at ddoyle@davedoyle.com.

Copyright © 1997-2006     Dave Doyle
http://www.DaveDoyle.com     ddoyle@DaveDoyle.com


Back to Home