<?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: krl_geshiSyntaxHighlight released</title>
	<atom:link href="http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/</link>
	<description>a stroke of luck</description>
	<lastBuildDate>Thu, 02 Feb 2012 07:32:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Kelvin Luck</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-995</link>
		<dc:creator>Kelvin Luck</dc:creator>
		<pubDate>Fri, 03 Oct 2008 22:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-995</guid>
		<description>&lt;p&gt;I don&#8217;t think Geshi sucks. It works fine for me. Don&#8217;t you see highlighted code &lt;a href=&quot;/projects/krlgeshisyntaxhighlight&quot;&gt;here&lt;/a&gt; or &lt;a href=&quot;/article/automatically-generating-excludexml-files&quot;&gt;here&lt;/a&gt;?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think Geshi sucks. It works fine for me. Don&#8217;t you see highlighted code <a href="/projects/krlgeshisyntaxhighlight">here</a> or <a href="/article/automatically-generating-excludexml-files">here</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loststylus</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-994</link>
		<dc:creator>Loststylus</dc:creator>
		<pubDate>Fri, 03 Oct 2008 21:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-994</guid>
		<description>&lt;p&gt;Geshi sucks. I’ve tried it five times in my life, but couldn’t run it eith different CMS’s, including wikipedia. It just doesn’t work. &lt;/p&gt;

	&lt;p&gt;Your plugin doesn’t work too. It just make the keywords appear italics. That’s all.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Geshi sucks. I’ve tried it five times in my life, but couldn’t run it eith different CMS’s, including wikipedia. It just doesn’t work. </p>
