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

Re: [hobbit] GIF does not show up



On Tue, Apr 05, 2005 at 02:12:16PM -0400, Asif Iqbal wrote:
> I am using Hobbit 4.0.1 and I defined HOBBITLOGO as
> 
> HOBBITLOGO="<IMG SRC=\"/hobbit/gifs/qwest_logo.gif\" width=\"185\" height=\"77\" alt=\"Qwest Spirit of Service&#8482;\">"
> 
> in my hobbitserver.cfg file
> 
> It shows up fine in every page, eg. bb.html, except for maint.pl
> file

It's the way maint.pl parses the hobbitserver.cfg file that is causing
problems.

The ugly but functional fix is to define HOBBITLOGO without any
escapes or quotes. Like this:

HOBBITLOGO="<IMG SRC=/hobbit/gifs/qwest_logo.gif width=185 height=77>"

which results in HTML that is not completely valid, but it works.


The real solution is to pack maint.pl inside a wrapper that sets up
the environment for it so that it does not need to process
hobbitserver.cfg by itself (and get it wrong). That's for the next
version.


Henrik