Nihongo (Japanese)

SSI Filter

What is it?

This program is a filter for HTML documents including SSI of Apache or other web servers. It reads an HTML document including SSIs, recognizes and processes them, and outputs an HTML document. Even though it does not understand all of the elements of SSI, but it seems to work well for me :-)

Supported element

Supported elements are as follows;

But, there are limitations as follows;

Usage

$ ruby hf.rb < in.shtml > out.html
$ ruby hf.rb --input-file in.shtml > out.html

The program reads data from a file specified with an option "--input-file" or from standard input.



[Rabbit Mark] Feel free to mail me

sato.mshr@gmail.com