Version 8b - compact output - less empty lines,
- indented to reflect deepness in folder tree,
- <pre> tag is used.
===============================================
Converts (makes HTML Encoding) all files in folder recursively and
creates a web-site mirroring source folder in
RESULT_FILES folder.
Creates index.htm as front page for converted folder.
Adds .htm extensions to all result files names.
Usage Click on menu\Go and when conversion is completed,
go to RESULT_FILES and browse from index.htm.
\\
- .bop ..output_text_to_console.f :
..native_separators.false :
..=head1."<html><head><title>" :
..=head2."</title>
<style>
a { text-decoration:none;}
</style>
</head><body><pre>" :
"</pre></body></html>".=end :
..indent." " :
..=color."aabbff"
.bof "$color ".=color."bbddff"."x" : 'swap colors
"$color ".=color."aabbff"."bbddff" :
"$color ".=color."x"."aabbff" :
..&list."<div style=""background-color:#$color ;""><pre>$Indent $ \l" :
>-s :
"$indent ".=Indent."\l".""
.eof < .=last_folder :
..&list."</pre></div>" :
"$indent ".=Indent."\l".""
.bot "$p_rextension .htm".=p_rextension :
"$head1 $file $head2 " :
"$p_local_path /".=folder."\\"."/" :
..&list."$Indent <a href=""$folder $p_rbasic .$p_rextension "">$p_file </a>\l" :
"\h$in " :
"$end " :
.end
- .eop "$head1 $last_folder $head2 \l$list $end ".=out :
..save$out."index.htm"