BB Unix Network Monitor - Message

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

Re: {bb} bbgen --htmlextension



Cool. That changes the extentions in the html dir. But the links (the colored dots) are still pointing to .html. Is that in bbgen.c?
-Ellick

On Fri, 2004-08-06 at 06:27 +0000, Henrik Storner wrote:
In <1091744799.5184.5.camel@cav-ejohnson1.cavionad.cavion.net">1091744799.5184.5.camel@cav-ejohnson1.cavionad.cavion.net> Ellick Johnson <ejohnson@cavionplus.com> writes:

>When I use the --htmlextention=.php in my bb-display.sh it only changes
>bb.html and bb2.html to .php. I use the STATIC option for my pages. How
>do I get bbgen to make all those pages .php as well instead of .html?

Those pages are not created by bbgen, but by the bbd daemon - as soon
as a status message is received, it generates the html file.

So to change it, you must change the $BBHOME/src/bbd.c file. Around
line 2119 (search for "CREATING HTML FILE") there is a line that
reads

    sprintf(htmlname, "%s/%s.html", bbhtmldir, tmpfilename);

Change the .html there to .php or whatever you want, then run
"make; make install" and restart Big Brother.

Henrik

Home | Main Index | Thread Index