<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>CatCalendar</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/" />
   <link rel="self" type="application/atom+xml" href="http://yacomink.com/CatCalendar/atom.xml" />
   <id>tag:yacomink.com,2008:/CatCalendar//3</id>
   <updated>2007-09-30T18:22:31Z</updated>
   <subtitle>Date-based category archives for Movable Type.</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.33</generator>

<entry>
   <title>0.6</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/09/06.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.957</id>
   
   <published>2007-09-30T18:20:31Z</published>
   <updated>2007-09-30T18:22:31Z</updated>
   
   <summary> Fixed nasty bug where MTArchiveLink was popping the entries stack, causing single-entry archives not to rebuild in some cases. Fixed a problem with MTArchiveLink handler when used within a CategoryArchives block...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[<ul>
<li>Fixed nasty bug where MTArchiveLink was popping the entries stack, causing single-entry archives not to rebuild in some cases.</li>
<li>Fixed a problem with MTArchiveLink handler when used within a CategoryArchives block</li>
</ul>
]]>
      
   </content>
</entry>
<entry>
   <title>0.5</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/04/05.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.589</id>
   
   <published>2007-04-15T23:16:21Z</published>
   <updated>2007-04-15T23:19:27Z</updated>
   
   <summary>CatCalendar 0.5 is out with a bunch of new stuff: Config option for building of adjacent archives. Config option to exclude some categories from CatCalendar rebuilds IfCategoryArchivesEnabled template tag to detect above setting. ArchiveFirst and ArchiveLast tags for CategoryArchives container...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[CatCalendar 0.5 is out with a bunch of new stuff:

<ul>
<li>Config option for building of adjacent archives.</li>
<li>Config option to exclude some categories from CatCalendar rebuilds</li>
<li>IfCategoryArchivesEnabled template tag to detect above setting.</li>
<li>ArchiveFirst and ArchiveLast tags for CategoryArchives container</li>
<li>MovableType 3.2 Support</li>
<li>Better error handling for rebuilds and some template tags</li>
</ul>]]>
      
   </content>
</entry>
<entry>
   <title>0.4</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/02/04_1.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.441</id>
   
   <published>2007-02-14T03:13:44Z</published>
   <updated>2007-03-27T18:07:13Z</updated>
   
   <summary>This release addresses RebuildQueue rebuild and sync compatability by using a callback added to the most recent version of RebuildQueue. If you&apos;re using RebuildQueue, please get a fresh checkout, or add this snippet in RebuildQueue/lib/ RebuildQueue/Publisher.pm after line 17. Download...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[This release addresses RebuildQueue rebuild and sync compatability by using a callback added to the most recent version of RebuildQueue. If you're using RebuildQueue, please get a <a href="http://code.sixapart.com/svn/mtplugins/trunk/RebuildQueue/">fresh checkout</a>, or add <a href="http://pastie.textmate.org/40153">this snippet</a> in RebuildQueue/lib/ RebuildQueue/Publisher.pm after line 17.

<a href="/CatCalendar/files/CatCalendar-0.4.tar.gz">Download CatCalendar 0.4</a>]]>
      
   </content>
</entry>
<entry>
   <title>CatCalendar 0.32</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/02/catcalendar_032.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.424</id>
   
   <published>2007-02-08T01:23:45Z</published>
   <updated>2007-03-27T18:07:40Z</updated>
   
   <summary>After a good amount of testing, this release should really make things work happily with RebuildQueue. CatCalendar 0.32 --&gt;...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[After a good amount of testing, this release should <strike>really make things work happily with RebuildQueue</strike>.

<!-- <a href="/CatCalendar/files/CatCalendar-0.32.tar.gz">CatCalendar 0.32</a> -->]]>
      
   </content>
