[FSUG PD] convertire testo ascii in HTML

Sbaturzio sbaturzio a satellite1.info
Gio 3 Gen 2008 15:23:57 CET


Sbaturzio scrisse il 03/01/2008 15:09:

>> ciao a tutti, c'è qualche utility che mi possa convertire del testo
>>  ascii in html inserendo i vari caratteri di ritorno a capo e cose
>>  simili?
> 
> Provato ad usare i tag <pre>?

O meglio ancora:

$ apt-cache search text html
...
txt2html - Text to HTML converter
...

$ apt-cache show txt2html
Description: Text to HTML converter
txt2html is a Perl program that converts plain text to HTML.
.
It supports headings, lists, simple character markup, and hyperlinking,
and is highly customizable. It recognizes some of the apparent structure
of the source document (mostly whitespace and typographic layout), and
attempts to mark that structure explicitly using HTML.
.
The purpose for this tool is to provide an easier way of converting
existing text documents to HTML format, giving something nicer than just
whapping the text into a big PRE block. txt2html can also be used to aid
in writing new HTML documents, but there are probably better ways of
doing that.
Homepage: http://txt2html.sourceforge.net/


-- 
Un Ciao in DO Maggiore!
-=) Sbaturzio (=-



Maggiori informazioni sulla lista fsug-pd