changed random limit from 4 to 10
authormtopper <mtopper>
Sun, 24 Jul 2005 19:11:45 +0000 (19:11 +0000)
committermtopper <mtopper>
Sun, 24 Jul 2005 19:11:45 +0000 (19:11 +0000)
etc/producer/producers.xml

index 58d5096..917a78a 100755 (executable)
        <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="4">
+               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">
        
         <Log message="Getting Last 5 articles for category: ${category.title} - counter: ${counter}" />
         <Define key="topictitle" value="${category.title}" />