<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Notes &#38; Stuff &#187; php</title>
	<atom:link href="http://funroe.net/notes/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://funroe.net/notes</link>
	<description>Just another Funroe weblog</description>
	<lastBuildDate>Sun, 12 May 2013 20:17:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2-alpha</generator>
		<item>
		<title>WordPress 3.0 Ajax Notes</title>
		<link>http://funroe.net/notes/2010/03/25/wordpress-3-0-ajax-notes/</link>
		<comments>http://funroe.net/notes/2010/03/25/wordpress-3-0-ajax-notes/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 20:03:26 +0000</pubDate>
		<dc:creator>jess</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://funroe.net/notes/2010/03/25/wordpress-3-0-ajax-notes/</guid>
		<description><![CDATA[Collecting up some WordPress 3.0 and Ajax notes. Nice round look at current state of Ajax and WordPress: http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/ Here&#8217;s the WordPress Trac discussion for implementation in WordPress 3.0: http://core.trac.wordpress.org/ticket/12400]]></description>
				<content:encoded><![CDATA[<p>Collecting up some WordPress 3.0 and Ajax notes.</p>
<p>Nice round look at current state of Ajax and WordPress:</p>
<p><a href="http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/" rel="nofollow">http://www.wphardcore.com/2010/5-tips-for-using-ajax-in-wordpress/</a></p>
<p>Here&#8217;s the WordPress Trac discussion for implementation in WordPress 3.0:</p>
<p><a href="http://core.trac.wordpress.org/ticket/12400" rel="nofollow">http://core.trac.wordpress.org/ticket/12400</a></p>
]]></content:encoded>
			<wfw:commentRss>http://funroe.net/notes/2010/03/25/wordpress-3-0-ajax-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Super Edit &amp; Some WordPress TinyMCE Notes</title>
		<link>http://funroe.net/notes/2010/03/25/wp-super-edit-some-wordpress-tinymce-notes/</link>
		<comments>http://funroe.net/notes/2010/03/25/wp-super-edit-some-wordpress-tinymce-notes/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 19:38:19 +0000</pubDate>
		<dc:creator>jess</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://funroe.net/notes/2010/03/25/wp-super-edit-some-wordpress-tinymce-notes/</guid>
		<description><![CDATA[Discussion on wp-hackers centering around a simpler api for creating simple buttons. Otto: There&#8217;s an example to add a quick button to TinyMCE at: http://tinymce.moxiecode.com/examples/example_20.php To do this in a WP plugin, you&#8217;d hook to mce_buttons_2 (or 3, or 4) to add your button to the list. Then you&#8217;d hook up a filter on tiny_mce_before_init [...]]]></description>
				<content:encoded><![CDATA[<p>Discussion on wp-hackers centering around a simpler api for creating simple buttons. </p>
<p>Otto: </p>
<p>There&#8217;s an example to add a quick button to TinyMCE at:</p>
<p><a href="http://tinymce.moxiecode.com/examples/example_20.php" rel="nofollow">http://tinymce.moxiecode.com/examples/example_20.php</a></p>
<p>To do this in a WP plugin, you&#8217;d hook to mce_buttons_2 (or 3, or 4) to add your button to the list. Then you&#8217;d hook up a filter on tiny_mce_before_init to add your javascript code to the $initArray['setup']. That should be pretty much that, really.</p>
<p>Someone suggested to combine that a simple button api with the shortcode api to create a simple visual editor button api. Probably way to many use cases to cover, but it is an interesting concept. Some groundwork exists in the Super Emoticons code for WP Super Edit.</p>
]]></content:encoded>
			<wfw:commentRss>http://funroe.net/notes/2010/03/25/wp-super-edit-some-wordpress-tinymce-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing The WordPress.com Custom CSS Plugin</title>
		<link>http://funroe.net/notes/2010/03/13/fixing-the-wordpress-com-custom-css-plugin/</link>
		<comments>http://funroe.net/notes/2010/03/13/fixing-the-wordpress-com-custom-css-plugin/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 17:41:04 +0000</pubDate>
		<dc:creator>jess</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://funroe.net/notes/2010/03/13/fixing-the-wordpress-com-custom-css-plugin/</guid>
		<description><![CDATA[That plugin is custom to WordPress.com, so it&#8217;s not really for wide usage yet. But I did find these notes for WPMU usage: I needed to do two things to make it work: On line 131 change is_int() to is_numeric(): if ( is_numeric( $blog_id ) ) { switch_to_blog( $blog_id ); $current_plugins = apply_filters( &#8216;active_plugins&#8217;, get_option( [...]]]></description>
				<content:encoded><![CDATA[<p>That plugin is custom to WordPress.com, so it&#8217;s not really for wide usage yet. But I did find these notes for WPMU usage:</p>
<p>I needed to do two things to make it work:</p>
<p>On line 131 change is_int() to is_numeric():</p>
<p>if ( is_numeric( $blog_id ) ) {<br />
	switch_to_blog( $blog_id );<br />
	$current_plugins = apply_filters( &#8216;active_plugins&#8217;, get_option( &#8216;active_plugins&#8217; ) );<br />
}</p>
<p>Then in my .htaccess add the following:</p>
<p>RewriteRule ^custom-css.php /index.php [L,QSA]</p>
<p>Now works a treat.</p>
]]></content:encoded>
			<wfw:commentRss>http://funroe.net/notes/2010/03/13/fixing-the-wordpress-com-custom-css-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