</entry>
<entry>
   <title>Commercial license</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/02/commercial_license.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.416</id>
   
   <published>2007-02-04T18:43:00Z</published>
   <updated>2007-03-27T18:08:34Z</updated>
   
   <summary>If you&apos;re interested in getting a commercial license for CatCalendar while it&apos;s still in beta, they&apos;re $45. Please let me if know you have any problems, and thanks for your support....</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="misc" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[If you're interested in getting a commercial license for CatCalendar while it's still in beta, they're $45. Please <a href="mailto:plugins@yacomink.com">let me if know you have any problems</a>, and thanks for your support.

<form action="https://checkout.google.com/cws/v2/Merchant/717614177683819/checkout" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm"><input name="cart" type="hidden" value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxjaGVja291dC1zaG9wcGluZy1jYXJ0IHhtbG5zPSJodHRwOi8vY2hlY2tvdXQuZ29vZ2xlLmNvbS9zY2hlbWEvMiI+DQogIDxzaG9wcGluZy1jYXJ0Pg0KICAgIDxpdGVtcz4NCiAgICAgIDxpdGVtPg0KICAgICAgICA8cXVhbnRpdHk+MTwvcXVhbnRpdHk+DQogICAgICAgIDx1bml0LXByaWNlIGN1cnJlbmN5PSJVU0QiPjQ1LjA8L3VuaXQtcHJpY2U+DQogICAgICAgIDxpdGVtLW5hbWU+Q29tbWVyY2lhbCBsaWNlbnNlIGZvciBDYXRDYWxlbmRhcjwvaXRlbS1uYW1lPg0KICAgICAgICA8aXRlbS1kZXNjcmlwdGlvbj5EaXNjb3VudGVkIHByaWNlIGZvciBjb21tZXJjaWFsIGxpY2Vuc2UgcHVyY2hhc2VkIGR1cmluZyBiZXRhIHRlc3RpbmcgcGhhc2UuPC9pdGVtLWRlc2NyaXB0aW9uPg0KICAgICAgPC9pdGVtPg0KICAgIDwvaXRlbXM+DQogIDwvc2hvcHBpbmctY2FydD4NCiAgPGNoZWNrb3V0LWZsb3ctc3VwcG9ydD4NCiAgICA8bWVyY2hhbnQtY2hlY2tvdXQtZmxvdy1zdXBwb3J0IC8+DQogIDwvY2hlY2tvdXQtZmxvdy1zdXBwb3J0Pg0KPC9jaGVja291dC1zaG9wcGluZy1jYXJ0Pg0KDQo="/><input name="signature" type="hidden" value="fJf08nNvoK5XxB7RvBmb5nIKxtg="/><input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=717614177683819&amp;w=117&amp;h=48&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/></form>
]]>
      
   </content>
</entry>
<entry>
   <title>0.31</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/01/031.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.382</id>
   
   <published>2007-01-25T02:10:41Z</published>
   <updated>2007-03-27T18:09:09Z</updated>
   
   <summary>Another release for a few smallish bugs. CatCalendar 0.31 --&gt;...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[Another release for a few smallish bugs.

<!-- <a href="/CatCalendar/files/CatCalendar-0.31.tar.gz">CatCalendar 0.31</a> -->]]>
      
   </content>
</entry>
<entry>
   <title>CatCalendar 0.3 Released</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2007/01/catcalendar_03_released.php" />
   <id>tag:yacomink.com,2007:/CatCalendar//3.375</id>
   
   <published>2007-01-23T03:42:49Z</published>
   <updated>2007-03-27T18:10:08Z</updated>
   
   <summary>This is primarily a bugfix release. For a few people not seeing the Category-Date options in Publishing Options, or the Rebuild Site drop-down this should help. Plus, a tweak that may help Rebuild Queue users. CatCalendar 0.3 --&gt;...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="devblog" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[This is primarily a bugfix release. For a few people not seeing the Category-Date options in Publishing Options, or the Rebuild Site drop-down this should help. Plus, a tweak that may help Rebuild Queue users.

<!-- <a href="/CatCalendar/files/CatCalendar-0.3.tar.gz">CatCalendar 0.3</a> -->]]>
      
   </content>
