From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,524d6e83483a502,start X-Google-Attributes: gid10d4db,public From: "Michael J. Long" Subject: Generic Netscape Plug-in for Linux; mimeplugin v.1.1 Date: 1997/02/17 Message-ID: #1/1 X-Deja-AN: 219314595 X-Original-Date: Tue, 11 Feb 1997 22:05:38 -0500 X-Server-Date: 17 Feb 1997 06:19:03 GMT Followup-To: comp.os.linux.misc Organization: Bowtie Consulting X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Begin Title: Universal MIME Plug-in for Netscape Version: 1.1 Entered-date: February 11, 1997 Description: This is a Universal (I hope) MIME plug-in for Linux. Basically, given a configuration file, it registers the plug-in with a corresponding MIME type. For each MIME type, there must be associated extension(s) and command line to run. For instance, given the MIME type audio/x-midi, it would register with Netscape that it can handle embedded files with the .mid extensions. Of course, a program like playmidi is required to play the file. Take a look at the sample configuration file for examples of how to configure the plug-in. This program was developed to play embedded midi and wav music. Since it requires seperate programs to actually play the file, it does not support streaming. Nor does it have the funky midi and wav controls seen in the Windows version of Netscape, although I would like to add them eventually. Keywords: plugin netscape midi wav linux Author: harshaw@wpi.edu (Carl Shimer) Maintained-by: mjlong@mindspring.com (Michael J. Long) harshaw@wpi.edu (Carl Shimer) Primary-site: sunsite.unc.edu/pub/Linux/system/Network/info-systems/plugins mimeplugin-1.1.tgz Alternate-site: ftp.mindspring.com /pub/users/mjlong/ mimeplugin-1.1.tgz Original-site: ftp.zipnet.net /users/harshaw/ mimeplugin-1.1.tgz Platform: Linux, Sun, should recompile on other architectures Copying-policy: GPL End - --------------------------------------------------------------- Changes from 1.0 -> 1.1: ~~~~~~~~~~~~~~~~~~~~~~~~ - Added support for multiple configuration files - Modified the format of the configuration file to be more flexible, use convertConfig.pl to change old configuration files to the the new format - Allows command to be a non-absolute pathname - Added support for file name to be substituted for %s, if %s is not in the command, the file name is used as the last argument - Changed kill to use SIGTERM instead of SIGINT - Added some error handling - Seperated mimeplugin.c into mimeplugin.h - Modified Makefile to include all local machine definitions - CONF_FILE - name of configuration file - NETSCAPE_DIR - location of netscape startup info, like plugins directory - STDOUT_FILE - file name to log stdout messages - STDERR_FILE - file name to log stderr messages - Modified code to use linked list instead of arrays (more flexible) - Modularized the functions to make it easier to maintain (the OO in me) - Added debug and trace messages - Added lots o' comments - -- * Michael J. Long * #include * NORTEL * Work: mjlong@nortel.ca * RTP, NC * Play: mjlong@mindspring.com -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBMwf32oQRll5MupLRAQFz8AQAkvqiJZ58FeUmtuaImhMsUSjWCMkhwyKo bg1c5SI35gKoj8mAPJ5nUe2Nr9Mo9qHIPMY/M6qqYPjthIYSs0Tw9iGVpzxjwtpr sb3KluiOR/J2cKUhtnk7r0epWAtOLGJ/7dUsyBsvUpbtm78MAMD1W2EI+5tHgIlD g7fyWfMhUBg= =HpZ2 -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html