[Lancaster] meeting, rtf to html & demos.

andy baxter andy at earthsong.free-online.co.uk
Thu Apr 2 13:37:26 UTC 2009


max* wrote:
>> Does anyone know a good way to convert rtf to nice html (i.e. using
>> proper codes like h1 h2 etc, not <p class="Heading1"> which is what open
>> office does)? It's only one document that I have to convert, so not
>> really worth taking the time to write a script, but it would save me a
>> bit of time if there's an automatic way of doing it.
>>     
> I use http://docvert.com/demo/3.4/sample-use.php which gives the cleanest HTML 
> that i've found so far for this kind of thing. It still does stylesheets 
> rubbish, which i search and replace...
>
> better solutions would be welcome since i do a lot of odt to html conversion.
>   
How about if I make the effort to write a script to turn the xhtml 
produced by open office's export function into decent html? Would this 
be useful to you, and do you have any requests for what it should do?

Also, have you tried exporting to LaTeX then converting that using 
latex2html? I had a go at this but latex export in my open office is broken.

andy



More information about the Lancaster mailing list