<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Fun with WordPress - Latest Comments in My First Habari Plugin</title><link>http://funwithwordpress.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 26 Aug 2008 07:57:26 -0000</lastBuildDate><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025117</link><description>There aren'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="http://groups.google.com/group/habari-dev/browse_thread/thread/605446c3d8b54683/918f826dab47c401?lnk=gst&amp;amp;q=themehelper#918f826dab47c401" rel="nofollow"&gt;this recent mailing list post&lt;/a&gt;.  The change would basically be to go from echoing $post-&amp;gt;content_out to echoing $post-&amp;gt;content-&amp;gt;out, and would extend to more of Habari's intrinsic objects.  But keep in mind that this isn't finalized, so it might change before it's implemented or not be implemented at all.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Owen</dc:creator><pubDate>Tue, 26 Aug 2008 07:57:26 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025116</link><description>You're not wrong Owen. I had heard about the community ethos surrounding Habari and, PR aside, I got a glimpse of that.&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;Is there a trac ticket somewhere that explains how it might change?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arickmann</dc:creator><pubDate>Sun, 24 Aug 2008 02:31:44 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025115</link><description>Nothing like writing about Habari and getting the PR squad showing up at your doorstep!&lt;br&gt;&lt;br&gt;I have only a couple of minor thoughts to add to your excellent post.&lt;br&gt;&lt;br&gt;Habari also allows you to manually register functions/methods as plugin sinks using the &lt;a href="http://doc.habariproject.org/api/Habari/Plugins.html#register" rel="nofollow"&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.&lt;br&gt;&lt;br&gt;The filter_post_content_out() function is interesting in that it affects the output of $post-&amp;gt;content_out.  $post-&amp;gt;content contains the actual post body content.  Adding the "_out" suffix allows it to be modified by that specific filter.  &lt;br&gt;&lt;br&gt;Using this mechanism, you can create multiple suffixes that filter in different ways.  You could, for example, output $post-&amp;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'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.&lt;br&gt;&lt;br&gt;This bit of functionality is probably not documented well because we're (at least I am) expecting it to change slightly to improve filtering and output support, but that's how and why things are named as they are.&lt;br&gt;&lt;br&gt;I'm looking forward to part 2!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Owen</dc:creator><pubDate>Sun, 24 Aug 2008 01:57:17 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025114</link><description>"I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won’t have to write any"&lt;br&gt;&lt;br&gt;Yup. FormUI takes care of the GUI and whatnot for the plugins configuration. In fact, even the admin pages (the publish page for example) use this class to construct and handle their GUI. It's pretty cool.&lt;br&gt;&lt;br&gt;Thanks for the enjoyable article and the detailed comparison. It sure sheds some light on how robust and easy the plugin system in Habari is. And great job on the plugin generation tool, that's neat!&lt;br&gt;&lt;br&gt;We sure could use your help to make the documentation better. I agree with skippy that you show a great deal of understanding on what potential plugin authors might need.&lt;br&gt;&lt;br&gt;You can always stop by at #habari on freenode if you need anything.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dmondark</dc:creator><pubDate>Fri, 22 Aug 2008 23:21:31 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025113</link><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.&lt;br&gt;&lt;br&gt;@Rick, Thanks for linking to those pages. I have been using those and really should have linked to them in the article.&lt;br&gt;&lt;br&gt;@Skippy, so far I haven't done anything that isn't documented but once I do I will certainly look to add to the documentation.&lt;br&gt;&lt;br&gt;@Matt, thanks for the clarification. The documentation suggests that it is required although it doesn't state it outright. Consider the tabs done as of the next update.&lt;br&gt;&lt;br&gt;@Mike, I am looking forward to the admin pages bit a lot as I think there are UI helper classes, which means I won't have to write any.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arickmann</dc:creator><pubDate>Fri, 22 Aug 2008 17:22:52 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025112</link><description>Thanks!&lt;br&gt;&lt;br&gt;I'm looking forward to the plugin info for adding to the admin pages - thinking about creating a theme/plugin editor for the admin.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mikelietz</dc:creator><pubDate>Fri, 22 Aug 2008 16:08:46 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025111</link><description>"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."&lt;br&gt;&lt;br&gt;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.&lt;br&gt;&lt;br&gt;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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Read</dc:creator><pubDate>Fri, 22 Aug 2008 15:59:29 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025110</link><description>Excellent introduction!  We know that the documentation is weak right now.  The API is really starting to settle down, so now that it's less of a moving target documentation will get a greater priority.&lt;br&gt;&lt;br&gt;And of course, you'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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">skippy</dc:creator><pubDate>Fri, 22 Aug 2008 15:50:28 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025109</link><description>Nice comparison of some of the differences between writing WordPress and Habari plugins. &lt;br&gt;&lt;br&gt;You are quite right about Habari's documentation on writing plugins being a little thin right now, but there is an &lt;a href="http://wiki.habariproject.org/en/Creating_A_Plugin" rel="nofollow"&gt;introduction to writing plugins&lt;/a&gt; on Habari's wiki, as well as a &lt;a href="http://wiki.habariproject.org/en/Plugin_Hooks" rel="nofollow"&gt;list of Habari's plugin hooks&lt;/a&gt; that makes the job of finding what to hook into to accomplish a task easier.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rick Cockrum</dc:creator><pubDate>Fri, 22 Aug 2008 15:40:58 -0000</pubDate></item><item><title>Re: My First Habari Plugin</title><link>http://www.wp-fun.co.uk/2008/08/22/my-first-habari-plugin/#comment-3025108</link><description>Thanks, this is interesting. I've been thinking about cross platform plugin support.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wesley</dc:creator><pubDate>Fri, 22 Aug 2008 14:55:41 -0000</pubDate></item></channel></rss>