<?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: How To Allow Stripped Element Attributes in Wordpress&#8217; TinyMCE Editor</title>
	<atom:link href="http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/</link>
	<description>» scrumptions blog &#038; code » nothing more, nothing less</description>
	<lastBuildDate>Tue, 16 Mar 2010 04:29:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Voku</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-5756</link>
		<dc:creator>Voku</dc:creator>
		<pubDate>Tue, 16 Feb 2010 01:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-5756</guid>
		<description>THX for this... but I have to add the code above in this file -&gt; 
 
wp-includes/js/tinymce/wp-tinymce.php

... because the plugin didn&#039;t work for me (WP 2.9.1) :-(</description>
		<content:encoded><![CDATA[<p>THX for this&#8230; but I have to add the code above in this file -&gt; </p>
<p>wp-includes/js/tinymce/wp-tinymce.php</p>
<p>&#8230; because the plugin didn&#8217;t work for me (WP 2.9.1) <img src='http://www.engfers.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver David</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-5492</link>
		<dc:creator>Oliver David</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-5492</guid>
		<description>here is how u can do it, its the best way</description>
		<content:encoded><![CDATA[<p>here is how u can do it, its the best way</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abel Braaksma</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-3248</link>
		<dc:creator>Abel Braaksma</dc:creator>
		<pubDate>Thu, 09 Jul 2009 10:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-3248</guid>
		<description>This looks really like what I need right now. I want to experiment a bit with TinyMCE. Though I know it pretty well from other environments, I&#039;m quite new to WordPress. Could you extend your post to explain to noobs like me where and how your code should be added? I.e., suppose I&#039;d make a plugin with some TinyMCE settings changed, can I then use your code and how?</description>
		<content:encoded><![CDATA[<p>This looks really like what I need right now. I want to experiment a bit with TinyMCE. Though I know it pretty well from other environments, I&#8217;m quite new to WordPress. Could you extend your post to explain to noobs like me where and how your code should be added? I.e., suppose I&#8217;d make a plugin with some TinyMCE settings changed, can I then use your code and how?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugenia Mcloskey</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-1320</link>
		<dc:creator>Eugenia Mcloskey</dc:creator>
		<pubDate>Thu, 22 Jan 2009 15:30:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-1320</guid>
		<description>Good piece.</description>
		<content:encoded><![CDATA[<p>Good piece.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-1303</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 13 Jan 2009 17:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-1303</guid>
		<description>In order to use the iframe within TinyMCE, the code above would read as such:

function my_change_mce_options( $init ) {
    // Command separated string of extended elements
    $ext = &#039;iframe[id&#124;class&#124;title&#124;style&#124;align&#124;frameborder&#124;height&#124;longdesc&#124;marginheight&#124;marginwidth&#124;name&#124;scrolling&#124;src&#124;width]&#039;;

    // Add to extended_valid_elements if it alreay exists
    if ( isset( $init[&#039;extended_valid_elements&#039;] ) ) {
        $init[&#039;extended_valid_elements&#039;] .= &#039;,&#039; . $ext;
    } else {
        $init[&#039;extended_valid_elements&#039;] = $ext;
    }

    // Super important: return $init!
    return $init;
}

add_filter(&#039;tiny_mce_before_init&#039;, &#039;my_change_mce_options&#039;);</description>
		<content:encoded><![CDATA[<p>In order to use the iframe within TinyMCE, the code above would read as such:</p>
<p>function my_change_mce_options( $init ) {<br />
    // Command separated string of extended elements<br />
    $ext = &#8216;iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]&#8216;;</p>
<p>    // Add to extended_valid_elements if it alreay exists<br />
    if ( isset( $init['extended_valid_elements'] ) ) {<br />
        $init['extended_valid_elements'] .= &#8216;,&#8217; . $ext;<br />
    } else {<br />
        $init['extended_valid_elements'] = $ext;<br />
    }</p>
<p>    // Super important: return $init!<br />
    return $init;<br />
}</p>
<p>add_filter(&#8216;tiny_mce_before_init&#8217;, &#8216;my_change_mce_options&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using SyntaxHighlighter to Format Code in WordPress » Ellis Web</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-1112</link>
		<dc:creator>Using SyntaxHighlighter to Format Code in WordPress » Ellis Web</dc:creator>
		<pubDate>Sun, 14 Dec 2008 11:59:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-1112</guid>
		<description>[...] Engfer lambasts me for editing wordpress core files that will be overwritten whenever wordpress is upgraded. Instead, [...]</description>
		<content:encoded><![CDATA[<p>[...] Engfer lambasts me for editing wordpress core files that will be overwritten whenever wordpress is upgraded. Instead, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-727</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Sat, 01 Nov 2008 08:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-727</guid>
		<description>sorry as above iframe</description>
		<content:encoded><![CDATA[<p>sorry as above iframe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://www.engfers.com/2008/10/16/how-to-allow-stripped-element-attributes-in-wordpress-tinymce-editor/comment-page-1/#comment-726</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Sat, 01 Nov 2008 08:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.engfers.com/?p=635#comment-726</guid>
		<description>Hi - we are desparate to include    - we are using wp 2.6.3 plus tincymce extended  - cud u possibly help&gt;</description>
		<content:encoded><![CDATA[<p>Hi &#8211; we are desparate to include    &#8211; we are using wp 2.6.3 plus tincymce extended  &#8211; cud u possibly help&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
