Convert folder to html-site.
Version 5. Outdated.
============================
To run, menu/Go can be used.
Converts (Makes HTML Encoding) all files in folder recursively
in <pre>-tag-format.
Adds .htm extensions to all result files names.
Creates index.htm as front page for converted folder.
(Will be displayed in Result tab, and can
be viewed by clicking on "View in Browser" button.)
\\
- .bop ..native_separators.false :
"<html><head><title>".=head1 :
"</title></head><body><pre>".=head2 :
"</pre></body></html>".=end
.bot "$p_rextension .htm".=p_rextension :
"$p_basic .$p_extension ".=file :
"$head1 $file $head2 " :
"$p_shield \\p_local_path /".=folder."\\"."/" :
..&list."<a href=""$folder $p_basic .$p_rextension "">$file </a>\r\n"
.w .&
'----------------------------------------------------------------------------------------
' HTML Encode
'- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
< <
> >
"""" "
& &
'----------------------------------------------------------------------------------------
.eot "$end " .end
- .eop "$head1 Web Site Content$head2 \r\n$list $end ".=out :
..save$out."index.htm" |