From mfortun@users.nuiton.org Mon Aug 29 17:44:02 2011 From: mfortun@users.nuiton.org To: wikitty-commits@list.nuiton.org Subject: [Wikitty-commits] r1199 - in trunk/wikitty-publication/src: main/resources/filters-properties site site/doc site/exemple Date: Mon, 29 Aug 2011 17:44:02 +0200 Message-ID: <20110829154402.A2EDF1589E@nuiton.codelutin.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0725971329142883956==" --===============0725971329142883956== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: mfortun Date: 2011-08-29 17:44:02 +0200 (Mon, 29 Aug 2011) New Revision: 1199 Url: http://nuiton.org/repositories/revision/wikitty/1199 Log: readme for filters option *base for users docs Added: trunk/wikitty-publication/src/site/doc/ trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.r= st trunk/wikitty-publication/src/site/doc/Outils_publication.rst trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst trunk/wikitty-publication/src/site/exemple/README.txt Modified: trunk/wikitty-publication/src/main/resources/filters-properties/README.txt Modified: trunk/wikitty-publication/src/main/resources/filters-properties/REA= DME.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/main/resources/filters-properties/README.tx= t 2011-08-29 15:02:04 UTC (rev 1198) +++ trunk/wikitty-publication/src/main/resources/filters-properties/README.tx= t 2011-08-29 15:44:02 UTC (rev 1199) @@ -1,11 +1,62 @@ -OpeningTemplate -WriteString -StringDelim -ConcatChar -EndingCar -ClosingWriterChar -OpeningWriterChar -ClosingTemplate -MimeType -Key -ContentType \ No newline at end of file + + + +Those filters options are use to transform WikittyPubText content with a +nuiton processor and filters. The goal of this is to include html (and after +other langage design for ui inside web browser) with scripting mechanism.=20 +Instead of write the script and include inside result value html tag, do the= =20 +opposite, that what allow those filters. + +Filters options doc: + +OpeningTemplate: the string openning the template +WriteString: instruction used to write string +StringDelim: string delimiter example : " +ConcatChar: string used to concat char example: + +EndingCar: string that end instruction +ClosingWriterChar: string after write string and before String delim +OpeningWriterChar: string after string delim, before ending car +ClosingTemplate: string that close the template +MimeType: the mime type of the wikittyPubText after decoration +Key: mimetype special usualy originMime.targetMime for example html.javascri= pt +this is linked to mimetype properties=20 +ContentType: content type set for the result of the evaluation of this +wikitty pub text +=20 +Example : + + + +<%var name=3D"bob"%> + + +

Hello World <%=3Dname%>!

+ +with template: + +wpContext.setContentType("[ContentType]"); + +[OpeningTemplate][StringDelim]; +var name=3D bob; +[WriteString][OpeningWriterChar][StringDelim]

Hello World [StringDelim][C= oncatChar]name[ConcatChar]!

[ConcatChar][StringDelim]; + +[WriteString][OpeningWriterChar][StringDelim][StringDelim]; + +This filters will be enable when try to evaluate wikittyPubText with mime ty= pe: +text/[Key], the mime type of the wikittyPubText after will be: [MimeType] + + +If using the default filters:=20 + + +wpContext.setContentType("text/html; charset=3DUTF-8"); + +var wp_result=3D""; +var name=3D bob; +wp_result+=3D"

Hello World "+name+"!

"; + +wp_result+=3D""; + +This filters will be enable when try to evaluate wikittyPubText with mime ty= pe: +text/html.javascript, the mime type of the wikittyPubText after will be: app= lication/javascript + Added: trunk/wikitty-publication/src/site/doc/Faire_une_application_publicati= on.rst =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.= rst (rev 0) +++ trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.= rst 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,4 @@ + + +Expliquer le cheminement faire=20 +un pom prendre en exemple l'exemple en d=C3=A9taillant le tout. \ No newline at end of file Added: trunk/wikitty-publication/src/site/doc/Outils_publication.rst =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/site/doc/Outils_publication.rst = (rev 0) +++ trunk/wikitty-publication/src/site/doc/Outils_publication.rst 2011-08-29 = 15:44:02 UTC (rev 1199) @@ -0,0 +1,10 @@ + + +Syncrhonisation comment =C3=A7a marche + + +Externalize. + + +Plugin maven + Added: trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst = (rev 0) +++ trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst 2011-08-= 29 15:44:02 UTC (rev 1199) @@ -0,0 +1,12 @@ +Fonctionnement des mime type + + + +Rajouter des langages + + +Rajouter le m=C3=A9canisme des mime type extension + + +Jouer avec la d=C3=A9coration + Added: trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst = (rev 0) +++ trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst 2011-0= 8-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,8 @@ + + + +Expliquer le systeme de propri=C3=A9t=C3=A9=20 +ContextData +COntextapp + +Expliquer les actions ce qu'elle font et tout \ No newline at end of file Added: trunk/wikitty-publication/src/site/exemple/README.txt =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/wikitty-publication/src/site/exemple/README.txt = (rev 0) +++ trunk/wikitty-publication/src/site/exemple/README.txt 2011-08-29 15:44:02= UTC (rev 1199) @@ -0,0 +1,4 @@ +Ceci est un exemple de d'utilisation de wikitty publication pour faire des a= pplication + + + --===============0725971329142883956==--