Commit c173dd22 authored by lhommeni's avatar lhommeni

Ajout des README pour les dossiers wikipedia_to_hdoc et wikipedia_to_opale

parent e46d4587
Getting started
---------------
Use a terminal and go to the root of the folder (Wikipedia_to_hdoc).
Generating .hdoc of a Wikipedia article with an URL
---------------------------------------------------
1 - Run the comand corresponding to your OS
On windows :
runURL.bat yourWikipediaUrl yourFilename
yourWikipediaUrl is the Wikipedia URL
yourFilename is the name of the directory in which output files will be placed
For instance : runURL.bat https://fr.wikipedia.org/wiki/Constructeur_(programmation) constructeur
On Linux :
sh runURL.sh yourWikipediaUrl yourFilename
yourWikipediaUrl is the Wikipedia URL
yourFilename is the name of the directory in which output files will be placed
For instance : sh runURL.sh https://fr.wikipedia.org/wiki/Constructeur_(programmation) constructeur
2 - Get the .hdoc in the output/yourFilename folder
Generating .hdoc of a Wikipedia article with a local file
---------------------------------------------------------
1 - Copy the content of the Wikipedia article you want to convert in the directory named “input” and in a file called “source.xml".
2 - Run the comand corresponding to your OS
On windows :
runFile.bat
On Linux :
sh runFile.sh
3 - Get the .hdoc in the output/source folder
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Getting started
---------------
Use a terminal and go to the root of the folder (Wikipedia_to_opale).
Generating .hdoc of a Wikipedia article with an URL
---------------------------------------------------
1 - Run the comand corresponding to your OS
On windows :
runURL.bat yourWikipediaUrl yourFilename
yourWikipediaUrl is the Wikipedia URL
yourFilename is the name of the directory in which output files will be placed
For instance : runURL.bat https://fr.wikipedia.org/wiki/Constructeur_(programmation) constructeur
On Linux :
sh runURL.sh yourWikipediaUrl yourFilename
yourWikipediaUrl is the Wikipedia URL
yourFilename is the name of the directory in which output files will be placed
For instance : sh runURL.sh https://fr.wikipedia.org/wiki/Constructeur_(programmation) constructeur
2 - Get the .scar in the output/yourFilename folder
Generating .hdoc of a Wikipedia article with a local file
---------------------------------------------------------
1 - Copy the content of the Wikipedia article you want to convert in the directory named “input” and in a file called “source.xml".
2 - Run the comand corresponding to your OS
On windows :
runFile.bat
On Linux :
sh runFile.sh
3 - Get the .scar in the output/source folder
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment