<?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; surveys</title>
	<atom:link href="http://www.bin-co.com/blog/tag/surveys/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>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<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>13</slash:comments>
		</item>
		<item>
		<title>Surveys WordPress Plugin</title>
		<link>http://www.bin-co.com/blog/2008/11/surveys-wordpress-plugin/</link>
		<comments>http://www.bin-co.com/blog/2008/11/surveys-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 16:20:56 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[plugin-week]]></category>
		<category><![CDATA[survey]]></category>
		<category><![CDATA[surveys]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/?p=181</guid>
		<description><![CDATA[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 - or leave it as an anonymous result.]]></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">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>
<p>If you are new to this blog, this is the Plugin Week. I am going to release <strong class="highlight">one wordpress plugin each day, every day for one week</strong>(ie. Monday to Friday). Each day you will get a new plugin by me. This is the fourth plugin in this series. The earlier ones were&#8230;</p>
<ul>
<li><a href="http://www.bin-co.com/blog/2008/11/eventr-wordpress-plugin/">Eventr Plugin</a></li>
<li><a href="http://www.bin-co.com/blog/2008/11/autofields-wordpress-plugin/">Autofields WordPress Plugin</a></li>
<li><a href="http://www.bin-co.com/blog/2008/11/pollin-wordpress-plugin/">Pollin Plugin</a></li>
</ul>
<p><strong class="highlight">Note:</strong> <a href="http://wordpress.org/extend/plugins/surveys/">Surveys</a> is a beta plugin(as are most of the plugins released in the Plugin Week) &#8211; so watch out for bugs. And trust me, there will be a lot of them.</p>
<h2>Usage/Screenshots</h2>
<p>First, <strong class="highlight"><a href="http://downloads.wordpress.org/plugin/surveys.zip">Download</a>, install and activate</strong> the Surveys plugin. Then <strong class="highlight">go to Manage &gt; Surveys</strong> section to create new surveys &#8211; or edit existing ones. After creating a survey <strong class="highlight">insert the HTML comment [SURVEYS 1] into a post</strong>. Here, the 1 should be the ID of the survey you want to insert into that post.</p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/surveys_main.png" alt="" title="Surveys Main" width="500" height="180" class="alignnone size-full wp-image-182" /></p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/surveys_questions.png" alt="" title="Surveys Questions" width="500" height="180" class="alignnone size-full wp-image-184" /></p>
<p>The <strong class="highlight">client side of the plugin</strong> will look something like this &#8211; your visitors will see this part&#8230;</p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/surveys_client_side.png" alt="" title="Surveys Client Side" width="338" height="260" class="alignnone size-full wp-image-183" /></p>
<p><strong class="highlight">You can see the result of the survey from the admin side</strong> &#8211; there are two ways to see the data&#8230;</p>
<h3>Aggregate</h3>
<p>This will show the results each question by aggregating all the data so far. This will look like a poll result. This mode is useful to make decisions &#8211; you can immediately see the most favored answers for each question.</p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/surveys_response_aggregate.png" alt="" title="Surveys Response Aggregate" width="500" height="334" class="alignnone size-full wp-image-185" /></p>
<h3>Individual Responses</h3>
<p>You can also view all the answers provided by each visitor one by one. This mode has its uses as well.</p>
<p><img src="http://www.bin-co.com/blog/wp-content/uploads/2008/11/surveys_response_individual.png" alt="" title="Surveys Response Individual" width="450" height="222" class="alignnone size-full wp-image-186" /></p>
<h2>See it in action</h2>
<p>I have set up a <a href="http://wordpress.binnyva.com/plugin/surveys-plugin-demonistration/">demo for Surveys</a> over at <a href="http://wordpress.binnyva.com/">BinnyVA WordPress demo blog</a>. Take a look.</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=14">Surveys forum</a>. I&#8217;ll take a look at it &#8211; as soon as the Plugin Week is over &#8211; I am way too busy right now <img src='http://www.bin-co.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Next plugin &#8211; will be released tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2008/11/surveys-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>161</slash:comments>
		</item>
	</channel>
</rss>
