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