1.86 KB
Newer Older
Antoine's avatar
Antoine committed
2 3
# Converter lexique_to_hdoc

4 5 6 7 8 9 10 11 12
License GPL.3.0

Estelle de Magondeaux
Antoine Aufrechter
Marouane Hammi

Antoine's avatar
Antoine committed
In order to use this converter, follow those steps :
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
1. Create a dictionnary "dictionnaire.xml" which referenciate every definition you want to put ini your hdoc. This dictionnary must respect the "dictionnaire.rng" schema
2. Copy the referenciated definitions in the same current path as the dictionnary (input)
3. Your input folder must contains the dictionnary (dictionnaire.xml) and the lexique definition (**.term).
4.  Execute the run that correspond to your OS. ( for linux, run.bat for ubuntu) 
5.  You will find the result into the output directory: it is named "content.xml".


User documentation
You will find a "help" directory taht contains: 
- A saple of dictionnary that you neef to write and call "dictionnaire.xml".
- the lexique definition that you can choose to put into your hdoc (help/available_definition folder).
The generated folder is a .xml . If you desire to see the output in you browser, you need to rename it as a .html.
If you want to create more definitions with images and tables, you will need to put this ressources in the folder naed "&". It contains all the ressources which are copy-pasted in the output folder so they can de seen in the hdoc.

Audio and video transformation

Known bugs

create a better transformation for the ressources. At the moment the user needs to copy the ressources in a folder named "&". The best would be tomatch the ressources in every definitions, and to call an aNT which automatically copy the ressources needed in this folder.
Create a transformation which allows every audio resources to be seen in the hdoc.

Technical notes
If folders names are changed, you will need to change the tasks of the ANT file.