<?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: Merging Google Syntax Highlighter with TinyMCE</title>
	<atom:link href="http://blog.spencerkellis.net/2009/09/merging-google-syntax-highlighter-with-tinymce/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.spencerkellis.net/2009/09/merging-google-syntax-highlighter-with-tinymce/</link>
	<description>An experiment in writing of life as I live it</description>
	<lastBuildDate>Wed, 14 Jul 2010 16:24:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Spencer</title>
		<link>http://blog.spencerkellis.net/2009/09/merging-google-syntax-highlighter-with-tinymce/comment-page-1/#comment-1913</link>
		<dc:creator>Spencer</dc:creator>
		<pubDate>Wed, 14 Jul 2010 16:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spencerkellis.net/?p=350#comment-1913</guid>
		<description>Thanks for the update, Dave. -Spencer</description>
		<content:encoded><![CDATA[<p>Thanks for the update, Dave. -Spencer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.spencerkellis.net/2009/09/merging-google-syntax-highlighter-with-tinymce/comment-page-1/#comment-1910</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 14 Jul 2010 04:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spencerkellis.net/?p=350#comment-1910</guid>
		<description>Hey Spencer, Good work on customizing syntaxhl. I had to make a couple of adjustments to you changes to get it working for me. 

In the TinyMCE init configuration, I had to add: 
extended_valid_elements: &quot;pre[name&#124;class]&quot;,		


And I also modified dialog.js a little:
	f.syntaxhl_code.value = f.syntaxhl_code.value.replace(/&lt;/g,&#039;/g,&#039;&gt;&#039;);  
	textarea_output = &#039;&#039;;   
	textarea_output +=  f.syntaxhl_code.value;  
	textarea_output += &#039; &#039;; /* note space at the end, had a bug it was inserting twice? */  
	tinyMCEPopup.editor.execCommand(&#039;mceInsertContent&#039;, false, textarea_output);  
	tinyMCEPopup.close();</description>
		<content:encoded><![CDATA[<p>Hey Spencer, Good work on customizing syntaxhl. I had to make a couple of adjustments to you changes to get it working for me. </p>
<p>In the TinyMCE init configuration, I had to add:<br />
extended_valid_elements: &#8220;pre[name|class]&#8220;,		</p>
<p>And I also modified dialog.js a little:<br />
	f.syntaxhl_code.value = f.syntaxhl_code.value.replace(/&lt;/g,&#039;/g,&#8217;&gt;&#8217;);<br />
	textarea_output = &#8221;;<br />
	textarea_output +=  f.syntaxhl_code.value;<br />
	textarea_output += &#8216; &#8216;; /* note space at the end, had a bug it was inserting twice? */<br />
	tinyMCEPopup.editor.execCommand(&#8216;mceInsertContent&#8217;, false, textarea_output);<br />
	tinyMCEPopup.close();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alswl</title>
		<link>http://blog.spencerkellis.net/2009/09/merging-google-syntax-highlighter-with-tinymce/comment-page-1/#comment-1236</link>
		<dc:creator>alswl</dc:creator>
		<pubDate>Mon, 01 Feb 2010 13:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.spencerkellis.net/?p=350#comment-1236</guid>
		<description>Thanks 4 it</description>
		<content:encoded><![CDATA[<p>Thanks 4 it</p>
]]></content:encoded>
	</item>
</channel>
</rss>
