<?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>James Wilson -blog &#187; Widget-A-Day</title>
	<atom:link href="http://ja.meswilson.com/blog/category/widget-a-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://ja.meswilson.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 17 Jun 2010 22:52:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Widget A Day: Take 2</title>
		<link>http://ja.meswilson.com/blog/2008/10/30/widget-a-day-take-2/</link>
		<comments>http://ja.meswilson.com/blog/2008/10/30/widget-a-day-take-2/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 06:19:07 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2008/10/30/widget-a-day-take-2/</guid>
		<description><![CDATA[Since I&#039;m bored, and some of my old widgets have had some feature requests, so I think I&#039;ll try Widget A Day again. I&#039;m going for at least 14 widgets, so 2 weeks, some being updated versions of the older ones. It would most likely start the beginning of next week. (Edit- not happening this [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#039;m bored, and some of my old widgets have had some feature requests, so I think I&#039;ll try <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget A Day</a> again. I&#039;m going for at least 14 widgets, so 2 weeks, some being updated versions of the older ones. </p>
<p>It would most likely start the beginning of next week. (Edit- not happening this week, but should be next week)</p>
<p>If you have requests or ideas, post them here. I need them to be able to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2008/10/30/widget-a-day-take-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress Reddit Widget</title>
		<link>http://ja.meswilson.com/blog/2007/06/01/wordpress-reddit-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/06/01/wordpress-reddit-widget/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 21:04:51 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/06/01/wordpress-reddit-widget/</guid>
		<description><![CDATA[Number 8 in Widget-A-Day is a reddit widget. It&#039;ll display your latest liked items on reddit.com. You can edit the display, count, and username. Not much of widget (can be kinda done via the RSS widget), but it&#039;ll be the closer in Widget-A-Day. I might have one on Saturday, but there&#039;s no guarantee. It&#039;s been [...]]]></description>
			<content:encoded><![CDATA[<p>Number 8 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a reddit widget.</p>
<p>It&#039;ll display your latest liked items on reddit.com. You can edit the display, count, and username.</p>
<p>Not much of widget (can be kinda done via the RSS widget), but it&#039;ll be the closer in Widget-A-Day. I might have one on Saturday, but there&#039;s no guarantee. It&#039;s been fun. Hopefully someone has found these useful. I&#039;ll do it again sometime. If you have any problems, suggestions, or whatever, <a href="/contact/">let me know</a></p>
<p><b><a href="http://downloads.wordpress.org/plugin/reddit-widget.zip">Download reddit.zip</a></b></p>
<p><b>SVN Checkout</b><br />
<code>svn co http://svn.wp-plugins.org/reddit-widget/trunk</code></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/06/reddit1cropped.png' alt='reddit1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/06/reddit2cropped.png' alt='reddit2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
<li>PHP 4.3.0 or greater (needed for function <a href="http://www.php.net/manual/en/function.file-get-contents.php">file_get_contents</a>)</li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://downloads.wordpress.org/plugin/reddit-widget.zip">reddit.zip</a></li>
<li>Extract and upload reddit.php to the plugins/ directory</li>
<li>Enable reddit Widget in the Plugin admin panel</li>
<li>In widget admin panel, place reddit in the sidebar, and edit it to enter your username</li>
</ol>
<h3>Features</h3>
<ul>
<li>Displays your latest liked items (on reddit.com)</li>
<li>Completely customizable display</li>
<li>Caching for large traffic sites</li>
</ul>
<p><a name="formatting"></a></p>
<h3>Formatting</h3>
<p>There are 3 parts needed to format the output.<br />
<br />
The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just <code>&lt;ul&gt;</code>.<br />
<br />
The second part, called items end, is the ending of the widget. By default, this is:<br />
<code>&lt;/ul&gt;<br />
&lt;a href="%profile%" style="float:right;"&gt;%username%&lt;/a&gt;<br />
</code><br />
<br />
The third part is what is called for each item. By default, this is:<br />
<code>&lt;li style="list-style-type: none;"&gt;&lt;a href="%link%"&gt;%title%&lt;/a&gt; (&lt;a href="%more%"&gt;more&lt;/a&gt;)&lt;/li&gt;</code></p>
<p>The premise of calling each value is this:</p>
<ol>
<li>start</li>
<li>item</li>
<li>item</li>
<li>&#8230;</li>
<li>item</li>
<li>end</li>
</ol>
<p>The formatting for items is:</p>
<ul>
<li><b>%title%</b> &#8211; Title of the item</li>
<li><b>%link%</b> &#8211; Link to the item</li>
<li><b>%desc%</b> &#8211; Description of the item &#8211; Just [link] [more] links</li>
<li><b>%date%</b> &#8211; Date the item was submitted (ISO)</li>
<li><b>%more%</b> &#8211; More link &#8211; The link to the comments</li>
<li><b>%number%</b> &#8211; The number of the current item</li>
</ul>
<p>The formatting for start and end is:</p>
<ul>
<li><b>%username%</b> &#8211; Your username</li>
<li><b>%profile%</b> &#8211; Link to your profile</li>
<li><b>%rss%</b> &#8211; Link to your profile&#039;s RSS feed</li>
<li><b>%count%</b> &#8211; Number of items shown</li>
</ul>
<p><b><a href="http://downloads.wordpress.org/plugin/reddit-widget.zip">Download reddit.zip</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/06/01/wordpress-reddit-widget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress YouTube Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/31/wordpress-youtube-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/31/wordpress-youtube-widget/#comments</comments>
		<pubDate>Thu, 31 May 2007 23:07:07 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/31/wordpress-youtube-widget/</guid>
		<description><![CDATA[Number 7 in Widget-A-Day is a YouTube widget. It&#039;ll display a YouTube video in the sidebar. Just enter the URL of the video, and it&#039;ll show in the sidebar. You can change the width and height, and make it autoplay or not. Download youtube.zip SVN Checkout svn co http://svn.wp-plugins.org/youtube-widget/trunk Default display: Admin panel: Requirements WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>Number 7 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a YouTube widget.</p>
<p>It&#039;ll display a YouTube video in the sidebar. Just enter the URL of the video, and it&#039;ll show in the sidebar. You can change the width and height, and make it autoplay or not.</p>
<p><b><a href="http://downloads.wordpress.org/plugin/youtube-widget.zip">Download youtube.zip</a></b></p>
<p><b>SVN Checkout</b><br />
<code>svn co http://svn.wp-plugins.org/youtube-widget/trunk</code></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/youtbe1cropped.png' alt='youtbe1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/youtube2cropped.png' alt='youtube2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://downloads.wordpress.org/plugin/youtube-widget.zip">youtube.zip</a></li>
<li>Extract and upload youtube.php to the plugins/ directory</li>
<li>Enable YouTube Widget in the Plugin admin panel</li>
<li>In widget admin panel, place YouTube in the sidebar, and edit it to enter the YouTube URL, not the embed code</li>
</ol>
<p><b><a href="http://downloads.wordpress.org/plugin/youtube-widget.zip">Download youtube.zip</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/31/wordpress-youtube-widget/feed/</wfw:commentRss>
		<slash:comments>86</slash:comments>
		</item>
		<item>
		<title>WordPress Digg Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/31/wordpress-digg-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/31/wordpress-digg-widget/#comments</comments>
		<pubDate>Thu, 31 May 2007 05:15:11 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/31/wordpress-digg-widget/</guid>
		<description><![CDATA[Sorry for the lateness. Went out, and it wasn&#039;t working by the time I left. Anyways, number 6 in Widget-A-Day is a Digg widget. It&#039;ll display your latest dugg stories and the number of diggs the story has. It can be customized to include just about all the information the RSS feeds gives. Check out [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry for the lateness. Went out, and it wasn&#039;t working by the time I left.</p>
<p>Anyways, number 6 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a Digg widget. It&#039;ll display your latest dugg stories and the number of diggs the story has. It can be customized to include just about all the information the RSS feeds gives. Check out <a href="#formatting">formatting</a> for more information.</p>
<p><b>Update</b>: If you downloaded this before 6 CST on May 31, the caching system wouldn&#039;t work. Just redownload the file, and it&#039;ll work or just remove <code>AND FALSE</code> on line 39.</p>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.zip">Download digg.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.tar.gz">digg.tar.gz</a>)</b></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/digg1cropped.png' alt='digg1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/digg2cropped.png' alt='digg2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
<li>PHP 4.3.0 or greater (needed for function <a href="http://www.php.net/manual/en/function.file-get-contents.php">file_get_contents</a>)</li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.zip">digg.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.tar.gz">gz</a>)</li>
<li>Extract and upload digg.php to the plugins/ directory</li>
<li>Enable Digg Widget in the Plugin admin panel</li>
<li>In widget admin panel, place digg in the sidebar, and edit it to enter your username</li>
</ol>
<h3>Features</h3>
<ul>
<li>Displays your latest dugg items from <a href="http://digg.com">Digg</a></li>
<li>Completely customizable display</li>
<li>Caching for large traffic sites</li>
</ul>
<p><a name="formatting"></a></p>
<h3>Formatting</h3>
<p>There are 3 parts needed to format the output.<br />
<br />
The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just <code>&lt;ul&gt;</code>.<br />
<br />
The second part, called items end, is the ending of the widget. By default, this is:<br />
<code>&lt;/ul&gt;<br />
&lt;a href="%profilelink%" style="float:right;"&gt;%username%&lt;/a&gt;<br />
</code><br />
<br />
The third part is what is called for each item. By default, this is:<br />
<code>&lt;li style="list-style-type: none;"&#038;gt&lt;a href="%link%"&gt;%title% (%diggs%)&lt;/a&gt;&lt;/li&gt;</code></p>
<p>The premise of calling each value is this:</p>
<ol>
<li>start</li>
<li>item</li>
<li>item</li>
<li>&#8230;</li>
<li>item</li>
<li>end</li>
</ol>
<p>The formatting for items is:</p>
<ul>
<li><b>%title%</b> &#8211; Title of the item</li>
<li><b>%link%</b> &#8211; Link to the item</li>
<li><b>%desc%</b> &#8211; Description of the item</li>
<li><b>%date%</b> &#8211; Date the item was submitted (in GMT)</li>
<li><b>%category%</b> &#8211; Category of the item</li>
<li><b>%diggs%</b> &#8211; Number of diggs the item has</li>
<li><b>%comments%</b> &#8211; Number of comments the item has</li>
<li><b>%user%</b> &#8211; User name of the submitter</li>
<li><b>%userimage%</b> &#8211; Link to the submitter&#039;s icon</li>
<li><b>%number%</b> &#8211; The number of the current item</li>
</ul>
<p>The formatting for start and end is:</p>
<ul>
<li><b>%username%</b> &#8211; Your username</li>
<li><b>%profile%</b> &#8211; Link to your profile</li>
<li><b>%rss%</b> &#8211; Link to your profile&#039;s RSS feed</li>
<li><b>%count%</b> &#8211; Number of items shown</li>
</ul>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.zip">Download digg.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/06/digg.tar.gz">digg.tar.gz</a>)</b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/31/wordpress-digg-widget/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The Widgets in Action</title>
		<link>http://ja.meswilson.com/blog/2007/05/29/the-widgets-in-action/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/29/the-widgets-in-action/#comments</comments>
		<pubDate>Wed, 30 May 2007 00:14:15 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Widget-A-Day]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/29/the-widgets-in-action/</guid>
		<description><![CDATA[I&#039;ve set up a test blog to display the widgets in Widget-A-Day. Check it out at http://ja.meswilson.com/blog/widgettest/ Also, if anyone has any suggestions for widgets, I&#039;m all ears. Tomorrow&#039;s might be really lame if I don&#039;t get any. Comment or contact me.]]></description>
			<content:encoded><![CDATA[<p>I&#039;ve set up a <a href="http://ja.meswilson.com/blog/widgettest/">test blog</a> to display the widgets in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a>.</p>
<p>Check it out at <a href="http://ja.meswilson.com/blog/widgettest/">http://ja.meswilson.com/blog/widgettest/</a></p>
<p>Also, if anyone has any suggestions for widgets, I&#039;m all ears. Tomorrow&#039;s might be really lame if I don&#039;t get any. Comment or <a href="/contact/">contact me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/29/the-widgets-in-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Weather Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/29/wordpress-weather-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/29/wordpress-weather-widget/#comments</comments>
		<pubDate>Tue, 29 May 2007 23:43:40 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/29/wordpress-weather-widget/</guid>
		<description><![CDATA[Number 5 in Widget-A-Day is a Weather widget. It isn&#039;t too fanciful. It displays the current condition, temperature, and the feels like temperature. It uses weather.com&#039;s xoap api to retrieve the information. I&#039;ll probably come back to this and make it better. Download weather.zip SVN Checkout svn co http://svn.wp-plugins.org/weather-widget/trunk Default display: Admin panel: Requirements WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>Number 5 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a Weather widget. </p>
<p>It isn&#039;t too fanciful. It displays the current condition, temperature, and the feels like temperature. It uses <a href="http://www.weather.com">weather.com</a>&#039;s xoap api to retrieve the information. I&#039;ll probably come back to this and make it better.</p>
<p><b><a href="http://downloads.wordpress.org/plugin/weather-widget.zip">Download weather.zip</a></b></p>
<p><b>SVN Checkout</b><br />
<code>svn co http://svn.wp-plugins.org/weather-widget/trunk</code></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/weather1cropped.png' alt='weather1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/weather2cropped.png' alt='weather2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
<li>PHP 4.3.0 or greater (needed for function <a href="http://www.php.net/manual/en/function.file-get-contents.php">file_get_contents</a>)</li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://downloads.wordpress.org/plugin/weather-widget.zip">weather.zip</a></li>
<li>Extract and upload weather.php to the plugins/ directory</li>
<li>Enable Weather Widget in the Plugin admin panel</li>
<li>In widget admin panel, place Weather in the sidebar, and edit it to enter your location</li>
</ol>
<p><a name="location"></a></p>
<h3>Location</h3>
<p>The location can either be a zip code for US users or the locid. To find the locid, you can do a search using <code>http://xoap.weather.com/search/search?where=<b>[search parameters]</b></code>.This will return an XML file with search results and their corresponding locid&#039;s.</p>
<p>You can also find it out by the <a href="http://www.weather.com">Weather.com website</a>. After searching for and selecting you city, you will be sent to a url that will look something like, <code>http://www.weather.com/outlook/driving/interstate/local/<b>USTX0617</b>?from=search_city</code>, where <b>USTX0617</b> is the locid.</p>
<p><a name="image"></a></p>
<h3>Image Hosting</h3>
<p>I&#039;ve provided the images used and provided by weather.com <a href="http://ja.meswilson.com/blog/weatherimages.tar.gz">here</a>. If you want to host your own images, extract and upload the files, then, in the admin panel, edit the &#039;Image Location&#039; field to point to your directory of images. Make sure to have the trailing slash.</p>
<p>If you don&#039;t use your own images, you are free to use the ones that I&#039;ve hosted, which are located at http://ja.meswilson.com/blog/weatherimages/</p>
<h3>Editting display</h3>
<p>You can edit &#039;Widget Formatting&#039; to change how the info is displayed. To access the variables, use this formatting: </p>
<ul>
<li><b>%loc%</b> &#8211; Location</li>
<li><b>%temp%</b> &#8211; Current temperature</li>
<li><b>%feels%</b> &#8211; Feels like temperature</li>
<li><b>%icon%</b> &#8211; The icon referring to the current weather. This is just a number</li>
<li><b>%iconhref%</b> &#8211; The location of the image with your set image location at the front</li>
<li><b>%attribution%</b> &#8211; The link supposedly required to be displayed. <a href="http://www.weather.com/?prod=xoap&#038;par=">Weather data provided by weather.com&reg;</a></li>
</ul>
<p>The default formatting is:<br />
<code><br />
&lt;img src="%iconhref%" alt="%cond%" style="float:right;" /&gt;<br />
%loc%&lt;br /&gt;<br />
&lt;span style="font-size: 150%;"&gt;%temp% &deg;F&lt;/span&gt;<br />
(%feels% &deg;F)&lt;br /&gt;<br />
&lt;span style="font-size: 65%; float: right;"&gt;%attribution%&lt;/a&gt;<br />
</code></p>
<p><b><a href="http://downloads.wordpress.org/plugin/weather-widget.zip">Download weather.zip</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/29/wordpress-weather-widget/feed/</wfw:commentRss>
		<slash:comments>120</slash:comments>
		</item>
		<item>
		<title>Sorry, no widget today</title>
		<link>http://ja.meswilson.com/blog/2007/05/28/sorry-no-widget-today/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/28/sorry-no-widget-today/#comments</comments>
		<pubDate>Tue, 29 May 2007 01:07:06 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Widget-A-Day]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/28/sorry-no-widget-today/</guid>
		<description><![CDATA[Today was supposed to be the &#034;official&#034; start of Widget-A-Day, but today just hasn&#039;t been a good day. I didn&#039;t have enough sleep, felt like crap, multiple computer problems, and it&#039;s been raining all day. Needless to say, I wasn&#039;t able to write a widget. I had an idea for it, and know how to [...]]]></description>
			<content:encoded><![CDATA[<p>Today was supposed to be the &#034;official&#034; start of <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a>, but today just hasn&#039;t been a good day. I didn&#039;t have enough sleep, felt like crap, multiple computer problems, and it&#039;s been raining all day. Needless to say, I wasn&#039;t able to write a widget. I had an idea for it, and know how to write, just wasn&#039;t able to. </p>
<p>Don&#039;t worry, I&#039;ll release 2 on one day or something. Plus, I&#039;ve already made 4 before the &#034;official&#034; start.</p>
<p>I&#039;ll have one tomorrow, so keep checking. I usually release them at about 7-8 PM eastern.</p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/28/sorry-no-widget-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Countdown Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/27/wordpress-countdown-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/27/wordpress-countdown-widget/#comments</comments>
		<pubDate>Sun, 27 May 2007 23:40:32 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/27/wordpress-countdown-widget/</guid>
		<description><![CDATA[Today is my birthday. Woo! So that means, I&#039;m not doing anything fancy, so without further ado Number 4 in Widget-A-Day is a countdown widget. It&#039;ll display the amount of time until a certain event, or if it passed, how long ago it was. Lame? Yes. Do I care? Not really. Is there Javascript? No. [...]]]></description>
			<content:encoded><![CDATA[<p>Today is my birthday. Woo! So that means, I&#039;m not doing anything fancy, so without further ado</p>
<p>Number 4 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a countdown widget.</p>
<p>It&#039;ll display the amount of time until a certain event, or if it passed, how long ago it was. Lame? Yes. Do I care? Not really. Is there Javascript? No. Was there supposed to be? Yes. Why not? Because I&#039;m lazy.</p>
<p><b>Update</b>: By request, added a <a href="#comment-54">new version</a></p>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.zip">Download countdown.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.tar.gz">countdown.tar.gz</a>)</b></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown1cropped.png' alt='countdown1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown2cropped.png' alt='countdown2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.zip">countdown.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.tar.gz">gz</a>)</li>
<li>Extract and upload countdown.php to the plugins/ directory</li>
<li>Enable Countdown Widget in the Plugin admin panel</li>
<li>In widget admin panel, place Countdown in the sidebar, and edit it to enter your the time and name</li>
</ol>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.zip">Download countdown.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/countdown.tar.gz">countdown.tar.gz</a>)</b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/27/wordpress-countdown-widget/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress Google Reader Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/26/wordpress-google-reader-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/26/wordpress-google-reader-widget/#comments</comments>
		<pubDate>Sat, 26 May 2007 23:36:28 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/26/wordpress-google-reader-widget/</guid>
		<description><![CDATA[Number 3 in Widget-A-Day is a Google Reader widget. This widget will display your latest shared stories. You can change the amount of stories to display and how to display them. Download googlereader.zip Default display: Admin panel: Download googlereader.zip SVN Checkout svn co http://svn.wp-plugins.org/google-reader-widget/trunk Requirements WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets file_get_contents (PHP 4.3.0 [...]]]></description>
			<content:encoded><![CDATA[<p>Number 3 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a Google Reader widget.</p>
<p>This widget will display your latest shared stories. You can change the amount of stories to display and how to display them.</p>
<p><b><a href="http://downloads.wordpress.org/plugin/google-reader-widget.zip">Download googlereader.zip</a></b></p>
<p>Default display:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/googreader1cropped.png' alt='googreader1cropped.png' /></p>
<p>Admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/googreader2cropped.png' alt='googreader2cropped.png' /></p>
<p><b><a href="http://downloads.wordpress.org/plugin/google-reader-widget.zip">Download googlereader.zip</a></b></p>
<p><b>SVN Checkout</b><br />
<code>svn co http://svn.wp-plugins.org/google-reader-widget/trunk</code></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
<li><a href="http://www.php.net/manual/en/function.file-get-contents.php">file_get_contents</a> (PHP 4.3.0 or greater) or cURL</li>
<li><a href="#user-id">Your Google Reader User ID</a></li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://downloads.wordpress.org/plugin/google-reader-widget.zip">googlereader.zip</a></li>
<li>Extract and upload googlereader.php to the plugins/ directory</li>
<li>Enable Google Reader in the Plugin admin panel</li>
<li>In widget admin panel, place Google Reader in the sidebar, and edit it to enter your <a href="#user-id">user id</a></li>
</ol>
<h3>Features</h3>
<ul>
<li>Displays your latest shared items from Google Reader</li>
<li>Completely customizable display</li>
<li>Caching for large traffic sites</li>
</ul>
<p><a name="user-id"></a><br />
<h3>User ID</h3>
<p>In order to get your shares, you need to know your user id according to Google Reader. This can be found by going to the &#039;Shared Items&#039; link, and copying the 20 digit number at the end of your shared items link.</p>
<p>So something like:<br />
<code>http://www.google.com/reader/shared/<b>02774557510273097991</b></code><br />
Where <code>02774557510273097991</code> would be my user id.</p>
<h3>Formatting</h3>
<p>There are 3 parts needed to format the output.</p>
<p>The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just <code>&lt;ul&gt;</code>.</p>
<p>The second part, called items end, is the ending of the widget. By default, this is:<br />
<code>&lt;/ul&gt;<br />
&lt;a href="%googlereader%" style="float:right;"&gt;Shared Items&lt;/a&gt;<br />
</code></p>
<p>The third part is what is called for each item. By default, this is:<br />
<code>&lt;li style="list-style-type: none;"&gt;&lt;a href="%link%"&gt;%title%&lt;/a&gt;&lt;/li&gt;</code></p>
<p>The premise of calling each value is this:</p>
<ol>
<li>start</li>
<li>item</li>
<li>item</li>
<li>&#8230;</li>
<li>item</li>
<li>end</li>
</ol>
<p>The formatting for items is:</p>
<ul>
<li><b>%link%</b> &#8211; Link to the item</li>
<li><b>%title%</b> &#8211; Title of the item</li>
<li><b>%site%</b> &#8211; The title of the site the item is from</li>
<li><b>%sitelink%</b> &#8211; The link to the site the item is from</li>
<li><b>%number%</b> &#8211; The number of the current item</li>
<li><b>%comment%</b> &#8211; The comment (note) made when sharing an item</li>
</ul>
<p>The formatting for start and end is:</p>
<ul>
<li><b>%googlereader%</b> &#8211; Link to your Google Reader shared page</li>
<li><b>%count%</b> &#8211; Number of items shown</li>
</ul>
<p><b><a href="http://downloads.wordpress.org/plugin/google-reader-widget.zip">Download googlereader.zip</a></b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/26/wordpress-google-reader-widget/feed/</wfw:commentRss>
		<slash:comments>156</slash:comments>
		</item>
		<item>
		<title>WordPress Last.fm Widget Widget</title>
		<link>http://ja.meswilson.com/blog/2007/05/25/wordpress-lastfm-widget-widget/</link>
		<comments>http://ja.meswilson.com/blog/2007/05/25/wordpress-lastfm-widget-widget/#comments</comments>
		<pubDate>Fri, 25 May 2007 23:27:32 +0000</pubDate>
		<dc:creator>James Wilson</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Widget-A-Day]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://ja.meswilson.com/blog/2007/05/25/wordpress-lastfm-widget-widget/</guid>
		<description><![CDATA[Number 2 in Widget-A-Day is a widget for the last.fm widgets. It can show the chart of your recent tracks, top tracks, and top artists (weekly tracks and artists don&#039;t work currently since the value varies throughout). You can also choose between red, blue, black, and green. Download lastfm.zip (lastfm.tar.gz) Here is the default view: [...]]]></description>
			<content:encoded><![CDATA[<p>Number 2 in <a href="http://ja.meswilson.com/blog/category/widget-a-day/">Widget-A-Day</a> is a widget for the <a href="http://last.fm/widgets/">last.fm widgets</a>.</p>
<p>It can show the chart of your recent tracks, top tracks, and top artists (weekly tracks and artists don&#039;t work currently since the value varies throughout). You can also choose between red, blue, black, and green. </p>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.zip">Download lastfm.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.tar.gz">lastfm.tar.gz</a>)</b></p>
<p>Here is the default view:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm1cropped.png' alt='lastfm1cropped.png' /></p>
<p>Here is the admin panel:<br />
<img src='http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm2cropped.png' alt='lastfm2cropped.png' /></p>
<h3>Requirements</h3>
<ul>
<li>WordPress 2.2 or 2.0.x/2.1.x with <a href="http://automattic.com/code/widgets/">WordPress Widgets</a></li>
</ul>
<h3>Installation</h3>
<ol>
<li>Download <a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.zip">lastfm.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.tar.gz">gz</a>)</li>
<li>Extract and upload lastfm.php to the plugins/ directory</li>
<li>Enable Last.fm Widget &#8211; New Style in the Plugin admin panel</li>
<li>In widget admin panel, place Last.fm in the sidebar, and edit it to enter your username</li>
</ol>
<p><b><a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.zip">Download lastfm.zip</a> (<a href="http://ja.meswilson.com/blog/wp-content/uploads/2007/05/lastfm.tar.gz">lastfm.tar.gz</a>)</b></p>
]]></content:encoded>
			<wfw:commentRss>http://ja.meswilson.com/blog/2007/05/25/wordpress-lastfm-widget-widget/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>
