Leo Charre > WWW-Autosite > text.hi.pl

Download:
WWW-Autosite-1.08.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

text.hi.pl - automatic vim syntax highlighting for any .hi autosite queries

DESCRIPTION ^

Autosite sgc generator. Handler to render text to colored vim syntax.

Looks for handler_text.hi.html file in AUTOSITE_TMPL. If not present, uses default.

This handler acceps a path to any text file (-T heuristic perl guess) and will vim syntax color it to html output.

The router is already configured to route any text.hi queries to this handler. For example

        http://domain.com/file.pod.hi 

Would cause the router to look for this script named as pod.hi.pl and then as text.hi.pl Which would cause the necessary conversion. To get rid of this functionality, simply delete this script from the directory where the router resides.

SEE ALSO ^

For glossary, concepts, and breakdown, please read the WWW::Autosite::Manual.

AUTHOR ^

Leo Charre

syntax highlighting: