[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Dave's Web Tools 1.0



I've been developing and using some MacPerl-based tools for Web-related
tasks, and thought it would be useful enough for the MacPerl community to
make into an official distribution. So here it is: Dave's Web Tools 1.0.
Below is a copy of the Read-Me file. It is archived in a 142k Stuffit
format file. If anybody would like a copy, please feel free to download
from:

http://www.dream.com/Software/Daves-Web-Tools-10.sit

or email me if you want me to send it to you.

-David Ray
daver@idiom.com
------------------

Dave's Web Tools 1.0, 12/4/96
David Ray, 12/4/96

----------------------------------------------------------------------------
Description:

A set of special tools and CGI's for people who develop web pages using the
Macintosh.


----------------------------------------------------------------------------
Files with this distribution:

Image H&W checker - a MacPerl droplet -- Drag and drop an HTML file
onto this, and the program will add correct height and width attributes
to all image tags in the file. The program actually opens and reads the
dimentions directly from each GIF. Requires MacPerl 5.07 or later.
Compatible with Unix Perl.

CGI to text - a MacPerl droplet -- Drag and drop a folder onto this,
and the program will recursively go through all the files and folders
and change every MacPerl PCGI file to a  BBEdit TEXT file. Useful when
you have working MacPerl CGI's on a Mac and you want to move them to a
UNIX server. Requires AppleScript, MacPerl version 5.07 or later, and
the scriptable Finder.

Text to CGI - a MacPerl droplet -- Same as "CGI to Text" except that it
converts all TEXT files with filenames ending in ".cgi" to a MacPerl
PCGI format. Useful when you have CGI's on another platform such as
UNIX and you want to move them to your Mac as MacPerl CGI's. Requires
AppleScript, MacPerl version 5.07 or later, the scriptable Finder, and
the file Template.cgi.

giflet.cgi - a MacPerl "MacHHTP CGI Script" -- this CGI takes an RGB
value in the query string and produces a 1x1 pixel GIF image in the
specified RGB color. Compatible with Unix.

giflet.txt - text version of giflet.cgi for exporting to a Unix server.

imgserv.cgi - a MacPerl "MacHTTP CGI Script" -- Have you ever had a
problem with other people referencing your inline images on their
pages? If so, this CGI will solve your problem. It serves inline images
only if the referring URL contains your server's name. Compatible with
Unix.

imgserv.txt - text version of imgserv.cgi for exporting to a Unix
server.

show.cgi - a MacPerl "MacHHTP CGI Script" -- this CGI is a debugging
tool for CGI developers that shows environment variables for GET and
POST requests, as well as the ability to generate various HTTP headers,
META tags and cookies. It can be used to test browser and complex CGI
behavior. Compatible with Unix.

show.txt - text version of show.cgi for exporting to a Unix server.

template.cgi - a MacPerl "MacHHTP CGI Script" -- this file is used by
the "Text to CGI" script above. It must be in the same folder as that
script and must not be renamed. The code in this file is not important.

Image Preview - a MacPerl droplet -- Drag and drop a folder onto this and
it will create a file called "index.html" in that folder with an image
tag for each image. This allows you to preview all the images in that
folder from a Web browser. Requires MacPerl 5.07 or later. Compatible
with Unix.

Thumbnail Maker - An AppleScript applet. Drag and drop one or more GIF
or JPEG images on this, and it will create a thumbnail graphic for each
image. The thumbnail will appear in the same folder as the original
graphic with filename "name-s.gif" where the original filename was
either "name.jpg" or "name.gif". Requires Jaques Piquet's excellent
program "clip2gif" and the OSAX "Chose several files and folders".
Works only on the Mac platform.

Form Reader - a MacPerl droplet -- If you use a "mailto:" URL on your
Web forms, your form results are mailed to you but are difficult to read.
You can use this droplet to decode the message into a human-readable
format. Save the mail message to a file, then drag and drop that file
onto this droplet. It will decode all the data and put it into a new
file, with the same name ending in ".decoded".

davecam - AppleScript script in TEXT format - A Mac-specific CGI
program. Example of how to put a user-controlled camera on a Mac web
server. This is an AppleScript script intended to be run as a CGI from
MacHTTP or WebStar. Put this at the top level of your server's document
root, then access it with a Web browser. Requires a QuickCam to be
installed on the server.

myscreen - AppleScript script in TEXT format - A Mac-specific CGI
program. A "poor man's Timbuktu". Takes a snapshot of the web server's
screen and returns it to the user's browser. Optionally allows user to
click on the image on their broswer, and the Web server responds as
though somebody actually clicked the mouse on that server in the same
spot.

----------------------------------------------------------------------------
System requirements:

   MacPerl 5.0.7 or later
   AppleScript 1.1 or later


----------------------------------------------------------------------------
Feedback:

Please send praises, bug reports, correspondence regarding Dave's Web
Tools to <daver@idiom.com>.


----------------------------------------------------------------------------
Legal Stuff:

Dave's Web Tools is not freeware or shareware. To use this software,
you must accept the following license agreement:

1. Ownership

All software included in Dave's Web Tools is written and copyright by
David Ray 1994, 1995 and 1996 all rights reserved. Permission is hereby
granted for this code to be used by public domain, provided that the
copyright and credits remain in the code.

You agree not to reverse engineer, modify, resell, or redistribute the
software in any form.

2. Release of Liability

You agree that this is experimental software provided AS IS for the
purpose of evaluation. In no event will David Ray or Dream Designs be
liable to you for any damages arising out of the use of this software.


----------------------------------------------------------------------------
Version History

1.0   - 12/10/96  - First public release.

0.99a - 10/14/96 - First distribution with accompanying ReadMe file.
                   Private distribution.

0.85  - 02/28/96 - First version of giflet.cgi, used on www.dream.com

0.8   - 01/12/95 - First versions of davecam and myscreen, documented in
                   postings on CU-SeeMe and MacPerl mailing lists