Anders Jacobsen’s article Optimizing Movable Type - Category XML Feeds showed us the way (his article on MT XML Syndication is also clearly written and very informative). We followed his step-by-step instructions and they worked like a charm: we had a new template (which we named “Category RSS Template” as Anders suggests) that generated an XML/RSS feed for each of our categories.
But we want two feeds for each category: one that carries the full text of a post, and one that carries the headline (item title) only. To do this, we made a copy of our new template and named it “Category RSS Headlines Template.” When setting up the configuration of this headline template (the “Blog Config > Archiving > Add New…” step), make certain that you give the file a unique name– we used “categories/<$MTArchiveCategory dirify=”1″$>/indexh.xml” (We named the first feed “index.html”).
Then, to get the level of content we wanted (full/headline) we changed the <description></description> section of the “Category RSS Feeds” template to:
<description><$MTEntryBody encode_xml=”1″$></description>
and removed the <description></description> section of the “Category RSS Feeds Headlines” altogether.
So far so good, but both feeds (full text and headline) carry the same <title> value, the name of the blog. Easily solved: in the full text template change:
<title><$MTBlogName encode_xml=”1″$></title>
to
<title><$MTBlogName encode_xml=”1″$> - <$MTArchiveCategory encode_xml=”1″$></title>
and in the headline template change
<title><$MTBlogName encode_xml=”1″$></title>
to
<title><$MTBlogName encode_xml=”1″$> - <$MTArchiveCategory encode_xml=”1″$> Headlines</title>
The <title> value will then include the category name, and the fulltext and headline feeds will have different <title>s.