Ini/leprisme4xhtml.ini
author Patrick PIERRE
mer., 29 mai 2013 10:51:24 +0200
changeset 99 db514bf0f5e9
child 107 87b76270af2f
permissions -rw-r--r--
Ajout d'un fichier INI
Patrick@99
     1
# $Id$
Patrick@99
     2
Patrick@99
     3
# -----------------------------------------------------------------------------
Patrick@99
     4
[Initialization]
Patrick@99
     5
directories = Images Audios Videos
Patrick@99
     6
templates = Publidoc2XHtml
Patrick@99
     7
script =
Patrick@99
     8
Patrick@99
     9
[template:Publidoc2XHtml]
Patrick@99
    10
path =
Patrick@99
    11
exclude = mootools.txt
Patrick@99
    12
exclude[!js] = Js pulse.gif
Patrick@99
    13
exclude[!aud] = audio.png
Patrick@99
    14
Patrick@99
    15
# -----------------------------------------------------------------------------
Patrick@99
    16
[Input]
Patrick@99
    17
is_dir = false
Patrick@99
    18
file_regex = \.xml$
Patrick@99
    19
content_regex = <publi(doc|set)
Patrick@99
    20
unzip =
Patrick@99
    21
validate = true
Patrick@99
    22
image.ext = svg png tif tiff jpg jpeg eps gif
Patrick@99
    23
audio.ext = wav ogg aac ac3 mp3
Patrick@99
    24
video.ext = dv mpg mp4 ogv mov avi webm flv
Patrick@99
    25
Patrick@99
    26
[RelaxNG]
Patrick@99
    27
publiset = %(here)s/RelaxNG/publiset.rng
Patrick@99
    28
publidoc = %(here)s/RelaxNG/publidoc.rng
Patrick@99
    29
Patrick@99
    30
# -----------------------------------------------------------------------------
Patrick@99
    31
[Transformation]
Patrick@99
    32
preprocess =
Patrick@99
    33
preregex = %(here)s/Regex/publidoc2xhtml_pre.regex
Patrick@99
    34
xsl = %(here)s/Xsl/publidoc2xhtml.xsl
Patrick@99
    35
postregex =
Patrick@99
    36
postprocess =
Patrick@99
    37
Patrick@99
    38
# -----------------------------------------------------------------------------
Patrick@99
    39
[Output]
Patrick@99
    40
make_id =
Patrick@99
    41
format = %(fid)s.html
Patrick@99
    42
validate = false
Patrick@99
    43
#container = Zip
Patrick@99
    44
Patrick@99
    45
# -----------------------------------------------------------------------------
Patrick@99
    46
[Finalization]
Patrick@99
    47
remove_regex = ~\.?\w{0,4}$
Patrick@99
    48
script =