*** empty log message ***
authormtopper <mtopper>
Sun, 17 Jul 2005 16:20:22 +0000 (16:20 +0000)
committermtopper <mtopper>
Sun, 17 Jul 2005 16:20:22 +0000 (16:20 +0000)
etc/producer/producers.xml
etc/producer/startpage.template

index f5b7473..f4ab4a6 100755 (executable)
 
 
  <!-- 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"
index 33454cf..1c7ee48 100755 (executable)
@@ -72,7 +72,21 @@ this is a draft<br />
       <td class="margin"><div>&#160;</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>