<?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: Improved PHP syntax highlighting</title>
	<atom:link href="http://aidanlister.com/2004/04/improved-php-syntax-highlighting/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Sat, 05 May 2012 15:50:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Hyper</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-1323</link>
		<dc:creator>Hyper</dc:creator>
		<pubDate>Wed, 30 Dec 2009 12:24:35 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-1323</guid>
		<description>Wow thanks alot! Amazing work!</description>
		<content:encoded><![CDATA[<p>Wow thanks alot! Amazing work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Lister</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-557</link>
		<dc:creator>Aidan Lister</dc:creator>
		<pubDate>Wed, 28 Jun 2006 12:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-557</guid>
		<description>I&#039;ve updated this class to version 1.4.2

This release fixes the bug in highlighting encased strings, e.g.:
&lt;?php
$string = &quot;foobar $variable&quot;;
?&gt;

The current behaviour matches that of the native highlighter, but some users may wish to highlight variables in encased strings specfically (like in VIM).

To enable this, change the following line (258):
&lt;?php
$colour = ($stringflag === true) ?
?&gt;
To:
&lt;?php
$colour = ($stringflag === true &amp;&amp; $token === T_STRING) ?
?&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve updated this class to version 1.4.2</p>
<p>This release fixes the bug in highlighting encased strings, e.g.:<br />
&lt;?php<br />
$string = &#8220;foobar $variable&#8221;;<br />
?&gt;</p>
<p>The current behaviour matches that of the native highlighter, but some users may wish to highlight variables in encased strings specfically (like in VIM).</p>
<p>To enable this, change the following line (258):<br />
&lt;?php<br />
$colour = ($stringflag === true) ?<br />
?&gt;<br />
To:<br />
&lt;?php<br />
$colour = ($stringflag === true &#038;&#038; $token === T_STRING) ?<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sineld</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-543</link>
		<dc:creator>Sineld</dc:creator>
		<pubDate>Tue, 16 May 2006 11:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-543</guid>
		<description>reaaly very nice script!
thanks...</description>
		<content:encoded><![CDATA[<p>reaaly very nice script!<br />
thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stadler</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-530</link>
		<dc:creator>Stadler</dc:creator>
		<pubDate>Sun, 26 Mar 2006 11:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-530</guid>
		<description>adding overflow: auto; or overflow-x: scroll; to #comments code { in the CSS-file should do the trick too. At least in Firefox.</description>
		<content:encoded><![CDATA[<p>adding overflow: auto; or overflow-x: scroll; to #comments code { in the CSS-file should do the trick too. At least in Firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jb</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-515</link>
		<dc:creator>Jb</dc:creator>
		<pubDate>Thu, 02 Feb 2006 03:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-515</guid>
		<description>should be using wordwrap(); to avoid getting a scroll bar really:-


&lt;?php
    function loadFile($file)
    {
        $this-&gt;_source = wordwrap(file_get_contents($file), 70);
        return true;
    }
?&gt;</description>
		<content:encoded><![CDATA[<p>should be using wordwrap(); to avoid getting a scroll bar really:-</p>
<p>&lt;?php<br />
    function loadFile($file)<br />
    {<br />
        $this-&gt;_source = wordwrap(file_get_contents($file), 70);<br />
        return true;<br />
    }<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knut</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-510</link>
		<dc:creator>Knut</dc:creator>
		<pubDate>Fri, 27 Jan 2006 02:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-510</guid>
		<description>I&#039;ve made a little function, to add [php] bbcode tag, using Aidan&#039;s wonmderful highlighter:

http://php.pastebin.com/730066</description>
		<content:encoded><![CDATA[<p>I&#8217;ve made a little function, to add  bbcode tag, using Aidan&#8217;s wonmderful highlighter:</p>
<p><a href="http://php.pastebin.com/730066" rel="nofollow">http://php.pastebin.com/730066</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dd</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-506</link>
		<dc:creator>Dd</dc:creator>
		<pubDate>Tue, 17 Jan 2006 21:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-506</guid>
		<description>Cool script, thank you =D</description>
		<content:encoded><![CDATA[<p>Cool script, thank you =D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L4wr3ny</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-505</link>
		<dc:creator>L4wr3ny</dc:creator>
		<pubDate>Mon, 16 Jan 2006 09:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-505</guid>
		<description>great script, thanx :-)</description>
		<content:encoded><![CDATA[<p>great script, thanx <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kolucci</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-502</link>
		<dc:creator>Kolucci</dc:creator>
		<pubDate>Sat, 14 Jan 2006 01:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-502</guid>
		<description>Good script. But, what about standard colorizer? We could try to virtually change extension from php to phps and  mod_php will colorize the file! So we could include it. Try it! Aidan - thank you, I&#039;ll you your script in my CMS for Developer Group. :)

[Editor&#039;s Note: There&#039;s no need for that, highlight_file(__FILE__) will highlight the file for you using the standard colorizer. The problem is that the standard colorizer sucks.]</description>
		<content:encoded><![CDATA[<p>Good script. But, what about standard colorizer? We could try to virtually change extension from php to phps and  mod_php will colorize the file! So we could include it. Try it! Aidan &#8211; thank you, I&#8217;ll you your script in my CMS for Developer Group. <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>[Editor's Note: There's no need for that, highlight_file(__FILE__) will highlight the file for you using the standard colorizer. The problem is that the standard colorizer sucks.]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cyanblue</title>
		<link>http://aidanlister.com/2004/04/improved-php-syntax-highlighting/comment-page-1/#comment-492</link>
		<dc:creator>Cyanblue</dc:creator>
		<pubDate>Mon, 19 Dec 2005 11:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=52#comment-492</guid>
		<description>Nice one, Aidan...  :)

Thanks...  :)

CyanBlue</description>
		<content:encoded><![CDATA[<p>Nice one, Aidan&#8230;  <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks&#8230;  <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>CyanBlue</p>
]]></content:encoded>
	</item>
</channel>
</rss>

