<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Post Stumbler WordPress plugin</title>
	<atom:link href="http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/</link>
	<description>The web from a younger perspective</description>
	<pubDate>Mon, 08 Sep 2008 01:43:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Ken Nickless</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-135752</link>
		<dc:creator>Ken Nickless</dc:creator>
		<pubDate>Mon, 23 Jun 2008 03:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-135752</guid>
		<description>Thanks for the great plugin. I'll be installing it on my three blogs right away.</description>
		<content:encoded><![CDATA[<p>Thanks for the great plugin. I&#8217;ll be installing it on my three blogs right away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Post Stumbler WordPress plugin</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-88885</link>
		<dc:creator>Post Stumbler WordPress plugin</dc:creator>
		<pubDate>Wed, 12 Mar 2008 21:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-88885</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] click here to download the plugin &#62;&#62;&#62;&#62;  [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://dev.wp-plugins.org/wiki/Kramer"><img src="http://www.kinggary.com/wp-content/plugins/kramer.php?kramer=gif-icon" class="technorati-balloon" alt="Kramer auto Pingback" style="border:0;" /></a>[...] click here to download the plugin &gt;&gt;&gt;&gt;  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  WP-SuperBlog.com </title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-64462</link>
		<dc:creator> WP-SuperBlog.com </dc:creator>
		<pubDate>Tue, 18 Dec 2007 03:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-64462</guid>
		<description>&lt;!--%kramer-pre%--&gt;google, sitemaps, wordpress, plugin. 57 Comment(s) Comment by … More Blog Resources  How I created ProBlogger’s “Group Writing Project” WordPress plugin … Tools Collection ” Blog Archive ” WordPress Plugin Releases for 7/17 Tuesday, …More Blog ResourcesMicroID WordPress Plugin Published 2 days, 20 hours ago in Journal. … It combines OpenID federation, with the MicroID (get the Wordpress plugin! … More Blog Resources  This plugin creates a sitemap for your WordPress powered site.&lt;!--%kramer-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a class="technorati-balloon" href="http://www.technorati.com/cosmos/search.html?url=http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/"><img src="http://static.technorati.com/images/bubble_h17.gif" class="technorati-balloon" alt="links from Technorati" style="border:0;" /></a>google, sitemaps, wordpress, plugin. 57 Comment(s) Comment by … More Blog Resources  How I created ProBlogger’s “Group Writing Project” WordPress plugin … Tools Collection ” Blog Archive ” WordPress Plugin Releases for 7/17 Tuesday, …More Blog ResourcesMicroID WordPress Plugin Published 2 days, 20 hours ago in Journal. … It combines OpenID federation, with the MicroID (get the Wordpress plugin! … More Blog Resources  This plugin creates a sitemap for your WordPress powered site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vic</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-23506</link>
		<dc:creator>Vic</dc:creator>
		<pubDate>Fri, 03 Aug 2007 06:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-23506</guid>
		<description>This is a great plugin. This type of is priceless for the new kid on the block.

Thanks

Vic</description>
		<content:encoded><![CDATA[<p>This is a great plugin. This type of is priceless for the new kid on the block.</p>
<p>Thanks</p>
<p>Vic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doodaddy</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-23010</link>
		<dc:creator>Doodaddy</dc:creator>
		<pubDate>Wed, 01 Aug 2007 01:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-23010</guid>
		<description>Great plugin, thanks! Just one question: how did you get the "Popular in past 30 days" in your sidebar? The "Popularity Contest" documentation doesn't seem to have such a function -- just akpc_most_popular() and akpc_most_popular_in_cat() -- neither of which has a "last 30 days" option. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Great plugin, thanks! Just one question: how did you get the &#8220;Popular in past 30 days&#8221; in your sidebar? The &#8220;Popularity Contest&#8221; documentation doesn&#8217;t seem to have such a function &#8212; just akpc_most_popular() and akpc_most_popular_in_cat() &#8212; neither of which has a &#8220;last 30 days&#8221; option. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21881</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Sat, 21 Jul 2007 15:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21881</guid>
		<description>Very nice. Worked right first time, just as all plugins should. Thanks.</description>
		<content:encoded><![CDATA[<p>Very nice. Worked right first time, just as all plugins should. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xinu Stats</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21862</link>
		<dc:creator>Xinu Stats</dc:creator>
		<pubDate>Sat, 21 Jul 2007 11:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21862</guid>
		<description>[...] Source Code syntax highlighting plugin за WordPress FeedBurner FeedSmith Link Harvest на Alexaking Google Translate Wordpress Plugin Feed Statistics plugin Post Stumbler WordPress plugin [...]</description>
		<content:encoded><![CDATA[<p>[...] Source Code syntax highlighting plugin за WordPress FeedBurner FeedSmith Link Harvest на Alexaking Google Translate Wordpress Plugin Feed Statistics plugin Post Stumbler WordPress plugin [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP Plugins DB &#187; Plugin Details &#187; Post Stumbler</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21653</link>
		<dc:creator>WP Plugins DB &#187; Plugin Details &#187; Post Stumbler</dc:creator>
		<pubDate>Thu, 19 Jul 2007 06:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21653</guid>
		<description>[...] Visit [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Post Stumbler &#124; わーどぷれすっ！</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21602</link>
		<dc:creator>Post Stumbler &#124; わーどぷれすっ！</dc:creator>
		<pubDate>Wed, 18 Jul 2007 14:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21602</guid>
		<description>[...] Post Stumbler WordPress plugin &#124; King Gary [...]</description>
		<content:encoded><![CDATA[<p>[...] Post Stumbler WordPress plugin | King Gary [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StumbleUpon &#187; Your page is now on StumbleUpon!</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21569</link>
		<dc:creator>StumbleUpon &#187; Your page is now on StumbleUpon!</dc:creator>
		<pubDate>Wed, 18 Jul 2007 05:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21569</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] Your page is on StumbleUpon [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://dev.wp-plugins.org/wiki/Kramer"><img src="http://www.kinggary.com/wp-content/plugins/kramer.php?kramer=gif-icon" class="technorati-balloon" alt="Kramer auto Pingback" style="border:0;" /></a>[...] Your page is on StumbleUpon [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lincoln</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21568</link>
		<dc:creator>Lincoln</dc:creator>
		<pubDate>Wed, 18 Jul 2007 05:21:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21568</guid>
		<description>I gave this plugin a try, but every time I clicked on the stumbling link  it would always bring me to my latest post.  It wouldn't stumble anything else.  :-(</description>
		<content:encoded><![CDATA[<p>I gave this plugin a try, but every time I clicked on the stumbling link  it would always bring me to my latest post.  It wouldn&#8217;t stumble anything else.  <img src='http://www.kinggary.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Post Stumbler WordPress plugin &#187; D&#8217; Technology Weblog: Technology News &#38; Reviews</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21547</link>
		<dc:creator>Post Stumbler WordPress plugin &#187; D&#8217; Technology Weblog: Technology News &#38; Reviews</dc:creator>
		<pubDate>Tue, 17 Jul 2007 22:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21547</guid>
		<description>[...] Plugins Page &#124; Download [...]</description>
		<content:encoded><![CDATA[<p>[...] Plugins Page | Download [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordpress Plugins: Do People Use Random Posts? &#124; Kyle's Cove dot Com</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21539</link>
		<dc:creator>Wordpress Plugins: Do People Use Random Posts? &#124; Kyle's Cove dot Com</dc:creator>
		<pubDate>Tue, 17 Jul 2007 20:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21539</guid>
		<description>[...] by Matt Mullenweg which weighs all posts evenly and allows you to find a post at random, or the Post Stumbler plugin, which does the same but does a better job of mimicking StumbleUpon, by allowing users to in theory [...]</description>
		<content:encoded><![CDATA[<p>[...] by Matt Mullenweg which weighs all posts evenly and allows you to find a post at random, or the Post Stumbler plugin, which does the same but does a better job of mimicking StumbleUpon, by allowing users to in theory [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weblog Tools Collection &#187; Blog Archive &#187; WordPress Plugin Releases for 7/17</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21484</link>
		<dc:creator>Weblog Tools Collection &#187; Blog Archive &#187; WordPress Plugin Releases for 7/17</dc:creator>
		<pubDate>Tue, 17 Jul 2007 04:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21484</guid>
		<description>[...] Post Stumbler adds functionality to your WordPress blog which allows visitors to view a randomly selected post on your blog, with a higher probability of choosing popular posts, and with the option of only showing recent posts. [...]</description>
		<content:encoded><![CDATA[<p>[...] Post Stumbler adds functionality to your WordPress blog which allows visitors to view a randomly selected post on your blog, with a higher probability of choosing popular posts, and with the option of only showing recent posts. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary King</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21405</link>
		<dc:creator>Gary King</dc:creator>
		<pubDate>Sun, 15 Jul 2007 17:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21405</guid>
		<description>Paul, thanks for the comments. I've updated the plugin a bit to incorporate some of your suggestions.</description>
		<content:encoded><![CDATA[<p>Paul, thanks for the comments. I&#8217;ve updated the plugin a bit to incorporate some of your suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Butler</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21401</link>
		<dc:creator>Paul Butler</dc:creator>
		<pubDate>Sun, 15 Jul 2007 15:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21401</guid>
		<description>Gah, I did it again. I meant to say:

&lt;code&gt;
($pop-&#62;date - $first_date) / $pop-&#62;date
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Gah, I did it again. I meant to say:</p>
<p><code><br />
($pop-&gt;date - $first_date) / $pop-&gt;date<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Butler</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21400</link>
		<dc:creator>Paul Butler</dc:creator>
		<pubDate>Sun, 15 Jul 2007 15:02:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21400</guid>
		<description>I made a little typo,

&lt;code&gt;
($pop-&#62;date - $first_date) / $pop-$gt;date
&lt;/code&gt;

should read

&lt;code&gt;
($pop-&#62;date - $first_date) / $pop-$&#62;date
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I made a little typo,</p>
<p><code><br />
($pop-&gt;date - $first_date) / $pop-$gt;date<br />
</code></p>
<p>should read</p>
<p><code><br />
($pop-&gt;date - $first_date) / $pop-$&gt;date<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Butler</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21399</link>
		<dc:creator>Paul Butler</dc:creator>
		<pubDate>Sun, 15 Jul 2007 15:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21399</guid>
		<description>Cool plugin. My favorite part of open source is having people point out the things I overlooked in my code, so I have a few comments that might help you improve a future version:



In the first SQL statement, you are asking mysql to send back the entire row for each post in the database, including the post body, and a bunch of other information you don't need. On a busy blog with lots of posts, this might slow things down a bit.


I'm not sure how the popularity contest table is structured, but wouldn't $total be the same as $total_popularity?


$total_posts seems to only used in the else block, maybe the value could be retrieved in the else block as well to save an unnecessary SQL query?


In the &lt;em&gt;if&lt;/em&gt; block,
&lt;code&gt;
(($pop-&#62;date - $first_date) / $date_diff) * ($date_diff / $pop-&#62;date)
&lt;/code&gt;
could be written as
&lt;code&gt;
($pop-&#62;date - $first_date) / $pop-$gt;date
&lt;/code&gt;


The elements in $big_array for the &lt;em&gt;else&lt;/em&gt; block could be post ids, like in the &lt;em&gt;if&lt;/em&gt; block, instead of as arrays.


It would be more efficient if you krsorted and popped (array_pop) a value from the $big_array after each value was added (except the first one), instead of sorting a huge array at the end. Or if you stored $max_post_id and $max_post_weighted_value (with less verbose variable names, of course) and compared each post's weight to them, replacing the $max... variables with the current post's id and weighted value if it's weighted value is greater.



Overall, there is nothing urgent here, just some things to keep in mind in the future if you choose to.

Keep up the great work.</description>
		<content:encoded><![CDATA[<p>Cool plugin. My favorite part of open source is having people point out the things I overlooked in my code, so I have a few comments that might help you improve a future version:</p>
<p>In the first SQL statement, you are asking mysql to send back the entire row for each post in the database, including the post body, and a bunch of other information you don&#8217;t need. On a busy blog with lots of posts, this might slow things down a bit.</p>
<p>I&#8217;m not sure how the popularity contest table is structured, but wouldn&#8217;t $total be the same as $total_popularity?</p>
<p>$total_posts seems to only used in the else block, maybe the value could be retrieved in the else block as well to save an unnecessary SQL query?</p>
<p>In the <em>if</em> block,<br />
<code><br />
(($pop-&gt;date - $first_date) / $date_diff) * ($date_diff / $pop-&gt;date)<br />
</code><br />
could be written as<br />
<code><br />
($pop-&gt;date - $first_date) / $pop-$gt;date<br />
</code></p>
<p>The elements in $big_array for the <em>else</em> block could be post ids, like in the <em>if</em> block, instead of as arrays.</p>
<p>It would be more efficient if you krsorted and popped (array_pop) a value from the $big_array after each value was added (except the first one), instead of sorting a huge array at the end. Or if you stored $max_post_id and $max_post_weighted_value (with less verbose variable names, of course) and compared each post&#8217;s weight to them, replacing the $max&#8230; variables with the current post&#8217;s id and weighted value if it&#8217;s weighted value is greater.</p>
<p>Overall, there is nothing urgent here, just some things to keep in mind in the future if you choose to.</p>
<p>Keep up the great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Blog for DesignCreatology </title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-25067</link>
		<dc:creator>The Blog for DesignCreatology </dc:creator>
		<pubDate>Tue, 30 Nov 1999 04:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-25067</guid>
		<description>&lt;!--%kramer-pre%--&gt;top of category page by tweaking archives.php or adding a custom category.php file.  ContactNG is a very stylish and small form for your sidebar or a page.  News-it lets you to add your posts ( and/or pages ) on the social digg-like www.The-News.biz.  Post Stumbler adds functionality to your WordPress blog which allows visitors to view a randomly selected post on your blog, with a higher probability of choosing popular posts, and with the option of only showing recent posts.&lt;!--%kramer-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a class="technorati-balloon" href="http://www.technorati.com/cosmos/search.html?url=http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/"><img src="http://static.technorati.com/images/bubble_h17.gif" class="technorati-balloon" alt="links from Technorati" style="border:0;" /></a>top of category page by tweaking archives.php or adding a custom category.php file.  ContactNG is a very stylish and small form for your sidebar or a page.  News-it lets you to add your posts ( and/or pages ) on the social digg-like <a href="http://www.The-News.biz" rel="nofollow">http://www.The-News.biz</a>.  Post Stumbler adds functionality to your WordPress blog which allows visitors to view a randomly selected post on your blog, with a higher probability of choosing popular posts, and with the option of only showing recent posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MeloVillareal.com A Filipino Backpacker, PhotoJournalist, Netrepreneur, Blogger and a DayDreamer</title>
		<link>http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21576</link>
		<dc:creator>MeloVillareal.com A Filipino Backpacker, PhotoJournalist, Netrepreneur, Blogger and a DayDreamer</dc:creator>
		<pubDate>Tue, 30 Nov 1999 04:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/#comment-21576</guid>
		<description>&lt;!--%kramer-pre%--&gt;more visible spot in your blog. Once a visitor clicks on the link, it will basically pull up a random post. The author of the plugin described that the page that will be pulled up most of the time belongs to the blogs most visited posts.  click here to download the plugin &#62;&#62;&#62;&#62;    Blogs Posts Worth Reading :  Get many quality PR4 backlinks for FREE - Lorilei of TopTut.com shares her techniques on how to gain quality backlinks for free without using spamming techniques.&lt;!--%kramer-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a class="technorati-balloon" href="http://www.technorati.com/cosmos/search.html?url=http://www.kinggary.com/archives/post-stumbler-wordpress-plugin/"><img src="http://static.technorati.com/images/bubble_h17.gif" class="technorati-balloon" alt="links from Technorati" style="border:0;" /></a>more visible spot in your blog. Once a visitor clicks on the link, it will basically pull up a random post. The author of the plugin described that the page that will be pulled up most of the time belongs to the blogs most visited posts.  click here to download the plugin &gt;&gt;&gt;&gt;    Blogs Posts Worth Reading :  Get many quality PR4 backlinks for FREE - Lorilei of TopTut.com shares her techniques on how to gain quality backlinks for free without using spamming techniques.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
