cgi/index.cgi
raw| 1 | #!/usr/bin/perl |
| 2 | use warnings; |
| 3 | use strict; |
| 4 | |
| 5 | use HTML::WikiConverter::WebApp; |
| 6 | |
| 7 | # |
| 8 | # Configure the html-to-wiki web application. (Note that each line |
| 9 | # ends in a comma.) |
| 10 | # |
| 11 | |
| 12 | my %config = ( |
| 13 | # Full path to the templates/ directory (eg, where main.html is) |
| 14 | template_path => '__PATH_TO_TEMPLATES__', |
| 15 | ); |
| 16 | |
| 17 | HTML::WikiConverter::WebApp->new( PARAMS => \%config )->run; |