User documentation

To use Html2hdoc : either you can go on the website, either you can use directly the sources.

Website

  • Upload the file that you want to use, using the upload button

  • Select your file in the list

  • Do Convert->Hdoc

  • The script can take some time to be executed. Your file should then appear in the list with the same name that the one you upload but with the extension ".hdoc".

  • Select this new file in the list

  • Hit the download button

  • Once the file has been download, unzip it. Change the extension ".hdoc" to ".zip" then unzip it. You will find the file "content.xml" which contains the content of the transformed ".html"

With the sources

Once the sources has been download, and ant and the java jdk installed on your computer, you will be ready to execute the Html2Hdoc script.

  • With the console go on the HtmlToHdoc folder

  • Then execute html_to_hdoc.ant with the following command :

    ant –buildfile html_to_hdoc.ant –DInputPath=PathToInputFile –DoutputPath=PathToOutputFile

By executing this command without arguments, you will convert the file "file.html" from the src folder, and obtain the result under the name "html.hoc" in the out folder.