<?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"
	>
<channel>
	<title>Comments on: Syntax Highlighter plugin for WordPress-MU</title>
	<atom:link href="http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/</link>
	<description>blogging, wordpress-MU, monetization and stuff...</description>
	<pubDate>Fri, 25 Jul 2008 06:13:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Elad</title>
		<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3309</link>
		<dc:creator>Elad</dc:creator>
		<pubDate>Sun, 18 May 2008 04:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3309</guid>
		<description>Yes please, do send over the code to:
elad dot salomons at gmail dot com</description>
		<content:encoded><![CDATA[<p><img style='float: right; margin-left: 10px;' src='http://www.gravatar.com/avatar.php?gravatar_id=0dc99ab7fa4ceae72e677553ccea7358&amp;size=60&amp;default=http%3A%2F%2Fuse.perl.org%2Fimages%2Fpix.gif' alt='' />Yes please, do send over the code to:<br />
elad dot salomons at gmail dot com
<div style='clear:both'></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Agus SA</title>
		<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3307</link>
		<dc:creator>Agus SA</dc:creator>
		<pubDate>Sun, 18 May 2008 02:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3307</guid>
		<description>In my alternatif, you can change /add some code ini syntaxPost function and syntaxFooter

in syntaxPost function,
1. Add global variable just below $IsCodeInPost variable, define as array of codetype, and initilize to zero (0). like below:

global $CodeType;

$CodeType = array ("cpp"=&#62; 0, "csharp"=&#62;0, "css" =&#62; 0, "delphi" =&#62; 0,"java"=&#62;0, "jscript" =&#62; 0, "php"=&#62; 0, "python"=&#62;0, "ruby" =&#62; 0, "sql" =&#62; 0, "vb"=&#62; 0, "xml" =&#62; 0);

	
2. In loop to search/replace [source] add the following code to set the CodeType match to 1

foreach( $theSources[2] as $sourceID =&#62; $sourceBlock ) {
   $theBrush= ......
.		
   $CodeType[$theBrush] = 1;
}

in syntaxFooter: check if $CodeType["vb"] if its value is 1 then include shBrushVb.js and none otherwise.

ok, hope this help. 
i have practiced it in my pemikiran.com, i will send the modified code if you like.</description>
		<content:encoded><![CDATA[<p><img style='float: right; margin-left: 10px;' src='http://www.gravatar.com/avatar.php?gravatar_id=cc34a7583154b837d8b6b08103dd57c1&amp;size=60&amp;default=http%3A%2F%2Fuse.perl.org%2Fimages%2Fpix.gif' alt='' />In my alternatif, you can change /add some code ini syntaxPost function and syntaxFooter</p>
<p>in syntaxPost function,<br />
1. Add global variable just below $IsCodeInPost variable, define as array of codetype, and initilize to zero (0). like below:</p>
<p>global $CodeType;</p>
<p>$CodeType = array (&#8221;cpp&#8221;=&gt; 0, &#8220;csharp&#8221;=&gt;0, &#8220;css&#8221; =&gt; 0, &#8220;delphi&#8221; =&gt; 0,&#8221;java&#8221;=&gt;0, &#8220;jscript&#8221; =&gt; 0, &#8220;php&#8221;=&gt; 0, &#8220;python&#8221;=&gt;0, &#8220;ruby&#8221; =&gt; 0, &#8220;sql&#8221; =&gt; 0, &#8220;vb&#8221;=&gt; 0, &#8220;xml&#8221; =&gt; 0);</p>
<p>2. In loop to search/replace [source] add the following code to set the CodeType match to 1</p>
<p>foreach( $theSources[2] as $sourceID =&gt; $sourceBlock ) {<br />
   $theBrush= &#8230;&#8230;<br />
.<br />
   $CodeType[$theBrush] = 1;<br />
}</p>
<p>in syntaxFooter: check if $CodeType["vb"] if its value is 1 then include shBrushVb.js and none otherwise.</p>
<p>ok, hope this help.<br />
i have practiced it in my pemikiran.com, i will send the modified code if you like.
<div style='clear:both'></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elad</title>
		<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3300</link>
		<dc:creator>Elad</dc:creator>
		<pubDate>Sat, 17 May 2008 14:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3300</guid>
		<description>Agus, thanks, I'm aware of this issue and would like to solve it but still didn't find the correct way - any suggestions?</description>
		<content:encoded><![CDATA[<p><img style='float: right; margin-left: 10px;' src='http://www.gravatar.com/avatar.php?gravatar_id=0dc99ab7fa4ceae72e677553ccea7358&amp;size=60&amp;default=http%3A%2F%2Fuse.perl.org%2Fimages%2Fpix.gif' alt='' />Agus, thanks, I&#8217;m aware of this issue and would like to solve it but still didn&#8217;t find the correct way - any suggestions?
<div style='clear:both'></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knowledge Sharring &#187; Blog Archive &#187; Mencoba SyntaxHighlighter di WPMU</title>
		<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3292</link>
		<dc:creator>Knowledge Sharring &#187; Blog Archive &#187; Mencoba SyntaxHighlighter di WPMU</dc:creator>
		<pubDate>Sat, 17 May 2008 02:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3292</guid>
		<description>[...] plugins SyntaxHighlighter untuk WPMU ini milik Elad Salomons. Cukup inspiratif. Saya sudah memberi masukan kepada Elad Salomons untuk satu feature pengembangan. Berikut adalah contoh penggunaan untuk SyntaxHighlighter ini. [...]</description>
		<content:encoded><![CDATA[<p>[...] plugins SyntaxHighlighter untuk WPMU ini milik Elad Salomons. Cukup inspiratif. Saya sudah memberi masukan kepada Elad Salomons untuk satu feature pengembangan. Berikut adalah contoh penggunaan untuk SyntaxHighlighter ini. [...]
<div style='clear:both'></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Agus SA</title>
		<link>http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3290</link>
		<dc:creator>Agus SA</dc:creator>
		<pubDate>Sat, 17 May 2008 01:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ringofblogs.com/2007/09/22/syntax-highlighter-plugin-for-wordpress-mu/#comment-3290</guid>
		<description>Interesting plugins, good work.

i have a sugestion for the improvement if you like.
in the syntaxFooter, you enable all the js from shCore.js to shBrushCpp.js, that the size about 37 kb. but we don't use it all. maybe just cpp, vb or other but not all in one page. 

When a user ( web surfer ) find your page, he/she download all 37kb but not use all of this. 

the sugestion, maybe you can filter which language use, so just include js that support. for example if the source language just use vb , you just include shCore.js, shBrushVb.js, SyntaxHighlighter.css and clipboard.swf that about 18kb.

hope help :)</description>
		<content:encoded><![CDATA[<p><img style='float: right; margin-left: 10px;' src='http://www.gravatar.com/avatar.php?gravatar_id=cc34a7583154b837d8b6b08103dd57c1&amp;size=60&amp;default=http%3A%2F%2Fuse.perl.org%2Fimages%2Fpix.gif' alt='' />Interesting plugins, good work.</p>
<p>i have a sugestion for the improvement if you like.<br />
in the syntaxFooter, you enable all the js from shCore.js to shBrushCpp.js, that the size about 37 kb. but we don&#8217;t use it all. maybe just cpp, vb or other but not all in one page. </p>
<p>When a user ( web surfer ) find your page, he/she download all 37kb but not use all of this. </p>
<p>the sugestion, maybe you can filter which language use, so just include js that support. for example if the source language just use vb , you just include shCore.js, shBrushVb.js, SyntaxHighlighter.css and clipboard.swf that about 18kb.</p>
<p>hope help <img src='http://www.ringofblogs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<div style='clear:both'></div>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.272 seconds -->
<!-- Cached page served by WP-Cache -->
