{"id":294,"date":"2009-07-13T22:28:54","date_gmt":"2009-07-13T16:58:54","guid":{"rendered":"http:\/\/www.bin-co.com\/blog\/?p=294"},"modified":"2009-07-13T22:28:54","modified_gmt":"2009-07-13T16:58:54","slug":"plugin-week-2-wordpress-plugin-weather-man","status":"publish","type":"post","link":"https:\/\/www.bin-co.com\/blog\/2009\/07\/plugin-week-2-wordpress-plugin-weather-man\/","title":{"rendered":"Plugin Week 2: WordPress Plugin &#8211; Weather Man"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" 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>\n<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>\n<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>\n<p>I&#8217;ll start off with a very simple plugin&#8230;<\/p>\n<h2>Weather Man WordPress Plugin<\/h2>\n<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>\n<h3><a href=\"http:\/\/downloads.wordpress.org\/plugin\/weather-man.zip\">Download Plugin<\/a><\/h3>\n<p><a href=\"http:\/\/wordpress.binnyva.com\/plugin\/weather-man-plugin-test\/\">Demo of Weather Man WordPress Plugin<\/a><\/p>\n<h3>Installation<\/h3>\n<ul>\n<li>Download the <a href=\"http:\/\/downloads.wordpress.org\/plugin\/weather-man.zip\">zipped file<\/a>.<\/li>\n<li>Extract and upload the contents of the folder to \/wp-contents\/plugins\/ folder<\/li>\n<li>Go to the Plugin management page of WordPress admin section and enable the &#8216;Weather Man&#8217; plugin<\/li>\n<li>Go to the Widget configuration(under Appearance) and add the Weather Man Widget into any sidebar.<\/li>\n<li>Alternatively, you can add the [weather-man] tag in any post and the Weather Man Widget will show up there.<\/li>\n<\/ul>\n<h3>Screenshots<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" 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>\n<p><img loading=\"lazy\" decoding=\"async\" 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>\n<h3>Feedback<\/h3>\n<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>\n<h2>About Me and Plugin Week<\/h2>\n<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 \ud83d\ude42 &#8211; that can&#8217;t be bad.<\/p>\n<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>\n<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>\n<p>Next plugin will be released tomorrow.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>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>\n<\/div>","protected":false},"author":1,"featured_media":297,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,25,31],"tags":[212,215,295,296,304,307,308],"class_list":["post-294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-scripts","category-wordpress","tag-plugin","tag-plugin-week-2","tag-weather","tag-weather-man","tag-wordpress","tag-wp","tag-wp-plugin"],"_links":{"self":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/comments?post=294"}],"version-history":[{"count":0,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/posts\/294\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/media?parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/categories?post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bin-co.com\/blog\/wp-json\/wp\/v2\/tags?post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}