final touches on dkim test harness
[citadel.git] / webcit / feed_generator.c
index f6cb345a0144c9665c9abf2aa420d03c8d40d225..119001bd837315d334980f2be73e229779ad4ecb 100644 (file)
@@ -13,7 +13,7 @@
  */
 
 #include "webcit.h"
-#include "webserver.h"
+
 
 /*
  * RSS feed generator -- do one message
@@ -162,7 +162,7 @@ void feed_rss_do_messages(void) {
        Stat.maxload = INT_MAX;
        Stat.lowest_found = (-1);
        Stat.highest_found = (-1);
-       num_msgs = load_msg_ptrs("MSGS ALL", NULL, &Stat, NULL);
+       num_msgs = load_msg_ptrs("MSGS ALL", NULL, NULL, &Stat, NULL, NULL, NULL, NULL, 0);
        if (num_msgs < 1) return;
 
        i = num_msgs;                                   /* convention is to feed newest-to-oldest */
@@ -231,7 +231,7 @@ void feed_rss(void) {
        escputs(ChrPtr(WC->CurRoom.name));
        wc_printf("</title><url>");
        escputs(ChrPtr(site_prefix));
-       wc_printf("/image?name=_roompic_?go=");
+       wc_printf("/roompic?room=");
        urlescputs(ChrPtr(WC->CurRoom.name));
        wc_printf("</url><link>");
        escputs(ChrPtr(site_prefix));