[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] GIF does not show up
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] GIF does not show up
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Tue, 5 Apr 2005 21:37:20 +0200
- References: <20050405181216.GB20958@qwestip.net>
- User-agent: Mutt/1.5.5.1i
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™\">"
>
> 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