Ajout d'un fichier INI
authorPatrick PIERRE
mer., 29 mai 2013 10:51:24 +0200
changeset 99 db514bf0f5e9
parent 98 210b4923b089
child 100 02bf0f9100e0
Ajout d'un fichier INI
Ini/leprisme4xhtml.ini
--- /dev/null	jeu. janv. 01 00:00:00 1970 +0000
+++ b/Ini/leprisme4xhtml.ini	mer. mai 29 10:51:24 2013 +0200
@@ -0,0 +1,48 @@
+# $Id$
+
+# -----------------------------------------------------------------------------
+[Initialization]
+directories = Images Audios Videos
+templates = Publidoc2XHtml
+script =
+
+[template:Publidoc2XHtml]
+path =
+exclude = mootools.txt
+exclude[!js] = Js pulse.gif
+exclude[!aud] = audio.png
+
+# -----------------------------------------------------------------------------
+[Input]
+is_dir = false
+file_regex = \.xml$
+content_regex = <publi(doc|set)
+unzip =
+validate = true
+image.ext = svg png tif tiff jpg jpeg eps gif
+audio.ext = wav ogg aac ac3 mp3
+video.ext = dv mpg mp4 ogv mov avi webm flv
+
+[RelaxNG]
+publiset = %(here)s/RelaxNG/publiset.rng
+publidoc = %(here)s/RelaxNG/publidoc.rng
+
+# -----------------------------------------------------------------------------
+[Transformation]
+preprocess =
+preregex = %(here)s/Regex/publidoc2xhtml_pre.regex
+xsl = %(here)s/Xsl/publidoc2xhtml.xsl
+postregex =
+postprocess =
+
+# -----------------------------------------------------------------------------
+[Output]
+make_id =
+format = %(fid)s.html
+validate = false
+#container = Zip
+
+# -----------------------------------------------------------------------------
+[Finalization]
+remove_regex = ~\.?\w{0,4}$
+script =