script test for indy.nl
authorzapata <zapata>
Thu, 18 Jul 2002 22:14:19 +0000 (22:14 +0000)
committerzapata <zapata>
Thu, 18 Jul 2002 22:14:19 +0000 (22:14 +0000)
source/mirlocal/indymedia.nl/IndyNLProducerLocalizer.java

index 09ac9c7..597f2cc 100755 (executable)
@@ -59,7 +59,8 @@ public class IndyNLProducerLocalizer extends MirBasicProducerLocalizer {
                     } )
                 )
               ),
-              new ContentMarkingProducerNode( "content" )
+              new ContentMarkingProducerNode( "content" ),
+              new ScriptCallingProducerNode("/home/www-data/bin/addarticle \"http://prod.indymedia.nl/nl/${content.date.formatted.yyyy}/${content.date.formatted.MM}/${content.id}.shtml\"")
             } )
           );
 
@@ -67,6 +68,8 @@ public class IndyNLProducerLocalizer extends MirBasicProducerLocalizer {
       contentNode.addVerb( "new", "is_published='1' and is_produced='f' and to_article_type<>${articletype.trashed} and to_article_type<>${articletype.opentrashed} and to_article_type<>${articletype.static}", "webdb_create desc, date desc" );
 
       aProducerNode.addSubNode( contentNode );
+      aProducerNode.addSubNode( new ScriptCallingProducerNode("/home/www-data/bin/postproduce") );
+
 
       // openly trashed articles
       contentNode =