Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.
From: David Chappell <David.Chappell@mail.cc.trincoll.edu> Date: Mon, 07 Jan 2002 14:51:56 -0500 Subject: Re: PPR: Installing a custom filter CSBURRIS@ci.tacoma.wa.us wrote: >I have a SVR4 filter (very simple - a perl program that reads from stdin and >writes to stdout -no options). I need to get it to work with PPR, but if >there is a way to install a new filter, it escapes me. Just copying it into >the ./lib/filters subdirectory evidently is not all. > >Celeste Suliin Burris >Systems Administrator >Tacoma Economic Development Dept. >csburris@ci.tacoma.wa.us > Unfortunately, this part of PPR needs to be reworked. If you make a filter for an already-defined file-type, then it is sufficient to copy it into the lib/filters/ directory. However, defining a new file type requires editing ppr/ppr_infile.c. Just add a #define for it and add it to the table and recompile. Suggestions on how to improve the filter system would be welcome. I want to the one to support MIME types and user defined types. - -- ================================================================ David Chappell David.Chappell@Mail.Trincoll.Edu Computing Center Postmaster@Mail.Trincoll.Edu Trinity College (860) 297-2114 Hartford, Connecticut 06106 U.S.A.