<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jsmin as a PHP extension &#8211; JavaScript Minify the Fast Way</title>
	<atom:link href="http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/</link>
	<description>Solaris, PHP, and Random Things</description>
	<lastBuildDate>Wed, 25 Aug 2010 19:21:37 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dale</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1538</link>
		<dc:creator>dale</dc:creator>
		<pubDate>Wed, 25 Aug 2010 19:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1538</guid>
		<description>@igor, my previous comment was about installing this extension on a linux box.  however, I&#039;m trying to compile this on my local install of MAMP and it is compiling it as a 64-bit .so file, but my MAMP needs a ppc and/or i386 version in order for the extension to work successfully.  any ideas on how to accomplish this?</description>
		<content:encoded><![CDATA[<p>@igor, my previous comment was about installing this extension on a linux box.  however, I&#8217;m trying to compile this on my local install of MAMP and it is compiling it as a 64-bit .so file, but my MAMP needs a ppc and/or i386 version in order for the extension to work successfully.  any ideas on how to accomplish this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dale</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1535</link>
		<dc:creator>dale</dc:creator>
		<pubDate>Fri, 20 Aug 2010 16:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1535</guid>
		<description>great extension, @igor.  as long as the php-cli package is installed, set up is an absolute breeze - took me less than 5 minutes to get everything running!</description>
		<content:encoded><![CDATA[<p>great extension, @igor.  as long as the php-cli package is installed, set up is an absolute breeze &#8211; took me less than 5 minutes to get everything running!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1534</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Thu, 12 Aug 2010 10:35:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1534</guid>
		<description>Hi.

It seems that jsmin was made to work with older versions of PHP ( which needed old version of libtool ), because on my current (updated) distribution of Gentoo Linux (kernel 2.6.31, gcc 4.3.4, glibc 2.11.2, libtool 2.2.6b, php 5.2.13), it fails on compiling jsmin, after phpize and configure:

$ make
/bin/sh /usr/local/src/php-jsmin-1.0/libtool --mode=compile cc  -I. -I/usr/local/src/php-jsmin-1.0 -DPHP_ATOM_INC -I/usr/local/src/php-jsmin-1.0/include -I/usr/local/src/php-jsmin-1.0/main -I/usr/local/src/php-jsmin-1.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/php-jsmin-1.0/jsmin.c -o jsmin.lo
/usr/local/src/php-jsmin-1.0/libtool: line 467: CDPATH: command not found
/usr/local/src/php-jsmin-1.0/libtool: line 1152: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
libtool: and run autoconf again.
make: *** [jsmin.lo] Error 63

Do you have a newer version of jsmin which might work with this libtool 2.2.6b ?</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>It seems that jsmin was made to work with older versions of PHP ( which needed old version of libtool ), because on my current (updated) distribution of Gentoo Linux (kernel 2.6.31, gcc 4.3.4, glibc 2.11.2, libtool 2.2.6b, php 5.2.13), it fails on compiling jsmin, after phpize and configure:</p>
<p>$ make<br />
/bin/sh /usr/local/src/php-jsmin-1.0/libtool &#8211;mode=compile cc  -I. -I/usr/local/src/php-jsmin-1.0 -DPHP_ATOM_INC -I/usr/local/src/php-jsmin-1.0/include -I/usr/local/src/php-jsmin-1.0/main -I/usr/local/src/php-jsmin-1.0 -I/usr/lib64/php5/include/php -I/usr/lib64/php5/include/php/main -I/usr/lib64/php5/include/php/TSRM -I/usr/lib64/php5/include/php/Zend -I/usr/lib64/php5/include/php/ext -I/usr/lib64/php5/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/src/php-jsmin-1.0/jsmin.c -o jsmin.lo<br />
/usr/local/src/php-jsmin-1.0/libtool: line 467: CDPATH: command not found<br />
/usr/local/src/php-jsmin-1.0/libtool: line 1152: func_opt_split: command not found<br />
libtool: Version mismatch error.  This is libtool 2.2.6b, but the<br />
libtool: definition of this LT_INIT comes from an older release.<br />
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b<br />
libtool: and run autoconf again.<br />
make: *** [jsmin.lo] Error 63</p>
<p>Do you have a newer version of jsmin which might work with this libtool 2.2.6b ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1001 Fonts</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1522</link>
		<dc:creator>1001 Fonts</dc:creator>
		<pubDate>Thu, 10 Jun 2010 08:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1522</guid>
		<description>&lt;a href=&quot;#comment-1520&quot; rel=&quot;nofollow&quot;&gt;@igor&lt;/a&gt; 
Try the folling PHP code. NOTE the code must be UTF8 encoded or at least some other multibyte encoding.

&lt;?php echo (jsmin(&quot;var utf8Test = &#039;€&#039;;&quot;)); // EURO SIGN U+20AC, ?&gt;

outputs: var utf8Test=&#039; &#039;;
expected:  var utf8Test=&#039;€&#039;;</description>
		<content:encoded><![CDATA[<p><a href="#comment-1520" rel="nofollow">@igor</a><br />
Try the folling PHP code. NOTE the code must be UTF8 encoded or at least some other multibyte encoding.</p>
<p>&lt;?php echo (jsmin(&#8221;var utf8Test = &#8216;€&#8217;;&#8221;)); // EURO SIGN U+20AC, ?&gt;</p>
<p>outputs: var utf8Test=&#8217; &#8216;;<br />
expected:  var utf8Test=&#8217;€&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1001 Fonts</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1521</link>
		<dc:creator>1001 Fonts</dc:creator>
		<pubDate>Thu, 10 Jun 2010 08:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1521</guid>
		<description>Try the folling PHP code. NOTE the code must be UTF8 encoded or at least some other multibyte encoding.

[code]

[/code]

outputs: var utf8Test=&#039; &#039;;
expected:  var utf8Test=&#039;€&#039;;

&lt;a href=&quot;#comment-1520&quot; rel=&quot;nofollow&quot;&gt;@igor&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Try the folling PHP code. NOTE the code must be UTF8 encoded or at least some other multibyte encoding.</p>
<p>[code]</p>
<p>[/code]</p>
<p>outputs: var utf8Test=&#8217; &#8216;;<br />
expected:  var utf8Test=&#8217;€&#8217;;</p>
<p><a href="#comment-1520" rel="nofollow">@igor</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: igor</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1520</link>
		<dc:creator>igor</dc:creator>
		<pubDate>Wed, 09 Jun 2010 19:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1520</guid>
		<description>&lt;a href=&quot;#comment-1519&quot; rel=&quot;nofollow&quot;&gt;@1001 Fonts&lt;/a&gt; 

That may be the case.  The extension is a straight port of jsmin.c with a few thread-safe changes.  Do you have an example?</description>
		<content:encoded><![CDATA[<p><a href="#comment-1519" rel="nofollow">@1001 Fonts</a> </p>
<p>That may be the case.  The extension is a straight port of jsmin.c with a few thread-safe changes.  Do you have an example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1001 Fonts</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1519</link>
		<dc:creator>1001 Fonts</dc:creator>
		<pubDate>Wed, 09 Jun 2010 19:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1519</guid>
		<description>I just realized this extension doesn&#039;t seem to be multibyte safe :( Can anyone else verify this?</description>
		<content:encoded><![CDATA[<p>I just realized this extension doesn&#8217;t seem to be multibyte safe <img src='http://www.ypass.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Can anyone else verify this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1504</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 18 May 2010 12:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1504</guid>
		<description>Eric, I&#039;m tying to build the extension on Windows but it gives a lot of errors. There&#039;s any mean to surpass this? Alternative to this?
Thanks,
Ricardo</description>
		<content:encoded><![CDATA[<p>Eric, I&#8217;m tying to build the extension on Windows but it gives a lot of errors. There&#8217;s any mean to surpass this? Alternative to this?<br />
Thanks,<br />
Ricardo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eric</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1502</link>
		<dc:creator>eric</dc:creator>
		<pubDate>Tue, 18 May 2010 00:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1502</guid>
		<description>&lt;a href=&quot;#comment-1501&quot; rel=&quot;nofollow&quot;&gt;@Ricardo&lt;/a&gt; 
What&#039;s a &quot;Win32?&quot;  These are strange and weird words you&#039;re using.</description>
		<content:encoded><![CDATA[<p><a href="#comment-1501" rel="nofollow">@Ricardo</a><br />
What&#8217;s a &#8220;Win32?&#8221;  These are strange and weird words you&#8217;re using.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://www.ypass.net/blog/2009/06/really-fast-javascript-minify-in-php/comment-page-1/#comment-1501</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 18 May 2010 00:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ypass.net/blog/?p=191#comment-1501</guid>
		<description>Hi there,
I&#039;m trying to compile it on Win32 but I&#039;m getting a lot of errors.
Do you or anyone has the DLL to win32?
Thanks,
Ricardo</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I&#8217;m trying to compile it on Win32 but I&#8217;m getting a lot of errors.<br />
Do you or anyone has the DLL to win32?<br />
Thanks,<br />
Ricardo</p>
]]></content:encoded>
	</item>
</channel>
</rss>
