Now crawling in desktop mode should work. It is much more efficient
[utils] / crawler / kissweb / src / org.wamblee.crawler.kiss.xml
index 01e88591439110d6a4486c1194fcde68775c03a7..022b4aa0a92ceb82aff67b9fad38a80118940d9a 100644 (file)
   <!-- The object which executes the crawler --> 
   <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"
       class="org.wamblee.crawler.kiss.scheduling.CrawlerExecutorImpl">
-      <constructor-arg><value>/home/erik/crawler/config.xml</value></constructor-arg>
-      <constructor-arg><value>/home/erik/crawler/programs.xml</value></constructor-arg>
+      <constructor-arg><value>${org.wamblee.crawler.config.epg}</value></constructor-arg>
+      <constructor-arg><value>${org.wamblee.crawler.config.programs}</value></constructor-arg>
+      <constructor-arg><ref bean="org.wamblee.crawler.kiss.notification.Notifier"/></constructor-arg>
   </bean>
   
   <!-- The object that determines whether to execute the crawler when it is signalled by 
        the scheduler. --> 
-  <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerSchedule"
-      class="org.wamblee.crawler.kiss.scheduling.CrawlerSchedule">
+  <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerStatus"
+      class="org.wamblee.crawler.kiss.scheduling.CrawlerStatus">
       <constructor-arg><ref local="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"/></constructor-arg>
       <!-- The interval of the day in hours [hourmin, hourmax] over which crawling will be done and 
            retried if necessary --> 
-      <constructor-arg><value type="int">5</value></constructor-arg>  
+      <constructor-arg><value type="int">19</value></constructor-arg>  
       <constructor-arg><value type="int">24</value></constructor-arg>  
   </bean>
   
-</beans> 
\ No newline at end of file
+</beans>