Sponsor FloSync Free digital signage & video wall software for Mac and Windows Download Free

GIFserv.acgi (MacHTTP GIF animation w/Netscape)

Post Reply
User avatar
Info-Mac
Administrator
Posts: 13716
Joined: December 21st, 1988, 11:00 am

GIFserv.acgi (MacHTTP GIF animation w/Netscape)

Post by Info-Mac »

Download: http://archive.info-mac.org/inet/web/cg ... 0-acgi.hqx

Background
Netscape Communications's Netscape 1.1b1 web browser supports the
capability to draw "animated" graphics from gif files. Their demo page has
a simple example of their Mozilla character rising from the horizon and
breathing fire. I wanted to support this similar animation from MacHTTP
(soon be WebSTAR, I think.) I took John O'Fallon's shell for building CGIs
and the ANSI C code Netscape provided and I made GIFserv.acgi.

Purpose
GIFserv receives, from a direct argument in HTTP, a folder to scan for GIF
files. It doesn't care about filenames, but the file types must be
Macintosh GIF (type=GIFf). It will open the files alphabetically, read
their contents and formulates one large AppleEvent that contains the
appropriate MIME headers for multipart/x-mixed-replace.

This gives the Netscape 1.1b1 client the appearance of dynamic images.

HTML example included.
>From author,
Richard C. Cardona
Post Reply