View Single Post
Old 12-29-2010, 12:24 PM   #19
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by leonardjensan View Post
Can someone tell me the best way to do this?
That depends what is the original format. The route I usually take is to use open office.

For example if I have RTF or text file I open it in open office writer and save as html.

Than I manually modify html until it is completely well formed. You can check html validity by using tidy.

http://tidy.sourceforge.net/

This is how I usually clean generated HTML (execute from command line):
Quote:
tidy -raw -c -i -ashtml -o output.html <original.html>
kiklop74 is offline   Reply With Quote