X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ffeed_generator.c;h=00bc5074f6f31ada34ffe77cdf44066bb25a58ad;hb=HEAD;hp=f6cb345a0144c9665c9abf2aa420d03c8d40d225;hpb=5922d6ab5d9d36dafabcf0c5a01499be0f9d2f42;p=citadel.git
diff --git a/webcit/feed_generator.c b/webcit/feed_generator.c
index f6cb345a0..119001bd8 100644
--- a/webcit/feed_generator.c
+++ b/webcit/feed_generator.c
@@ -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("");
escputs(ChrPtr(site_prefix));
- wc_printf("/image?name=_roompic_?go=");
+ wc_printf("/roompic?room=");
urlescputs(ChrPtr(WC->CurRoom.name));
wc_printf("");
escputs(ChrPtr(site_prefix));