[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Viewing bb2.rss with Firefox livebook mark



I found why this is failing. It is missing "http://hobbitserver/";. It works if I change the <link> lines from this:
<link>/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>


to this:
<link>http://hobbitservername/hobbit-cgi/bb-hostsvc.sh?HOST=servername&amp;SERVICE=msgs</link>

I created a patch. I hope I did this right. Anyway it seems to work for me.

John

John Glowacki wrote:
Using Firefox 1.0.7 to view bb2.rss seems to have stopped working when I upgraded to 4.2. I am running a snapshot from 04-25-06. I tried Firefox 1.5 and that didn't work either. AKregator is able to read in the alerts OK for bb2.rss. I just added --rss to my 4.1.2 production server and it works. I don't see anything obviously wrong with the format of the .rss files. Can anyone confirm this behavior with Firefox and 4.2?

hobbitlaunch.cfg:
CMD bbgen $BBGENOPTS --report --rss --max-eventtime=1440

I tried --rssversion={0.91|0.92|1.0|2.0} but none of the versions seems to work.


--- bbdisplay/rssgen.c.orig	2006-05-25 10:55:47.000000000 -0400
+++ bbdisplay/rssgen.c	2006-06-02 09:37:20.000000000 -0400
@@ -142,7 +142,7 @@
 			e->column->name);
 	}
 	else {
-		fprintf(fd, "%s", hostsvcurl(h->hostname, e->column->name, 1));
+		fprintf(fd, "%s%s", xgetenv("BBWEBHOST"), hostsvcurl(h->hostname, e->column->name, 1));
 	}
 	fprintf(fd, "</link>\n");