</entry>
<entry>
   <title>CatCalendar</title>
   <link rel="alternate" type="text/html" href="http://yacomink.com/CatCalendar/2006/12/rebuildmore.php" />
   <id>tag:yacomink.com,2006:/RebuildMore//3.291</id>
   
   <published>2006-12-24T22:41:35Z</published>
   <updated>2007-09-30T18:20:03Z</updated>
   
   <summary>.content-nav {display: none;} What is this plugin for? Sooner or later almost every MT blog becomes buried beneath the weight of its own category archives. CatCalendar allows you to split up your blog&apos;s category archives into daily, weekly, or monthly...</summary>
   <author>
      <name>Andy Yaco-Mink</name>
      
   </author>
         <category term="welcome" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://yacomink.com/CatCalendar/">
      <![CDATA[<style type="text/css">.content-nav {display: none;}</style>
<h2 id="what">What is this plugin for?</h2>

<p>Sooner or later almost every MT blog becomes buried beneath the weight of its own category archives. CatCalendar allows you to split up your blog's category archives into daily, weekly, or monthly archives.</p>

<h2>Table of Contents</h2>
<ol>
    <li><a href="#compatibility">CatCalendar Compatibility</a></li>
    <li><a href="#install">Installing CatCalendar</a></li>
    <li><a href="#newarchive">Setting up a new archive</a></li>
    <li><a href="#changing">Changing your old category archive template</a></li>
    <li><a href="#example">An sample template</a></li>
    <li><a href="#template">Template tags</a></li>
    <li><a href="#config">Configuration options</a></li>
</ol>

<h2 id="compatibility">Compatibility</h2>

<p>CatCalendar has been tested with MovableType 3.2 - 3.34. This plugin works only for statically published archives.</p>

<h2 id="install">Installing CatCalendar</h2>

<p>Download and unzip <a href="/CatCalendar/files/CatCalendar-0.6.zip">CatCalendar-0.6.zip</a>. Put the directory CatCalendar-0.6/plugins/CatCalendar in your plugins directory.</p>

<p>CatCalendar is currently in beta, use it at your own risk. While in beta, it is for personal, non-commercial use only. Please <a href="mailto:andy@yacomink.com">email me</a> if you'd like to use it in some other fashion.</p>

<h2 id="newarchive">Setting up a new date-based category archive.</h2>

<ol>
	<li>Go to the Settings page for your weblog and click on the Publishing tab (if you don't see this tab, click the "Switch to Detailed Settings" link on the top right of the settings page.)</li>

	<li>Scroll down to the "Archive Mapping" section of the page and click "Create New Archive Mapping".
	
			<img src="/CatCalendar/images/new-mapping.jpg" />

	</li>

	<li>Pick your new date-based category type from the "Archive Type" drop-down. </li>

	<li>Pick a template from the "Template" drop-down. You can use your existing Date-Based Archive template, it'll do just fine.</li>

	<li>Click "Add".</li>

	<li><b>Important:</b> When the page comes back up, take a look at the new archive mapping you've created, and click "Save Changes" at the bottom of the page.

			<img src="/CatCalendar/images/click-save-changes.jpg" />
	
	</li>
</ol>


<h2 id="changing">Changing your old Category Archive template.</h2>

<p>
If you have already have category archives setup, you'll probably want to change the template to limit the number of entries that it displays. You might also want to include an archive listing below it: 
</p>

<pre>
&lt;MTEntries lastn="15"&gt;
	...	
&lt;/MTEntries&gt;

&lt;ul&gt;
&lt;MTCategoryArchives type="Category-Monthly"&gt;
	&lt;li&gt;&lt;a href="&lt;$MTArchiveLink$&gt;"&gt;&lt;$MTArchiveTitle$&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/MTCategoryArchives&gt;
&lt;/ul&gt;
</pre>

<p>
Or perhaps you'd just like to redirect your category archive to the most recent archive for the category. If your weblog is hosted in an environment with PHP, you might try something like:
</p>

<pre>
&lt;?PHP 
    header('Location: '.
        &lt;MTCategoryArchives type="Category-Monthly" lastn="1"&gt;
        '&lt;$MTArchiveLink$&gt;'&lt;/MTCategoryArchives&gt;);
    exit;
?&gt;
</pre>

<h2 id="template">Template Tags</h2>
<p>CatCalendar uses Movable Type's normal archive template tags. You can use just about any of the <a href="http://www.sixapart.com/movabletype/docs/3.3/a_template_tag_reference/archive/">MTArchive*</a> (except the MTArchives container tag) and <a href="http://www.sixapart.com/movabletype/docs/3.3/a_template_tag_reference/category/">MTCategory*</a> tags. Plus, these tags added in CatCalendar:</p>

<h4>MTCategoryArchives</h4>

<p>A container tag that creates a context for each of the date archives for a category.</p>

<p>Attributes:</p>

<ul> 
<li><b>type</b> - Specifies the type of date archive to list. One of "Category-Daily", "Category-Weekly", "Category-Monthly"</li>
<li><b>lastn</b> - Optionally specifies a limit.</li>
<li><b>order</b> - Specifies the sort order. One of 'ascend', 'descend'. Default is 'descend'.</li>
</ul>

<h4>MTArchiveFirst</h4>
<p>Creates a context for the first (earliest/oldest) date-based archive for the current category.</p>

<h4>MTArchiveLast</h4>
<p>Creates a context for the last (most recent) date-based archive for the current category.</p>

<h4>MTIfCategoryArchivesEnabled</h4>
<p>Evaliuates whether date based archiving has been turned off for the current category. (See the configuration settings for more info.)</p>

<h2 id="example">Template Example</h2>
<p>Here is a good suggestion from Byrne for customizing your category archives</p>

<p>Put this at the top of your category-date archive template:</p>

<pre>
&lt;h2&gt;You are browsing the &lt;$MTArchiveTitle$&gt; category&lt;/h2&gt;
&lt;div id="menu"&gt;
&lt;MTArchivePrevious&gt;&lt;a href="&lt;$MTArchiveLink$&gt;"&gt;&laquo; &lt;$MTArchiveDate
format="%B %Y"$&gt;&lt;/a&gt; |&lt;/MTArchivePrevious&gt;
&lt;a href="&lt;$MTBlogURL$&gt;"&gt;Main&lt;/a&gt;
&lt;MTArchiveNext&gt;| &lt;a href="&lt;$MTArchiveLink$&gt;"&gt;&lt;$MTArchiveDate format="%B
%Y"$&gt; &raquo;&lt;/a&gt;&lt;/MTArchiveNext&gt;
&lt;/div&gt;
</pre>

<p>Put this in your category archive:</p>

<pre>
&lt;h2&gt;Recent Posts in &lt;$MTArchiveTitle$&gt;&lt;/h2&gt;
&lt;MTEntries include_subcategories="1" lastn="2"&gt;
  &lt;$MTEntryExcerpt$&gt;
&lt;/MTEntries&gt;

&lt;h2&gt;Browse this Category by Date...&lt;/h2&gt;
&lt;ul&gt;
&lt;MTCategoryArchives type="Category-Monthly"&gt;
  &lt;li&gt;&lt;a href="&lt;$MTArchiveLink$&gt;"&gt;&lt;$MTArchiveDate format="%B
%Y"$&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/MTCategoryArchives&gt;
&lt;/ul&gt;
</pre>

<h2 id="config">Rebuilding your archives</h2>

<p>
Just like Movable Type's native date-based and category archives, the appropriate archives will be automatically rebuilt when you save an entry.
</p>

<p>
If you want to rebuild all the date-based category archives for your blog, you can do it through the "Rebuild Site" link in the left-side navigation of your blog.
</p>

<img src="/CatCalendar/images/rebuild.jpg" />

<h2>Configuration Options</h2>

<p>CatCalendar will work just fine without you ever touching these. If you need some custom configuration, all the options are available in the blog-specific plugin settings</p>

<img src="/CatCalendar/images/config.png" />

<h4>Rebuild adjacent archives</h4>
<p>By default, CatCalendar will rebuild adjacent archives when an archive is rebuilt. I.e., if you save and entry that causes the March 2007 archive for your "Puppies" category to be rebuilt, CatCalendar will also rebuild the February and April archives. This is to preserve the ArchivePrevious and ArchiveNext links across the archives, though you may want to turn it off to speed up rebuilds.</p>

<h4>Exclude categories</h4>
<p>By default, CatCalendar will create archives for every populated category in your blog. If you have some categories that you do not need date-based archives for, you can do that here. This can be helpful if you have some categories with very few entries, or if you have certain categories that are for internal use.</p>

]]>
      
   </content>
</entry>

</feed>
