<?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>Bin-Blog &#187; wp</title>
	<atom:link href="http://www.bin-co.com/blog/tag/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Plugin Week 2: WordPress Plugin &#8211; Weather Man</title>
		<link>http://www.bin-co.com/blog/2009/07/plugin-week-2-wordpress-plugin-weather-man/</link>
		<comments>http://www.bin-co.com/blog/2009/07/plugin-week-2-wordpress-plugin-weather-man/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 16:58:54 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin-week-2]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[weather-man]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wp-plugin]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=294</guid>
		<description><![CDATA[After the success of <a href="http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/">Plugin Week</a>, I have decided to do it once again. So, without further ado, <strong class="highlight">Welcome to Plugin Week 2</strong>. If you don't know what a plugin week is, its <strong class="highlight">a week when I publish one plugin per day - for an entire week</strong>.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/wordpressplugin.gif" alt="Wordpress Plugin" title="Wordpress Plugin" width="180" height="130" class="aligncenter size-full wp-image-297 intro" align="right" /></p>
<p class="intro">After the success of <a href="http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/">Plugin Week</a>, I have decided to do it once again. So, without further ado, <strong class="highlight">Welcome to Plugin Week 2</strong>. If you don&#8217;t know what a plugin week is, its <strong class="highlight">a week when I publish one plugin per day &#8211; for an entire week</strong>.</p>
<p>There is one big difference between Plugin Week 1 and Plugin Week 2. In Plugin Week 1, only wordpress plugins where release(they are <a href="http://www.bin-co.com/blog/2008/11/eventr-wordpress-plugin/">Eventr</a>, <a href="http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/">Autofields</a>, <a href="http://www.bin-co.com/blog/2008/11/pollin-wordpress-plugin/">Pollin</a>, <a href="http://www.bin-co.com/blog/2008/11/surveys-wordpress-plugin/">Surveys</a>, <a href="http://www.bin-co.com/blog/2008/11/quartz-wordpress-plugin/">Quartz</a> and <a href="http://www.bin-co.com/blog/2008/11/quizzin-wordpress-plugin/">Quizzin</a>). This time around, I will <strong class="highlight">not restrict myself to WordPress plugins</strong> &#8211; I&#8217;m going for other software too &#8211; expect Drupal plugins, jQuery plugins and more.</p>
<p>I&#8217;ll start off with a very simple plugin&#8230;</p>
<h2>Weather Man WordPress Plugin</h2>
<p><a href="http://www.bin-co.com/tools/wordpress/plugins/weather-man/">Weather Man</a> <strong class="highlight">shows the weather as a widget</strong> in the sidebar. You can add the widget using the Widget page under Appearance. Or you can add it in a post using the [weather-man] shortcode anywhere in the post. It uses Yahoo&#8217;s Weather API.</p>
<h3><a href="http://downloads.wordpress.org/plugin/weather-man.zip">Download Plugin</a></h3>
<p><a href="http://wordpress.binnyva.com/plugin/weather-man-plugin-test/">Demo of Weather Man WordPress Plugin</a></p>
<h3>Installation</h3>
<ul>
<li>Download the <a href="http://downloads.wordpress.org/plugin/weather-man.zip">zipped file</a>.</li>
<li>Extract and upload the contents of the folder to /wp-contents/plugins/ folder</li>
<li>Go to the Plugin management page of WordPress admin section and enable the &#8216;Weather Man&#8217; plugin</li>
<li>Go to the Widget configuration(under Appearance) and add the Weather Man Widget into any sidebar.</li>
<li>Alternatively, you can add the [weather-man] tag in any post and the Weather Man Widget will show up there.</li>
</ul>
<h3>Screenshots</h3>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/before.png" alt="Weather Form" title="Weather Form" width="318" height="131" class="aligncenter size-full wp-image-296" /></p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/07/after.png" alt="Weather Display" title="Weather Display" width="378" height="321" class="aligncenter size-full wp-image-295" /></p>
<h3>Feedback</h3>
<p>If you have any suggestions or notice any problems with the plugin, post it in the <a href="http://projects.binnyva.com/forum/viewforum.php?f=16">Weather Man Plugin forum</a>.</p>
<h2>About Me and Plugin Week</h2>
<p>If you are new to this blog(I hope to get many new visitors due to the Plugin Week), <strong class="highlight">I&#8217;m Binny. I&#8217;m a freelance web developer on the LAMP platform</strong>. I specialize in PHP and <a href="http://www.openjs.com/">JavaScript</a>. More about me on my <a href="http://binnyva.com/">personal site</a>. Plugin Week 2 is an initiative to force myself to a small deadline to write code. It worked great during Plugin Week 1 &#8211; so I&#8217;m doing it again. Also, I get a lot of visitors during the Plugin Week <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  &#8211; that can&#8217;t be bad.</p>
<p>If you want to get news about the upcoming plugin releases(remember, 1 per day), please <strong class="highlight"><a href="http://feeds2.feedburner.com/bin-blog">subscribe to this site</a></strong>.</p>
<p>If you like the concept of the Plugin Week or if you found it helpful, <strong class="highlight">consider writing a post about Plugin Week on your blog</strong>. If you write a post, please let me know &#8211; and I&#8217;ll list your post on the last day of the plugin week(it will have a &#8216;Thank You for your Support&#8217; section).</p>
<p>Next plugin will be released tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/07/plugin-week-2-wordpress-plugin-weather-man/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Show Popular Posts in WordPress &#8211; without a plugin</title>
		<link>http://www.bin-co.com/blog/2009/03/show-popular-posts-in-wordpress-without-a-plugin/</link>
		<comments>http://www.bin-co.com/blog/2009/03/show-popular-posts-in-wordpress-without-a-plugin/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 18:27:20 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin-killer]]></category>
		<category><![CDATA[popular]]></category>
		<category><![CDATA[series]]></category>
		<category><![CDATA[top]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=240</guid>
		<description><![CDATA[A list of the popular posts of the blog is a standard feature in many blogs. There are quite a few plugins that offer this feature. In case you are new to this blog, I am currently working on the <a href="http://www.bin-co.com/blog/2009/03/wordpress-plugin-killer-series/">Plugin Killer Series</a> - a series of post in which I explain how to duplicate the functionality provided by some wordpress plugins - without having to install the plugin.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2009/03/halo_wordpress.jpg" alt="WordPress Helo Effect" title="WordPress Helo Effect" width="300" height="233" class="alignnone size-full wp-image-238 intro" align="right" /></p>
<p class="intro">A <strong class="highlight">list of the popular posts</strong> of the blog is a standard feature in many blogs. There are quite a few plugins that offer this feature&#8230;</p>
<ul>
<li><a href="http://ajaydsouza.com/wordpress/plugins/top-10/">Top 10 &#8211; A Page Counter and Popular Posts plugin for WordPress</a></li>
<li><a href="http://alexking.org/blog/2005/05/23/popularity-contest">Popularity Contest Plugin (beta)</a></li>
<li><a href="http://wordpress.org/extend/plugins/wordpress-popular-posts/">WordPress Popular Posts</a></li>
<li><a href="http://boakes.org/most-wanted/">MostWanted &#8211; a Popular Posts Plugin for WordPress</a></li>
</ul>
<p>Now, lets see how to do it without using a plugin. In case you are new to this blog, I am currently working on the <a href="http://www.bin-co.com/blog/2009/03/wordpress-plugin-killer-series/">Plugin Killer Series</a> &#8211; a series of post in which I explain how to duplicate the functionality provided by some wordpress plugins &#8211; without having to install the plugin.</p>
<p>These <strong class="highlight">plugins work by adding a view counter for each post</strong> &#8211; whenever a user visits a page, it will increment the count for that page by one. Unfortunately, WordPress does not provide this feature. But there is <strong class="highlight">another indicator for the popularity of a post &#8211; its comment count</strong>.</p>
<h2>The Code</h2>
<h3>Getting Comment Count &#8211; SQL</h3>
<p>So the first step is to get the list of post with the most comments. To get that, we can use the following SQL statement&#8230;</p>
<pre><code class="sql">SELECT id,post_title FROM wp_posts ORDER BY comment_count DESC LIMIT 0,10</code></pre>
<h3>Listing The Data &#8211; PHP/SQL</h3>
<p>This query will return just 10 posts. If you want more(or less) post, just change the number after LIMIT accordingly. The PHP code for executing the query and getting its result is&#8230;</p>
<pre><code class="php">$popular_posts = $wpdb-&gt;get_results("SELECT id,post_title FROM {$wpdb-&gt;prefix}posts ORDER BY comment_count DESC LIMIT 0,10");
foreach($popular_posts as $post) {
	// Do something with the $post variable
}
</code></pre>
<h3>Final Output as Links in a List &#8211; HTML/PHP/SQL</h3>
<p>Next step is to get the URL of each post. The recommended way of doing this is by using the &#8216;<a href="http://codex.wordpress.org/Template_Tags/get_permalink">get_permalink</a>&#8216; function. Another thing we have to do is to map the result as an HTML list&#8230;</p>
<pre><code class="php">&lt;li&gt;&lt;h3&gt;Popular Posts&lt;/h3&gt;
&lt;ul class="bullets"&gt;
&lt;?php
$popular_posts = $wpdb-&gt;get_results("SELECT id,post_title FROM {$wpdb-&gt;prefix}posts ORDER BY comment_count DESC LIMIT 0,10");
foreach($popular_posts as $post) {
	print "&lt;li&gt;&lt;a href='". get_permalink($post-&gt;id) ."'&gt;".$post-&gt;post_title."&lt;/a&gt;&lt;/li&gt;\n";
}
?&gt;
&lt;/ul&gt;
&lt;/li&gt;</code></pre>
<p>Note: The HTML part of the code may need to be changed &#8211; depending on your theme.</p>
<p>Add this code to the <code>sidebar.php</code> file in your theme &#8211; and you are done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2009/03/show-popular-posts-in-wordpress-without-a-plugin/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin Week</title>
		<link>http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/</link>
		<comments>http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 18:24:05 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin-week]]></category>
		<category><![CDATA[quartz]]></category>
		<category><![CDATA[quizzin]]></category>
		<category><![CDATA[surveys]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=208</guid>
		<description><![CDATA[As my subscribers already know, the week before last was <strong class="highlight">Plugin Week - that's when I publish one WordPress plugin per day for one week</strong>. And I managed to pull it off too - there is a list of all the plugins released on that week...]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/10/wordpress_logo.png" alt="" title="WordPress Logo" width="183" height="145" class="alignnone size-full wp-image-136 intro" align="right" /></p>
<p class="intro">As my subscribers already know, the week before last was <strong class="highlight">Plugin Week &#8211; that&#8217;s when I publish one WordPress plugin per day for one week</strong>. And I managed to pull it off too &#8211; there is a list of all the plugins released on that week&#8230;</p>
<dl>
<dt><a href='http://www.bin-co.com/blog/2008/11/eventr-wordpress-plugin/'>Eventr WordPress Plugin</a></dt>
<dd>
<p><a href="http://www.bin-co.com/tools/wordpress/plugins/eventr/">Eventr plugin</a> lets you use your blog as an event management tool. You can create an event &#8211; the plugin will let people sign up for the event &#8211; it can also show a list of all the attendees. Once the event is done, you can deactivate the event and no more signups will be allowed.</p>
</dd>
<dt><a href='http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/'>Autofields WordPress Plugin</a></dt>
<dd>
<p><a href="http://www.bin-co.com/tools/wordpress/plugins/autofields/">AutoFields Plugin</a> will <strong class="highlight">auto fill the Excerpt and add an Image custom field based on the data you entered</strong> into the contents editor. This plugin will set the <strong class="highlight">first paragraph of the content as the excerpt</strong> and take the <strong class="highlight">first image(if there are any) and set it as the &#8216;Image&#8217; custom field</strong>(needed for some themes &#8211; like <a href="http://www.bin-co.com/blog/2008/10/new-design-mimbo-theme/">Mimbo &#8211; my theme</a>). When you hit the publish button, it will check to make sure that excerpt and Image custom fields are filled. If not, it will ask you to confirm before publishing the post.</p>
</dd>
<dt><a href='http://www.bin-co.com/blog/2008/11/pollin-wordpress-plugin/'>Pollin WordPress Plugin</a></dt>
<dd>
<p><strong class="highlight"><a href="http://www.bin-co.com/tools/wordpress/plugins/pollin/">Pollin wordpress plugin</a> will let you add polls</strong> to your blog. It can be shown to your <strong class="highlight">visitors who will be able to vote</strong> in the poll. You can add the poll in a post by including the HTML comment &#60;!&#8211; POLLIN 1 &#8211;&#62; in the post. Here 1 is the ID of the poll to be shown.</p>
</dd>
<dt><a href='http://www.bin-co.com/blog/2008/11/surveys-wordpress-plugin/'>Surveys WordPress Plugin</a></dt>
<dd>
<p>The <strong class="highlight"><a href="http://www.bin-co.com/tools/wordpress/plugins/surveys/">Surveys WordPress plugin</a> lets you add surveys to your blog</strong>. You can let the visitors take surveys and <strong class="highlight">see the result from the admin side</strong>. The user who take the survey can enter their details at the end of the survey &#8211; or leave it as an anonymous result.</p>
</dd>
<dt><a href='http://www.bin-co.com/blog/2008/11/quartz-wordpress-plugin/'>Quartz WordPress Plugin</a></dt>
<dd>
<p><strong class="highlight"><a href="http://www.bin-co.com/tools/wordpress/plugins/quartz/">Quartz Plugin</a> lets you show random quotes/tips/links/pictures/something else to visitors</strong>. These quotes can be added from the admin side. You can add these one by one &#8211; or you can bulk import the stuff from a text file.</p>
</dd>
<dt><a href='http://www.bin-co.com/blog/2008/11/quizzin-wordpress-plugin/'>Quizzin WordPress Plugin</a></dt>
<dd>
<p><strong class="highlight"><a href="http://www.bin-co.com/tools/wordpress/plugins/quizzin/">Quizzin WordPress Plugin</a> lets you add quizzes to your blog</strong>. This plugin is designed to be as easy to use as possible. Quizzes, questions and answers can be added from the admin side. This will appear in your post if you add a small HTML comment in your post.</p>
</dd>
</dl>
<h2>What I Learned</h2>
<h3>I am helpless without my frameworks</h3>
<p>After I releasing a beta version of my plugin, I got some feedback about those. To my great surprise, I found that I was making a lot of novice PHP mistakes &#8211; stuff like&#8230;</p>
<ul>
<li>not using escaping/validating user input</li>
<li>not using stripslashes</li>
<li>and more&#8230;</li>
</ul>
<p>Needless to say, it was very embarrassing. <strong class="highlight">In all my other applications, <a href="http://www.bin-co.com/php/scripts/iframe/" title="PHP Framework: iFrame">my framework</a> takes care of it</strong> automatically. When I am developing outside <a href="http://www.openjs.com/scripts/jslibrary/" title="My JavaScript Framework - JSL">my framework</a>, I feel like a fish out of water. Now I am slowly adapting to coding without the framework. But it will take more time to get fully used to it.</p>
<h3>I still have a lot to learn about WordPress plugin development</h3>
<p>I only found out about the <code>deltaSql()</code> function after the plugin week. This is a very useful function if you create a distributable web app(like <a href="http://nexty.org/">Nexty</a>). Only problem is that its GPL code &#8211; I am not sure if I can use it in my BSD application. Anyway, I found that function when I was trying to release an update to one of the plugins &#8211; after the plugin week. There is a lot of stuff I still have to learn about WP plugin development.</p>
<h3>Putting strict deadline to write code is not(always) a good thing.</h3>
<p>As I said earlier I made a lot of blunders when creating the plugins. One of the main reason was I was too used to my framework. The other reason was the deadline. It forced me to write some code that was not all that great. But then again, the deadline had its advantages too &#8211; I would not have written the plugins had I not been forced to do that due to the plugin week. In conclusion, <strong class="highlight">you get quantity &#8211; but not quality with deadlines</strong>.</p>
<h3>Learn a bit of Marketing &#8211; even if you are a programmer</h3>
<p>I used to scoff at articles like &#8216;<a href="http://www.codinghorror.com/blog/archives/001177.html">The One Thing Every Software Engineer Should Know [How to market]</a>&#8216; &#8211; but now I understand the rational behind that.</p>
<h3>Don&#8217;t release plugins just before a new WordPress version is going to be made</h3>
<p>I am sure <strong class="highlight">the next wordpress(2.7) will break a few of my plugins</strong>. In hindsight, I should have waited until that release was over before doing the plugin week. Because I did the plugin week before the release of WordPress 2.7, I&#8217;ll <strong class="highlight">have to do a Plugin Fix Week later &#8211; a week when I fix all my plugins for WordPress 2.7</strong> compactability <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>WordPress suppresses errors by default.</h3>
<p>Something to keep in mind if you are developing a plugin &#8211; SQL errors are suppressed by default. I sent a lot of time trying to figure out the cause of an error before realizing it was an error in the SQL query. You can turn on SQL errors using the code <code>$wpdb->show_errors();</code>.</p>
<h2>Thanks for all your support&#8230;</h2>
<p>Quite a few people supported my effort by linking to me. This is my way of saying &#8216;Thank You&#8217;&#8230;</p>
<ul>
<li><a href="http://www.bloggingtips.com/2008/11/22/6-wordpress-plugins-week/">Binny Releases 6 WordPress Plugins In A Week</a></li>
<li><a href="http://www.offlineblog.net/2008/11/plugin-week-from-binny/">Plugin Week, from Binny</a></li>
<li><a href="http://www.theanand.com/blog/index.php/just-ripples/a-plugin-a-day/">A Plugin A Day!</a></li>
<li><a href="http://www.techzilo.com/wordpress-plugin-week-daily-launch/">Plugin Week promises a daily WordPress plugin for a week</a></li>
<li><a href="http://www.sajithmr.com/plugin-age/">Plugin Age</a></li>
<li><a href="http://aravindjose.com/blog/2008/11/19/five-insanely-useful-wordpress-plugins-released-in-5-days-by-binny/">A WordPress Plugin A Day</a></li>
<li><a href="http://www.techzilo.com/blogging/plugin-week-wordpress-challenge/">Plugin Week &#8211; one WordPress plugin a day for a week</a></li>
<li><a href="http://blogdesignstudio.com/mini-blog/plugin-week-binny-is-on-plugin-development-rampage/">Plugin Week! Binny is on plugin development rampage</a></li>
</ul>
<p>If I have missed anyone, please add a comment with the link to the post where you talked about plugin week and I&#8217;ll add you to the list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/12/wordpress-plugin-week/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Autofields WordPress Plugin</title>
		<link>http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/</link>
		<comments>http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 17:43:41 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[autofields]]></category>
		<category><![CDATA[fill]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin-week]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=171</guid>
		<description><![CDATA[<a href="http://www.bin-co.com/tools/wordpress/plugins/autofields/">AutoFields Plugin</a> will <strong>auto fill the Excerpt and add an Image custom field based on the data you entered</strong> into the contents editor. This plugin will set the <strong>first paragraph of the content as the excerpt</strong> and take the <strong>first image(if there are any) and set it as the 'Image' custom field</strong>(needed for some themes - like <a href="http://www.bin-co.com/blog/2008/10/new-design-mimbo-theme/">Mimbo - my theme</a>). When you hit the publish button, it will check to make sure that excerpt and Image custom field are filled. If not, it will ask you to confirm before publishing the post.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/10/wordpress_logo.png" alt="" title="WordPress Logo" width="183" height="145" class="alignnone size-full wp-image-136 intro" align="right" /></p>
<p class="intro"><a href="http://www.bin-co.com/tools/wordpress/plugins/autofields/">AutoFields Plugin</a> will <strong class="highlight">auto fill the Excerpt and add an Image custom field based on the data you entered</strong> into the contents editor. This plugin will set the <strong class="highlight">first paragraph of the content as the excerpt</strong> and take the <strong class="highlight">first image(if there are any) and set it as the &#8216;Image&#8217; custom field</strong>(needed for some themes &#8211; like <a href="http://www.bin-co.com/blog/2008/10/new-design-mimbo-theme/">Mimbo &#8211; my theme</a>). When you hit the publish button, it will check to make sure that excerpt and Image custom field are filled. If not, it will ask you to confirm before publishing the post.</p>
<p>If you are new to this blog, this is the Plugin Week. I am going to release one wordpress plugin each day, every day for one week(ie. Monday to Friday). Each day you will get a new plugin by me. This is the second plugin in this series. The first one was <a href="http://www.bin-co.com/blog/2008/11/eventr-wordpress-plugin/">Eventr Plugin</a></p>
<h2>Installation</h2>
<ul>
<li>Download the <a href="http://downloads.wordpress.org/plugin/autofields.zip">zipped file</a> from <a href="http://wordpress.org/extend/plugins/autofields/">WordPress Plugin Repository page for Autofields</a>.</li>
<li>Extract and upload the contents of the folder to /wp-contents/plugins/ folder</li>
<li>Go to the Plugin management page of WordPress admin section and enable the Autofields plugin</li>
</ul>
<h2>Screenshot</h2>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/autofields_settings.png" alt="" title="Autofields Plugin Settings" width="366" height="310" class="alignnone size-full wp-image-172" /></p>
<h2>Feedback</h2>
<p>If you have any suggestions or notice any problems with the plugin, post it in the <a href="http://projects.binnyva.com/forum/viewforum.php?f=12">Autofields Plugin forum</a>.</p>
<p>Next plugin will be released tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

