Re: Minify an xml into one line

Ger Hobbelt <[email protected]> Sat, 27 Aug 2011 13:55:30 +0200
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <CAFP60frUp95VCLi98TEPKkGNMVvnR5jRg==PbrM9A+9_ep9Xog@mail.gmail.com>
--===============6347756766249314151==
Content-Type: multipart/alternative; boundary=90e6ba212339b26fc504ab7b56c2

--90e6ba212339b26fc504ab7b56c2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sat, Aug 27, 2011 at 12:14 PM, J=E9r=F4me DESPATIS <[email protected]>=
wrote:

>    You're talking about the TidyNewline, but can I change this value in a
> config file somewhere ?
> Because I only see it in
> http://tidy.sourceforge.net/docs/api/tidyenum_8h-source.html, and I would
> need to recompile tidy in order to change this value I'm afraid, no ?
>

Phew... ehm... that's probably dependent on what the PHP module for tidy
does exactly, but _theoretically_ you should be able to feed it a "newline"
option with a value of 1,2 or 3 depending on the enum value you want to giv=
e
it (IIRC the CR, CRLF, LF enum starts with CR=3D1; anyway, see what a
   "newline" =3D> 1,
or other "newline" number value gives you for output.


--=20
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web:    http://www.hobbelt.com/
        http://www.hebbut.net/
mail:   [email protected]
mobile: +31-6-11 120 978
--------------------------------------------------

--90e6ba212339b26fc504ab7b56c2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>On Sat, Aug 27, 2011 at 12:14 PM, J=E9r=F4me DESPATIS <span dir=3D"ltr=
">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;</s=
pan> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


 =20
   =20
 =20
  <div bgcolor=3D"#ffffff" text=3D"#000000">=A0  =A0You&#39;re talking abou=
t the TidyNewline, but can I change this value in
    a config file somewhere ?<br>
    Because I only see it in
    <a href=3D"http://tidy.sourceforge.net/docs/api/tidyenum_8h-source.html=
" target=3D"_blank">http://tidy.sourceforge.net/docs/api/tidyenum_8h-source=
.html</a>, and I
    would need to recompile tidy in order to change this value I&#39;m
    afraid, no ?<br></div></blockquote><div><br></div><div>Phew... ehm... t=
hat&#39;s probably dependent on what the PHP module for tidy does exactly, =
but _theoretically_ you should be able to feed it a &quot;newline&quot; opt=
ion with a value of 1,2 or 3 depending on the enum value you want to give i=
t (IIRC the CR, CRLF, LF enum starts with CR=3D1; anyway, see what a</div>
<div>=A0 =A0&quot;newline&quot; =3D&gt; 1,</div><div>or other &quot;newline=
&quot; number value gives you for output.</div><div><br></div><br>-- <br>Me=
t vriendelijke groeten / Best regards,<br><br>Ger Hobbelt<br><br>----------=
----------------------------------------<br>
web:=A0 =A0 <a href=3D"http://www.hobbelt.com/">http://www.hobbelt.com/</a>=
<br>=A0 =A0 =A0 =A0 <a href=3D"http://www.hebbut.net/">http://www.hebbut.ne=
t/</a><br>mail:=A0=A0 <a href=3D"mailto:[email protected]">[email protected]</a=
><br>mobile: +31-6-11 120 978<br>
--------------------------------------------------<br><br>

--90e6ba212339b26fc504ab7b56c2--


--===============6347756766249314151==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
--===============6347756766249314151==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tidy-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tidy-develop

--===============6347756766249314151==--