adding simple doc to producers.xml
authorgrok <grok>
Thu, 11 Aug 2005 15:34:11 +0000 (15:34 +0000)
committergrok <grok>
Thu, 11 Aug 2005 15:34:11 +0000 (15:34 +0000)
etc/producer/producers.xml

index 9b0bbd6..40ac5a8 100755 (executable)
@@ -8,9 +8,16 @@
     - a feature archive
     - articles
     - media
+
+  please check the mir user's guide and developer's guide
+  for syntax
 -->  
 
 <producers>
+  <!-- this first section contains nodedefinitions -->
+  <!-- a nodedefinition is a sort of "function" that can be "called" later -->
+
+  <!-- FIXME: doc for the Language "function" ? -->
   <nodedefinition name="Language">
     <parameters>
       <string name="languagecondition" defaultvalue="code != 'ot'"/>
   </nodedefinition>
 
  
+  <!-- This second section contains actual producers that will appear  -->
+  <!-- on the admin->"Generate manually"->"advanced page"              -->
+
+  <!-- This producer generates html  pages, as well as media and video   -->
+  <!-- files for articles stored in the database.  -->
   <producer name="articles">
     <verbs>
       <verb name="changed" default="1">
     </body>
   </producer>  
 
+  <!-- generates the left column FIXME more doc?  -->
   <producer name="navigation">
     <verbs>
       <verb name="generate" default="1" description="generates the left column"/>
     </body>
   </producer>
   
+  <!-- generates the main html page (startpage) of an indymedia site  -->
   <producer name="startpage">
     <verbs>
       <verb name="generate" default="1" description="Generates the startpage"/>
     </body>
   </producer>  
   
+  <!-- Use rsync to copy static site to mirrors (only if requested   -->
+  <!-- in config file)  -->
   <producer name="synchronization">
     <verbs>
       <verb name="run" default="1" description="Synchronizes the publication site with the production site"/>