<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Compact Monthly Archive Widget &#8211; 1.0 Released</title>
	<atom:link href="http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/</link>
	<description>A blog for odd things and odd thoughts.</description>
	<lastBuildDate>Wed, 01 Feb 2012 22:21:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Julian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-243210</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Tue, 19 Oct 2010 03:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-243210</guid>
		<description>Christian,

Interesting question. The short answer seems to be &quot;No&quot;, but let me explain why, because you may have some work-arounds if you are handy with PHP and SQL.

There are two places that would need to be changed.

The tough one is working out what pages the month initials should link to. This plug-in doesn&#039;t define the monthly archive pages, it just links to the existing ones provided by WordPress. (The relevant line is 42, where it calls &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/get_month_link&quot; rel=&quot;nofollow&quot;&gt;&lt;code&gt;get_month_link()&lt;/code&gt;&lt;/a&gt;. This function returns the URL to the archive page relevant for that month.) I can&#039;t see (with a cursory search) any variants to the archives to show a page that excludes some categories.

The other part is the SQL search in line 21, which counts the number of records per month. (If there are no records that month, there is no link provided.) That SQL search might need to be modified to cross-reference against the POST categories tables, so if there were any months which ONLY had posts from excluded categories, it wouldn&#039;t link to an empty page. Is that something that is likely to happen on your blog? This is certainly feasible, but a bit too much effort to get right in the 5 minutes I&#039;ve got to spend on this now - especially given you may not even need this extra nicety, and the other problem is probably a show-stopper.

Good luck with it; please let me know if you are successful.</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>Interesting question. The short answer seems to be &#8220;No&#8221;, but let me explain why, because you may have some work-arounds if you are handy with PHP and SQL.</p>
<p>There are two places that would need to be changed.</p>
<p>The tough one is working out what pages the month initials should link to. This plug-in doesn&#8217;t define the monthly archive pages, it just links to the existing ones provided by WordPress. (The relevant line is 42, where it calls <a href="http://codex.wordpress.org/Function_Reference/get_month_link" rel="nofollow" class="liexternal"><code>get_month_link()</code></a>. This function returns the URL to the archive page relevant for that month.) I can&#8217;t see (with a cursory search) any variants to the archives to show a page that excludes some categories.</p>
<p>The other part is the SQL search in line 21, which counts the number of records per month. (If there are no records that month, there is no link provided.) That SQL search might need to be modified to cross-reference against the POST categories tables, so if there were any months which ONLY had posts from excluded categories, it wouldn&#8217;t link to an empty page. Is that something that is likely to happen on your blog? This is certainly feasible, but a bit too much effort to get right in the 5 minutes I&#8217;ve got to spend on this now &#8211; especially given you may not even need this extra nicety, and the other problem is probably a show-stopper.</p>
<p>Good luck with it; please let me know if you are successful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-243118</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 18 Oct 2010 12:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-243118</guid>
		<description>First of all, thanks a lot for your plugin. It works fine on my website and it makes it really comfortable to organize all the articles.
Now my question: Is it possible to exclude one special category?
Thanks, Christian</description>
		<content:encoded><![CDATA[<p>First of all, thanks a lot for your plugin. It works fine on my website and it makes it really comfortable to organize all the articles.<br />
Now my question: Is it possible to exclude one special category?<br />
Thanks, Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-230230</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Thu, 24 Jun 2010 09:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-230230</guid>
		<description>Charlie,

Excellent question. 

I haven&#039;t got the time at the moment to actually implement and test this out, but I can point to the right area if you are handy with PHP and SQL.

In the file &lt;code&gt;compactMonthlyArchiveWidget.php&lt;/code&gt;, at line 21, there is an SQL query, that finishes: &lt;code&gt;ORDER BY post_date ASC&quot;);&lt;/code&gt;

I think you need to replace that last bit with: &lt;code&gt;ORDER BY Year DESC MONTH ASC&quot;);&lt;/code&gt;

In the same file, at line 28 it says &lt;code&gt;for ($currentYear = $startYear; $currentYear &lt; = $endYear; $currentYear++)&lt;/code&gt;.

You need to replace &lt;/code&gt;&lt;code&gt;&lt;=&lt;/code&gt; with &lt;code&gt;&gt;=&lt;/code&gt; and &lt;code&gt;++&lt;/code&gt; with &lt;code&gt;--&lt;/code&gt;

