FSHL, je debute et...
Posté : 01 oct. 2009, 16:55
Salut a tous, impossible de trouver une aide d' installation en francais sur le net a propos de FSHL, si quelqu' un pouvait comprendre cette petite bete et me dire ce que je dois faire, parce que je comprend pas bien:
Si vous voulez bien m' aider, parce que la...
About FSHL
--------------------------------
Installation and usage notes
--------------------------------
1. copy entire sub-directory 'fshl' into your project (CA C EST FAIT)
2. Choose the best output module for your project, or make your own
There are some deafult output modules in 'fshl/out' directory:
HTML - is default output module and produces XHTML output.
Results must be manually embeded to <pre> tag.
HTML_HP - like HTML module, but adds links to help pages on
defined keywords.
HTML_UTF8 - like HTML, but uses UTF8 multilingual coding scheme
HTML_HP_UTF8 - like HTML_HP but multilingual with UTF8 coding
NOTE: I recommend you to use UTF8 output, but when you need parse
strings in differend code page, this may be changed in
output module. FSHL working with raw text data at input,
and results are converted through htmlEntities() inside the
output module.
(J AIMERAI BIEN HTML_UTF8 MAIS OU LUI INDIQUER????)
3. Create your best adapter between FSHL and your project (ET LA JE SUIS PAUME!!!!!)
FSHL is only highlighter, simple and fast :)
If you want superb API try another one.
4. Create your own nice CSS stylesheet, or use existing one.
You must link CSS manually in your HTML templates, FSHL never
builds any stylesheets.
5. Check updates at http://hvge.sk/scripts/fshl
Code examples
--------------------------------
examples/simple.php - there are some basic usage examples
examples/stream.php - example shows how to highlight very large files on the fly
Look at 'index.php' file located in the root of distribution.
This demo code is also good way to understand how to FSHL works.
Stylesheet example
--------------------------------
Nice default stylesheet is located in the 'fshl/styles/COHEN_style.css' file.
NOTE: You may copy this file into better location in your project.
Contact & support
--------------------------------
Juraj DURECH, [email protected]
Thank you for using FSHL,
the fastest *2) highlighter
in the world :)
Footnotes
--------------------------------
*1) FSHL is flexible, but there is serious problem to handle postfix notations.
This capability will be added in future releases.
*2) FSHL is really fast. Sometime about ten time faster than other highlighters
written in pure PHP.
Si vous voulez bien m' aider, parce que la...