<p>Your plugin doesn’t work too. It just make the keywords appear italics. That’s all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-82</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Tue, 10 Jan 2006 12:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-82</guid>
		<description>I haven&#8217;t upgraded my textpattern in quite a while&#8230; I&#8217;m planning to when I get a chance and then I will try to update the code in the plugin.</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t upgraded my textpattern in quite a while&#8230; I&#8217;m planning to when I get a chance and then I will try to update the code in the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThaNerd</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-81</link>
		<dc:creator>ThaNerd</dc:creator>
		<pubDate>Tue, 10 Jan 2006 11:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-81</guid>
		<description>It seems upgrading to Textpattern 4.0.3 broke the plugin :o</description>
		<content:encoded><![CDATA[<p>It seems upgrading to Textpattern 4.0.3 broke the plugin :o</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-44</link>
		<dc:creator>Kelvin</dc:creator>
		<pubDate>Sun, 18 Sep 2005 21:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-44</guid>
		<description>Hi Jakob,&lt;br /&gt;
&lt;br /&gt;
Glad to hear that the plugin works more or less with the new build of TXP. I haven&#8217;t got around to updating yet but I guess I should soon. I&#8217;m guessing that they haven&#8217;t fixed the notextile not actually meaning notextile problem if the hacks are still necessary?&lt;br /&gt;
&lt;br /&gt;
Thanks for posting your updated block function,&lt;br /&gt;
&lt;br /&gt;
Cheers,</description>
		<content:encoded><![CDATA[<p>Hi Jakob,</p>
<p>Glad to hear that the plugin works more or less with the new build of TXP. I haven&#8217;t got around to updating yet but I guess I should soon. I&#8217;m guessing that they haven&#8217;t fixed the notextile not actually meaning notextile problem if the hacks are still necessary?</p>
<p>Thanks for posting your updated block function,</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Heuser</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-40</link>
		<dc:creator>Jakob Heuser</dc:creator>
		<pubDate>Mon, 12 Sep 2005 09:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-40</guid>
		<description>Hey Kelvin!  Wanted to let you know I got a variant of your plugin up and running (very similar, trimmed away some of the stuff I didn&#8217;t need like OL support), and ran into a small snag in the TXP 4 classTextile.  For some reason, it was picking up the code as a block element.  To get around this, I redid the block function to support the &lt;code&gt;notextile&lt;/code&gt; tag:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://felocity.org/files/code_snips/txp_4/kvl_notextile__function_block.txt&quot;&gt;New Block Function for classTextile.php&lt;/a&gt; (txt)&lt;br /&gt;
&lt;br /&gt;
Very amazing work Kelvin, and the hacks still apply well to the latest build.</description>
		<content:encoded><![CDATA[<p>Hey Kelvin!  Wanted to let you know I got a variant of your plugin up and running (very similar, trimmed away some of the stuff I didn&#8217;t need like OL support), and ran into a small snag in the TXP 4 classTextile.  For some reason, it was picking up the code as a block element.  To get around this, I redid the block function to support the <code>notextile</code> tag:</p>
<p><a href="http://felocity.org/files/code_snips/txp_4/kvl_notextile__function_block.txt">New Block Function for classTextile.php</a> (txt)</p>
<p>Very amazing work Kelvin, and the hacks still apply well to the latest build.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Palmer</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-36</link>
		<dc:creator>Justin Palmer</dc:creator>
		<pubDate>Thu, 16 Jun 2005 00:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-36</guid>
		<description>I did this a few months ago and forgot to send you the fix.  I forgot what all I had to do in-order to get this to work without the notextile block, but it does work.&lt;br /&gt;
&lt;br /&gt;
It could possibly have some bugs, but it will give you an idea of how to get around the notextile.  I &#8216;think&#8217; the problem was that content from plugins DO NOT get passed through textile in the first place.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://encytemedia.com/files/txp_highlight.phps&quot;&gt;view the source here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers</description>
		<content:encoded><![CDATA[<p>I did this a few months ago and forgot to send you the fix.  I forgot what all I had to do in-order to get this to work without the notextile block, but it does work.</p>
<p>It could possibly have some bugs, but it will give you an idea of how to get around the notextile.  I &#8216;think&#8217; the problem was that content from plugins DO NOT get passed through textile in the first place.</p>
<p><a href="http://encytemedia.com/files/txp_highlight.phps">view the source here</a></p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin Luck</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-28</link>
		<dc:creator>Kelvin Luck</dc:creator>
		<pubDate>Thu, 12 May 2005 20:08:33 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-28</guid>
		<description>Hi Jamie,&lt;br /&gt;
&lt;br /&gt;
Thanks for the feedback&#8230; &lt;br /&gt;
&lt;br /&gt;
Putting the ini_set in the function is probably a good idea although you could maybe make it more robust by doing:&lt;br /&gt;
&lt;br /&gt;
ini_set(&#8220;include_path&#8221;, &#8221;/path/to/geshi/:&#8221;.ini_get(&#8220;include_path&#8221;));&lt;br /&gt;
&lt;br /&gt;
(untested) or something similar? Just so it doesn&#8217;t break anyone&#8217;s non-standard include paths&#8230;&lt;br /&gt;
&lt;br /&gt;
Re. removing the height, this makes good sense.&lt;br /&gt;
&lt;br /&gt;
And re. the notextile tag &#8211; yes, using the txp file upload capability would make sense. I&#8217;m actually a week into a 3 month trip around South America at the moment so unfortunately won&#8217;t be doing any changes myself in this time but you should feel free to and to post a link to the extended code here. Otherwise (and if the notextile tag still isn&#8217;t fixed) I&#8217;ll look into doing it when I get home&#8230;&lt;br /&gt;
&lt;br /&gt;
Cheers :)</description>
		<content:encoded><![CDATA[<p>Hi Jamie,</p>
<p>Thanks for the feedback&#8230; </p>
<p>Putting the ini_set in the function is probably a good idea although you could maybe make it more robust by doing:</p>
<p>ini_set(&#8220;include_path&#8221;, &#8221;/path/to/geshi/:&#8221;.ini_get(&#8220;include_path&#8221;));</p>
<p>(untested) or something similar? Just so it doesn&#8217;t break anyone&#8217;s non-standard include paths&#8230;</p>
<p>Re. removing the height, this makes good sense.</p>
<p>And re. the notextile tag &#8211; yes, using the txp file upload capability would make sense. I&#8217;m actually a week into a 3 month trip around South America at the moment so unfortunately won&#8217;t be doing any changes myself in this time but you should feel free to and to post a link to the extended code here. Otherwise (and if the notextile tag still isn&#8217;t fixed) I&#8217;ll look into doing it when I get home&#8230;</p>
<p>Cheers :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Lawrence</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-27</link>
		<dc:creator>Jamie Lawrence</dc:creator>
		<pubDate>Wed, 11 May 2005 15:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-27</guid>
		<description>well, &#8220;working&#8221; is a relative thing&#8230;  I can do the sytax highlighting but the notextile tag is still misbehaving and I don&#8217;t really want to have to hack each version of txp.  However, I&#8217;m delighted that you&#8217;ve written the plugin as I was just about to start writing my own txp&amp;GeSHi plugin.&lt;br /&gt;
&lt;br /&gt;
I also had to hack the plugin a little bit to change the php include path since my installation on Dreamhost uses PHP as a cgi module (and it seems safer leave it that way), it can&#8217;t make use of .htaccess file to change the include path.  Basically, I just put this at the start of the plugin function:&lt;br /&gt;
&lt;br /&gt;
ini_set(&#8220;include_path&#8221;, &#8221;/path/to/geshi/:.:/usr/local/lib/php&#8221; );&lt;br /&gt;
&lt;br /&gt;
Also note that the instructions you give for modifying geshi.php are a little out of date (v1.06 is the latest version and the constructor has changed &lt;strong&gt;slightly&lt;/strong&gt;)&lt;br /&gt;
&lt;br /&gt;
I&#8217;ve also messed around a little bit to provide an option to remove the height restriction on the code box (i.e., only constrain the width of the div and let the code blocik flow down the page).&lt;br /&gt;
&lt;br /&gt;
My next thought: since the notextile tag is a pain in the perverbial, it would make more sense to use the file-based highlighting.  I wonder if that could be integrated with txp&#8217;s new file upload facility to make things easier?  i.e., upload the code file using txp and then refer to it using the txp name/id rather than the full path.  This would avoid ftp&#8217;ing files around and remember paths etc.  hmmm&#8230;</description>
		<content:encoded><![CDATA[<p>well, &#8220;working&#8221; is a relative thing&#8230;  I can do the sytax highlighting but the notextile tag is still misbehaving and I don&#8217;t really want to have to hack each version of txp.  However, I&#8217;m delighted that you&#8217;ve written the plugin as I was just about to start writing my own txp&#38;GeSHi plugin.</p>
<p>I also had to hack the plugin a little bit to change the php include path since my installation on Dreamhost uses PHP as a cgi module (and it seems safer leave it that way), it can&#8217;t make use of .htaccess file to change the include path.  Basically, I just put this at the start of the plugin function:</p>
<p>ini_set(&#8220;include_path&#8221;, &#8221;/path/to/geshi/:.:/usr/local/lib/php&#8221; );</p>
<p>Also note that the instructions you give for modifying geshi.php are a little out of date (v1.06 is the latest version and the constructor has changed <strong>slightly</strong>)</p>
<p>I&#8217;ve also messed around a little bit to provide an option to remove the height restriction on the code box (i.e., only constrain the width of the div and let the code blocik flow down the page).</p>
<p>My next thought: since the notextile tag is a pain in the perverbial, it would make more sense to use the file-based highlighting.  I wonder if that could be integrated with txp&#8217;s new file upload facility to make things easier?  i.e., upload the code file using txp and then refer to it using the txp name/id rather than the full path.  This would avoid ftp&#8217;ing files around and remember paths etc.  hmmm&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kelvin Luck</title>
		<link>http://www.kelvinluck.com/2005/02/krl_geshisyntaxhighlight-released/comment-page-1/#comment-26</link>
		<dc:creator>Kelvin Luck</dc:creator>
		<pubDate>Wed, 11 May 2005 02:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://nb.kelvinluck.com/?p=15#comment-26</guid>
		<description>Hi Jamie,&lt;br /&gt;
&lt;br /&gt;
It seems like you figured it out :)&lt;br /&gt;
&lt;br /&gt;
On another note, glad to hear that it is working with RC3 &#8211; I am still using an a hacked RC1 and hadn&#8217;t tested with anything newer&#8230;&lt;br /&gt;
&lt;br /&gt;
Hope you find the plugin useful,&lt;br /&gt;
&lt;br /&gt;
Kelvin :)</description>
		<content:encoded><![CDATA[<p>Hi Jamie,</p>
<p>It seems like you figured it out :)</p>
<p>On another note, glad to hear that it is working with RC3 &#8211; I am still using an a hacked RC1 and hadn&#8217;t tested with anything newer&#8230;</p>
<p>Hope you find the plugin useful,</p>
<p>Kelvin :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.410 seconds -->

