added encoding paramater to Producer.produce(). use it for featuresRSS so it can...
[mir.git] / source / mircoders / producer / ProducerStartPage.java
index 865c100..774f62e 100755 (executable)
@@ -50,11 +50,14 @@ public class ProducerStartPage extends Producer {
     startPageModel.put("dc_now", new SimpleScalar(StringUtil.date2w3DateTime(new GregorianCalendar())));
 
 
-    /** @todo switch to compressed */
+    /* @todo switch to compressed */
     produce(startPageTemplate, producerDocRoot + "/index.shtml", startPageModel, htmlout);
     
-    /** should be mandatory in light of new www.indy newswire */
-    produce(featuresRSSTemplate, producerDocRoot + "/features.1-0.rdf", startPageModel, htmlout);
+    /* should be mandatory in light of new www.indy newswire.
+     *  but remember Mir is not indy specific. -mh. 
+     *  Also should it really always be produced in UTF8 chars -mh? 
+     */
+    produce(featuresRSSTemplate, producerDocRoot + "/features.1-0.rdf", startPageModel, htmlout, "UTF8");
 
     // finished
     logHTMLFinish(htmlout, "Startpage", 1, startTime, System.currentTimeMillis());