gnustep-webmasters
[Top][All Lists]
Advanced

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

Re: Other observations on www.gnustep.org


From: MJ Ray
Subject: Re: Other observations on www.gnustep.org
Date: Tue, 30 Mar 2004 21:57:35 +0100

On 2004-03-26 20:59:01 +0000 Adam Fedor <address@hidden> wrote:

On Friday, March 26, 2004, at 01:08 PM, MJ Ray wrote:
Well, if I set those $T2H_* variables to "", will that produce your current output? If not, what settings do I need to do that?
Oh, these are the current settings:

Then, I suggest:

if (defined($ENV{'GNUSTEP_WEB_ROOT'})) {
  open(TMPL,"<$ENV{'GNUSTEP_WEB_ROOT'}/secondary.html.template");
  $tmpl=join("",<TMPL>);
  close(TMPL);
  ($T2H_EXTRA_HEAD,$T2H_PRE_BODY_OPEN,$T2H_PRE_BODY_CLOSE) =
($tmpl=~/<\/title>(.*)<\/head>.*<body>(.*<div id="main">).*(<\/div>.*)<\/body>/sm);
  }
else {
# this is added inside <HEAD></HEAD> after <TITLE> and some META NAME stuff
  # can be used for <style> <script>, <meta> tags
  $T2H_EXTRA_HEAD = '<link rel="stylesheet" href="../gnustep-main.css"
  type="text/css" />';
  }

And if you are building a copy for web, just export GNUSTEP_WEB_ROOT=/path/to/root/of/your/CVS/www/checkout before running the generator?

Oh, I still haven't fixed secondary.html.template and friends. How do I merge that off mjr-2004 onto HEAD?

--
MJR/slef     My Opinion Only and possibly not of any group I know.
Please http://remember.to/edit_messages on lists to be sure I read
http://mjr.towers.org.uk/ gopher://g.towers.org.uk/ address@hidden
 Creative copyleft computing services via http://www.ttllp.co.uk/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]