<?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>IAMWW &#187; code</title>
	<atom:link href="http://iamww.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamww.com</link>
	<description>Personal site of Will Wilkins</description>
	<lastBuildDate>Sat, 02 Jan 2010 05:46:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The CSS3 :Not Selector &#8211; Kilian&#160;Valkhof</title>
		<link>http://iamww.com/2008/08/the-css3-not-selector-kilian-valkhof/</link>
		<comments>http://iamww.com/2008/08/the-css3-not-selector-kilian-valkhof/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 01:42:01 +0000</pubDate>
		<dc:creator>Will Wilkins</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://iamww.com/2008/08/the-css3-not-selector-kilian-valkhof/</guid>
		<description><![CDATA[The negation pseudo-class, :notX, is a functional notation taking a simple selector […] as an argument. It represents an element that is not represented by the argument. &#8211; The CSS3 :not selector.
]]></description>
			<content:encoded><![CDATA[<p>The negation pseudo-class, <code>:notX</code>, is a functional notation taking a simple selector […] as an argument. It represents an element that is not represented by the argument. &#8211; <a href="http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/">The CSS3 :not selector</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamww.com/2008/08/the-css3-not-selector-kilian-valkhof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Definitive Guide on Wordpress Syntax Highligher Plugins &#8211; Cagintranet Web&#160;Design</title>
		<link>http://iamww.com/2008/08/the-definitive-guide-on-wordpress-syntax-highligher-plugins-cagintranet-web-design/</link>
		<comments>http://iamww.com/2008/08/the-definitive-guide-on-wordpress-syntax-highligher-plugins-cagintranet-web-design/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 02:59:39 +0000</pubDate>
		<dc:creator>Will Wilkins</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://iamww.com/2008/08/the-definitive-guide-on-wordpress-syntax-highligher-plugins-cagintranet-web-design/</guid>
		<description><![CDATA[Cagintranet Web Design has reviews of various code syntax highlight plugins available for WordPress in The Definitive Guide on Wordpress Syntax Highlighter Plugins.
Chris also a lot of great WordPress articles in the archives that are worth the read.
]]></description>
			<content:encoded><![CDATA[<p>Cagintranet Web Design has reviews of various code syntax highlight plugins available for WordPress in <a href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/">The Definitive Guide on Wordpress Syntax Highlighter Plugins</a>.</p>
<p>Chris also a lot of great WordPress articles in the <a href="http://www.cagintranet.com/voice/">archives</a> that are worth the read.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamww.com/2008/08/the-definitive-guide-on-wordpress-syntax-highligher-plugins-cagintranet-web-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Amazing Code Development Visualizations &#8211;&#160;code_swarm</title>
		<link>http://iamww.com/2008/06/amazing-code-development-visualizations-code_swarm/</link>
		<comments>http://iamww.com/2008/06/amazing-code-development-visualizations-code_swarm/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 02:50:49 +0000</pubDate>
		<dc:creator>Will Wilkins</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[visualizations]]></category>

		<guid isPermaLink="false">http://iamww.com/?p=168</guid>
		<description><![CDATA[code_swarm shows the history of commits in several open source software projects with visualizations.  I really liked the one on the development of Python.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://vis.cs.ucdavis.edu/~ogawa/codeswarm/" title="code_swarm">code_swarm</a> shows the history of commits in several open source software projects with visualizations.  I really liked the <a href="http://www.vimeo.com/1093745" title="visualization of the development of Python">one on the development of Python</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://iamww.com/2008/06/amazing-code-development-visualizations-code_swarm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Fixes to Popularity&#160;Contest</title>
		<link>http://iamww.com/2008/06/more-fixes-to-popularity-contest/</link>
		<comments>http://iamww.com/2008/06/more-fixes-to-popularity-contest/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 04:02:44 +0000</pubDate>
		<dc:creator>Will Wilkins</dc:creator>
				<category><![CDATA[journal]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://iamww.com/?p=164</guid>
		<description><![CDATA[I posted a link a while back on how to fix the Popularity Contest plugin for WordPress 2.5.  However, when converting this site back to WordPress, I found it doesn&#8217;t (completely) work if you haven&#8217;t previously installed the plugin.
The initial&#160;solution
Change line 59 of the popularity-contest.php file from:
require('../../wp-blog-header.php');
To:
require('../wp-blog-header.php');
If the needed tables (wp_ak_popularity_options and wp_ak_popularity) are [...]]]></description>
			<content:encoded><![CDATA[<p>I posted <a href="http://iamww.com/2008/05/fix-the-popularity-contest-plugin-for-wordpress-25/" title="Fix the Popularity Contest Plugin for WordPress 2.5">a link</a> a while back on how to fix the <a href="http://alexking.org/projects/wordpress">Popularity Contest</a> plugin for WordPress 2.5.  However, when converting this site back to WordPress, I found it doesn&#8217;t (completely) work if you haven&#8217;t previously installed the plugin.<span id="more-164"></span></p>
<h4>The initial&nbsp;solution</h4>
<p>Change line 59 of the popularity-contest.php file from:</p>
<pre class="brush: php;">require('../../wp-blog-header.php');</pre>
<p>To:</p>
<pre class="brush: php;">require('../wp-blog-header.php');</pre>
<p>If the needed tables (<code>wp_ak_popularity_options</code> and <code>wp_ak_popularity</code>) are not already in the database, the plugin will either not activate or show a SQL error.  I haven&#8217;t dug too deeply into why the plugin is still unable to create the needed tables.</p>
<h4>The patched&nbsp;solution</h4>
<p><a href=="http://blog.pramudita.com/popularity-contest-version-11-problem/">Pramudita</a> posted on how to just add the tables manually using phpMyAdmin (or whatever you use to manage your database).  However, copy and pasting the code from Pramudita&#8217;s site did not work on my database.</p>
<h4>The final&nbsp;solution</h4>
<p>I ended up exporting the tables from a WordPress database where Popularity Contest had previously been installed and used the generated SQL to create the needed tables in my new WordPress database.  </p>
<pre class="brush: sql;">--
-- Table structure for table `wp_ak_popularity`
-- 

CREATE TABLE `wp_ak_popularity` (
  `post_id` int(11) NOT NULL default '0',
  `total` int(11) NOT NULL default '0',
  `feed_views` int(11) NOT NULL default '0',
  `home_views` int(11) NOT NULL default '0',
  `archive_views` int(11) NOT NULL default '0',
  `category_views` int(11) NOT NULL default '0',
  `single_views` int(11) NOT NULL default '0',
  `comments` int(11) NOT NULL default '0',
  `pingbacks` int(11) NOT NULL default '0',
  `trackbacks` int(11) NOT NULL default '0',
  `last_modified` datetime NOT NULL default '0000-00-00 00:00:00',
  KEY `post_id` (`post_id`)
) TYPE=MyISAM;

--
-- Table structure for table `wp_ak_popularity_options`
-- 

CREATE TABLE `wp_ak_popularity_options` (
  `option_name` varchar(50) NOT NULL default '',
  `option_value` varchar(50) NOT NULL default ''
) TYPE=MyISAM;</pre>
<p>Once I added the two tables with the SQL above, I was able to go into the WP admin and activate the plugin.</p>
<p><strong>NOTE:</strong> <em>Use this code at your own risk.  Make sure to back up any databases that you are working with prior to trying any of these changes!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://iamww.com/2008/06/more-fixes-to-popularity-contest/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
