Usage: "java Linearize"
takes HTML in stdin and stdout same HTML except for TABLE linearized
option:
-help: to see the options supported
-t : To linearize the n th tables (0 for all, default)
-orient : orientation: (row, column, markup - default: row first)
-r : recursive mode (true, false - default: false)
-cs : cell separator (string, default ", ")
-hs : header separator (string, default ", ")
-vs : value separator (string, default "= ")
-ls : line separator (string, default "")
-o : output file result (default stdout)
-file : Linearize the specified file (local disk - default stdin)
-url : Linearize the specified url (net access)
-e: to change the relative addresses of IMG and A.
Uses url address given with -url (or servlet mode), the tag BASE
of document HTML, or the -base option.
-x : active the mode for lynx (change http:// into xhttp://)
-base: give the base URL to be used with the -e option.
-repeat: all4all (repeat all headers for each cell, default)
deepest4all (repeat deepest headers for each cell)
all (repeat column or row headers according to the value
to the parameter orientation)
deepest (repeat deepest column or row headers according to the value
to the parameter orientation)
Software needed
---------------
* jdk1.1.7B minimum
* jsdk2.0 (Servlet) if you want use JLinear in servlet mode
Authors :
Eric Cabrit
Daniel Dardailler - send comments here
You can test with HTML and TABLE in ./test.