<!-- generates a count for each topic -->
- <producer name="generateTopicCounts">
+
+ <!-- TODO: add date limit when we actually are going live with this -->
+ <producer name="generateTopicCounts">
<verbs>
<verb name="doit" />
</verbs>
<body>
<FreeQuery key="topicCounts" query=" SELECT count(c.id) AS count, t.title AS title from content c, topic t, content_x_topic x
- WHERE c.id = x.content_id AND t.id = x.topic_id GROUP BY t.title"
+ WHERE c.id = x.content_id AND t.id = x.topic_id GROUP BY t.title ORDER BY length(t.title)"
type="set"/>
<Generate generator="/topiccount.template"
<td class="margin"><div> </div></td>
<td class="leftColumn"><!--
begin left column
- --><ul class="leftNav">
+ -->
+
+
+
+
+<ul class="leftNav">
+ <li><a href="#" class="navHeader" id="selected">Home</a></li>
+</ul>
+
+
+<a href="#" class="navHeader">Latest News</a>
+
+<!--#include virtual="/var/lib/mir/nyc/mir/etc/producer/topiccount.template" -->
+
+ <ul class="leftNav">
<li><a href="#">Newswire</a>
<ul>
<li><a href="#">By Category</a></li>