[Xitami] filters in puppylinux or any linux.

Paul Reid preid at rci.rutgers.edu
Thu Jan 24 22:55:51 CET 2008


 > set filters in xitami under Linux

What filters have you used in Windows?

Xitami's filter settings simply define external programs to route output 
through. PHP and Perl are common filters. But you can also filter with 
BAT files or custom EXE programs.

In DOS/Windows -or- in unix, set a filter command "sort". Any file which 
is passed through that filter will come out with lines sorted in 
alphabetical order. Both DOS/Win and unix come with a sort, they work 
"nearly the same", and sort typically won't need any path or parameters 
to be found or do "something". This example is not useful (alphabetized 
HTML will be garble) but shows the concept.

If you have been using BAT files, you want Shell Scripts which are 
better but different. If you have custom EXE filters, you need to port 
them to unix executables (or maybe Wine? never worked for me).

This is basic unix, not Xitami. Pick up a UNIX for Newbies book or find 
a tutorial on the web. There is a rich command-line environment under 
Puppy's soft round GUI interface, just like under Windows (because 
Gates/Allen peeped unix-like machinery while developing DOS 2).

And while I am a very long-term fan of Xitami, Apache works well too. If 
you use PHP enough, you will find some place where Apache and PHP have 
been coded around each others' bugs; some things in PHP just DON'T work 
under Xitami.




More information about the Xitami mailing list