This is untested! Good luck.</description>
		<content:encoded><![CDATA[<p>Charlie,</p>
<p>Excellent question. </p>
<p>I haven&#8217;t got the time at the moment to actually implement and test this out, but I can point to the right area if you are handy with PHP and SQL.</p>
<p>In the file <code>compactMonthlyArchiveWidget.php</code>, at line 21, there is an SQL query, that finishes: <code>ORDER BY post_date ASC");</code></p>
<p>I think you need to replace that last bit with: <code>ORDER BY Year DESC MONTH ASC");</code></p>
<p>In the same file, at line 28 it says <code>for ($currentYear = $startYear; $currentYear < = $endYear; $currentYear++)</code>.</p>
<p>You need to replace </code><code>&lt;=</code> with <code>&gt;=</code> and <code>++</code> with <code>--</code></p>
<p>This is untested! Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charlie</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-230202</link>
		<dc:creator>Charlie</dc:creator>
		<pubDate>Wed, 23 Jun 2010 15:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-230202</guid>
		<description>Hi - great plugin!
Is it possible to have the years in reverse order - so as to have 2010 at the top and 2008 at the bottom of the list?

Cheers</description>
		<content:encoded><![CDATA[<p>Hi &#8211; great plugin!<br />
Is it possible to have the years in reverse order &#8211; so as to have 2010 at the top and 2008 at the bottom of the list?</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-229355</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Mon, 31 May 2010 10:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-229355</guid>
		<description>Just confirming: it appears to work for WordPress 3.0RC.</description>
		<content:encoded><![CDATA[<p>Just confirming: it appears to work for WordPress 3.0RC.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-228019</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Wed, 05 May 2010 00:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-228019</guid>
		<description>Phil, 

First thing to do is to immediately upgrade to &lt;a href=&quot;http://wordpress.org/development/2007/12/wordpress-232/&quot; rel=&quot;nofollow&quot;&gt;WordPress 2.3.2&lt;/a&gt; to deal with a security issue that was dealt with over 2 years ago.

Actually, best upgrade to 2.3.3, to deal with the security issues dealt a few months later.

Now that you have the upgrading process down pat, maybe you should consider upgrading to either 2.5.1, 2.6.5, 2.7.1, 2.8.6 or, best still, 2.9.2? There&#039;s been a lot of progress to WordPress since you last upgraded!

If you do have some good reason not to upgrade past 2.3.* (Please share what it is, I am curious!), this plugin should still work. Let me know what symptoms you are having. (But, I can&#039;t promise to actually install WP 2.3.1 to test it, sorry.)</description>
		<content:encoded><![CDATA[<p>Phil, </p>
<p>First thing to do is to immediately upgrade to <a href="http://wordpress.org/development/2007/12/wordpress-232/" rel="nofollow" class="liexternal">WordPress 2.3.2</a> to deal with a security issue that was dealt with over 2 years ago.</p>
<p>Actually, best upgrade to 2.3.3, to deal with the security issues dealt a few months later.</p>
<p>Now that you have the upgrading process down pat, maybe you should consider upgrading to either 2.5.1, 2.6.5, 2.7.1, 2.8.6 or, best still, 2.9.2? There&#8217;s been a lot of progress to WordPress since you last upgraded!</p>
<p>If you do have some good reason not to upgrade past 2.3.* (Please share what it is, I am curious!), this plugin should still work. Let me know what symptoms you are having. (But, I can&#8217;t promise to actually install WP 2.3.1 to test it, sorry.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-228000</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Tue, 04 May 2010 17:02:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-228000</guid>
		<description>Don&#039;t work with WP 2.3.1 :(
Please help.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t work with WP 2.3.1 <img src='http://www.somethinkodd.com/oddthinking/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-220762</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-220762</guid>
		<description>Matias, 

I had to look at the code to remember this...

Sorry, 

1) No, I use the widget framework to look after most of the context, so it can&#039;t run as an old-school plugin. (You are, of course, welcome to adapt it.)

2) The WordPress locale is used to find out the names of the months. It doesn&#039;t have to be the same locale as the operating system on the server, but it does have to be the same locale as the WordPress instance. 

I&#039;d be interested to hear why you would like it to be different; sounds like an unusual need.</description>
		<content:encoded><![CDATA[<p>Matias, </p>
<p>I had to look at the code to remember this&#8230;</p>
<p>Sorry, </p>
<p>1) No, I use the widget framework to look after most of the context, so it can&#8217;t run as an old-school plugin. (You are, of course, welcome to adapt it.)</p>
<p>2) The WordPress locale is used to find out the names of the months. It doesn&#8217;t have to be the same locale as the operating system on the server, but it does have to be the same locale as the WordPress instance. </p>
<p>I&#8217;d be interested to hear why you would like it to be different; sounds like an unusual need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matias</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-220754</link>
		<dc:creator>Matias</dc:creator>
		<pubDate>Mon, 11 Jan 2010 05:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-220754</guid>
		<description>Hi. I like the plugin. I want to ask you 2 things:

1) How I can use the plugin when I&#039;m not using sidebar widgets. I mean, Is it possible to use the plugin in an &quot;old school&quot; way?

2) Is it possible to use a timestamp different from my locale language?. 

Thanks in advance! (sorry for my bad english).</description>
		<content:encoded><![CDATA[<p>Hi. I like the plugin. I want to ask you 2 things:</p>
<p>1) How I can use the plugin when I&#8217;m not using sidebar widgets. I mean, Is it possible to use the plugin in an &#8220;old school&#8221; way?</p>
<p>2) Is it possible to use a timestamp different from my locale language?. </p>
<p>Thanks in advance! (sorry for my bad english).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philix</title>
		<link>http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/comment-page-1/#comment-137315</link>
		<dc:creator>Philix</dc:creator>
		<pubDate>Fri, 25 Jul 2008 09:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethinkodd.com/oddthinking/2008/01/07/compact-monthly-archive-widget-10-released/#comment-137315</guid>
		<description>This is a great plugin</description>
		<content:encoded><![CDATA[<p>This is a great plugin</p>
]]></content:encoded>
	</item>
</channel>
</rss>

