made topic pages .html.
[nyc.indymedia.org.git] / etc / producer / producers.xml
index a09d432..1c25d4a 100755 (executable)
     </verbs>
     <body>
       <Enumerate key="topic" table="topic" limit="_topics">
-        <Define key="docSuffix" value=".shtml"/>
-        <Define key="storageSuffix" value=".shtml"/>
+        <Define key="docSuffix" value=".html"/>
+        <Define key="storageSuffix" value=".html"/>
         
         <List key="special" table="content c" 
           selection="c.is_published='1' and c.to_article_type = ${articletype.topicspecial} and c.id=cxt.content_id and cxt.topic_id = ${topic.id}"
        <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="10">
+               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">
        
         <Log message="Getting Last 5 articles for category: ${category.title} - counter: ${counter}" />
         <Define key="topictitle" value="${category.title}" />