changed navigation to .html
[nyc.indymedia.org.git] / etc / producer / producers.xml
index b9ad277..5457f87 100755 (executable)
       <Language>
         <Generate 
             generator="/navigation.template" 
-            destination="${config.storageRoot}/${pathprefix}/navigation.inc"/>
+            destination="${config.storageRoot}/${pathprefix}/navigation.html"/>
       </Language>
     </body>
   </producer>
        <Set key="counter" value="1"/>
        
        <Enumerate key="category" table="topic t" extratables="topic t2"
-               selection="t.id=t2.id AND t.archiv_url = 'Category' AND (SELECT count(*) from content_x_topic where topic_id = t.id) > 0" order="RANDOM()" limit="20">
+               selection="t.id=t2.id AND t.archiv_url = 'Subcategory' AND (SELECT count(*) from content_x_topic where topic_id = t.id) > 0" order="RANDOM()" limit="10">
        
         <Log message="Getting Last 5 articles for category: ${category.title} - counter: ${counter}" />
         <Define key="topictitle" value="${category.title}" />
         
         <List key="randomarticles" table="content"
                selection ="id in (select content_id from content_x_topic where topic_id = ${category.id})" order="date DESC"
-               limit="1" />
+               limit="3" />
         <Language>     
                <Generate
                        generator="/randomcategory.template"