<?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: My First Habari Plugin</title>
	<atom:link href="http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 16 Mar 2010 13:31:15 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Recent URLs tagged Function - Urlrecorder</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-846</link>
		<dc:creator>Recent URLs tagged Function - Urlrecorder</dc:creator>
		<pubDate>Sun, 18 Jan 2009 17:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-846</guid>
		<description>[...] recorded first by PsyckBoy on 2009-01-10&#8594; My First Habari Plugin [...]</description>
		<content:encoded><![CDATA[<p>[...] recorded first by PsyckBoy on 2009-01-10&rarr; My First Habari Plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Plugin Config: WordPress vs Habari &#124; WP FUN</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-842</link>
		<dc:creator>Plugin Config: WordPress vs Habari &#124; WP FUN</dc:creator>
		<pubDate>Sun, 07 Sep 2008 15:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-842</guid>
		<description>[...] my last Habari plugins post I highlighted the differences, and similarities, in the way plugins are created for WordPress and [...]</description>
		<content:encoded><![CDATA[<p>[...] my last Habari plugins post I highlighted the differences, and similarities, in the way plugins are created for WordPress and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-845</link>
		<dc:creator>Owen</dc:creator>
		<pubDate>Tue, 26 Aug 2008 11:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-845</guid>
		<description>There aren&#039;t any concrete plans for this right now, but the idea I came up with and we had discussed a bit can be found in &lt;a href=&quot;http://groups.google.com/group/habari-dev/browse_thread/thread/605446c3d8b54683/918f826dab47c401?lnk=gst&amp;q=themehelper#918f826dab47c401&quot; rel=&quot;nofollow&quot;&gt;this recent mailing list post&lt;/a&gt;.  The change would basically be to go from echoing $post-&gt;content_out to echoing $post-&gt;content-&gt;out, and would extend to more of Habari&#039;s intrinsic objects.  But keep in mind that this isn&#039;t finalized, so it might change before it&#039;s implemented or not be implemented at all.</description>
		<content:encoded><![CDATA[<p>There aren&#8217;t any concrete plans for this right now, but the idea I came up with and we had discussed a bit can be found in <a href="http://groups.google.com/group/habari-dev/browse_thread/thread/605446c3d8b54683/918f826dab47c401?lnk=gst&amp;q=themehelper#918f826dab47c401" rel="nofollow">this recent mailing list post</a>.  The change would basically be to go from echoing $post-&gt;content_out to echoing $post-&gt;content-&gt;out, and would extend to more of Habari&#8217;s intrinsic objects.  But keep in mind that this isn&#8217;t finalized, so it might change before it&#8217;s implemented or not be implemented at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Rickmann</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-844</link>
		<dc:creator>Andrew Rickmann</dc:creator>
		<pubDate>Sun, 24 Aug 2008 06:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-844</guid>
		<description>You&#039;re not wrong Owen. I had heard about the community ethos surrounding Habari and, PR aside, I got a glimpse of that.

I must admit to jumping into the plugin writing before reading all the getting started stuff. Having read into it more I am starting to understand how the filters work. It makes it very easy to look at the template and filter what you want.

Is there a trac ticket somewhere that explains how it might change?</description>
		<content:encoded><![CDATA[<p>You&#8217;re not wrong Owen. I had heard about the community ethos surrounding Habari and, PR aside, I got a glimpse of that.</p>
<p>I must admit to jumping into the plugin writing before reading all the getting started stuff. Having read into it more I am starting to understand how the filters work. It makes it very easy to look at the template and filter what you want.</p>
<p>Is there a trac ticket somewhere that explains how it might change?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Owen</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-843</link>
		<dc:creator>Owen</dc:creator>
		<pubDate>Sun, 24 Aug 2008 05:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-843</guid>
		<description>Nothing like writing about Habari and getting the PR squad showing up at your doorstep!

I have only a couple of minor thoughts to add to your excellent post.

Habari also allows you to manually register functions/methods as plugin sinks using the &lt;a href=&quot;http://doc.habariproject.org/api/Habari/Plugins.html#register&quot; rel=&quot;nofollow&quot;&gt;Plugins::register()&lt;/a&gt; method.  This could be useful for when you want to do only one of multiple things based on a configuration option, and register only the correct function.  Of course, you could just as easily do this with a switch() within the automatically registered function.

The filter_post_content_out() function is interesting in that it affects the output of $post-&gt;content_out.  $post-&gt;content contains the actual post body content.  Adding the &quot;_out&quot; suffix allows it to be modified by that specific filter.

Using this mechanism, you can create multiple suffixes that filter in different ways.  You could, for example, output $post-&gt;content_summary and then code a plugin function filter_post_content_suffix() to alter just that output.  If a filter for a suffix doesn&#039;t exist, it just outputs the full content, so nothing breaks.  This can be useful for outputting post archive listings specially for just the archive pages, or on any page.

This bit of functionality is probably not documented well because we&#039;re (at least I am) expecting it to change slightly to improve filtering and output support, but that&#039;s how and why things are named as they are.

I&#039;m looking forward to part 2!</description>
		<content:encoded><![CDATA[<p>Nothing like writing about Habari and getting the PR squad showing up at your doorstep!</p>
<p>I have only a couple of minor thoughts to add to your excellent post.</p>
<p>Habari also allows you to manually register functions/methods as plugin sinks using the <a href="http://doc.habariproject.org/api/Habari/Plugins.html#register" rel="nofollow">Plugins::register()</a> method.  This could be useful for when you want to do only one of multiple things based on a configuration option, and register only the correct function.  Of course, you could just as easily do this with a switch() within the automatically registered function.</p>
<p>The filter_post_content_out() function is interesting in that it affects the output of $post-&gt;content_out.  $post-&gt;content contains the actual post body content.  Adding the &#8220;_out&#8221; suffix allows it to be modified by that specific filter.</p>
<p>Using this mechanism, you can create multiple suffixes that filter in different ways.  You could, for example, output $post-&gt;content_summary and then code a plugin function filter_post_content_suffix() to alter just that output.  If a filter for a suffix doesn&#8217;t exist, it just outputs the full content, so nothing breaks.  This can be useful for outputting post archive listings specially for just the archive pages, or on any page.</p>
<p>This bit of functionality is probably not documented well because we&#8217;re (at least I am) expecting it to change slightly to improve filtering and output support, but that&#8217;s how and why things are named as they are.</p>
<p>I&#8217;m looking forward to part 2!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ali B.</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-841</link>
		<dc:creator>Ali B.</dc:creator>
		<pubDate>Sat, 23 Aug 2008 03:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-841</guid>
		<description>&quot;I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won</description>
		<content:encoded><![CDATA[<p>&#8220;I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Rickmann</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-840</link>
		<dc:creator>Andrew Rickmann</dc:creator>
		<pubDate>Fri, 22 Aug 2008 21:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-840</guid>
		<description>@Wesley, I have thought about it but I am not yet convinced. There could be a lot of work involved. I am going to look at converting one or two over though just for the practice.

@Rick, Thanks for linking to those pages. I have been using those and really should have linked to them in the article.

@Skippy, so far I haven&#039;t done anything that isn&#039;t documented but once I do I will certainly look to add to the documentation.

@Matt, thanks for the clarification. The documentation suggests that it is required although it doesn&#039;t state it outright. Consider the tabs done as of the next update.

@Mike, I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won&#039;t have to write any.</description>
		<content:encoded><![CDATA[<p>@Wesley, I have thought about it but I am not yet convinced. There could be a lot of work involved. I am going to look at converting one or two over though just for the practice.</p>
<p>@Rick, Thanks for linking to those pages. I have been using those and really should have linked to them in the article.</p>
<p>@Skippy, so far I haven&#8217;t done anything that isn&#8217;t documented but once I do I will certainly look to add to the documentation.</p>
<p>@Matt, thanks for the clarification. The documentation suggests that it is required although it doesn&#8217;t state it outright. Consider the tabs done as of the next update.</p>
<p>@Mike, I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won&#8217;t have to write any.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikelietz</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-839</link>
		<dc:creator>mikelietz</dc:creator>
		<pubDate>Fri, 22 Aug 2008 20:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-839</guid>
		<description>Thanks!

I&#039;m looking forward to the plugin info for adding to the admin pages - thinking about creating a theme/plugin editor for the admin.</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>I&#8217;m looking forward to the plugin info for adding to the admin pages &#8211; thinking about creating a theme/plugin editor for the admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Read</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-838</link>
		<dc:creator>Matt Read</dc:creator>
		<pubDate>Fri, 22 Aug 2008 19:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-838</guid>
		<description>&quot;With Habari you must have a folder and the plugin file must share that name, using the format [folder name].plugin.php. This is important as it is part of the system that finds and runs plugins.&quot;

Actaully that is not true. You can name the folder anything you want and the plugin file [anything].plugin.php. So you do not need to make them match.

And this is a great post! Thanks for doing it. And nice idea about the plugin wizard (can you make it use tabs instead of spaces ;) ).</description>
		<content:encoded><![CDATA[<p>&#8220;With Habari you must have a folder and the plugin file must share that name, using the format [folder name].plugin.php. This is important as it is part of the system that finds and runs plugins.&#8221;</p>
<p>Actaully that is not true. You can name the folder anything you want and the plugin file [anything].plugin.php. So you do not need to make them match.</p>
<p>And this is a great post! Thanks for doing it. And nice idea about the plugin wizard (can you make it use tabs instead of spaces ;) ).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skippy</title>
		<link>http://wp-fun.co.uk/2008/08/22/my-first-habari-plugin/comment-page-1/#comment-837</link>
		<dc:creator>skippy</dc:creator>
		<pubDate>Fri, 22 Aug 2008 19:50:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=398#comment-837</guid>
		<description>Excellent introduction!  We know that the documentation is weak right now.  The API is really starting to settle down, so now that it&#039;s less of a moving target documentation will get a greater priority.

And of course, you&#039;re invited to help us generate that documentation!  Your introduction here demonstrates a terrific understanding of what new plugin authors need to gain proficiency.</description>
		<content:encoded><![CDATA[<p>Excellent introduction!  We know that the documentation is weak right now.  The API is really starting to settle down, so now that it&#8217;s less of a moving target documentation will get a greater priority.</p>
<p>And of course, you&#8217;re invited to help us generate that documentation!  Your introduction here demonstrates a terrific understanding of what new plugin authors need to gain proficiency.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
