[1245] in Coldmud discussion meeting

root meeting help first first in chain previous in chain previous next last

Re: [COLD] a couple of html questions

daemon@ATHENA.MIT.EDU (Wed Mar 5 11:02:58 1997 )

Date: Wed, 5 Mar 1997 08:57:05 -0700 (MST)
From: Brandon Gillespie <brandon@cold.org>
To: Frank Crowell <frankc@maddog.com>
cc: Cold Stuff <coldstuff@cold.org>
In-Reply-To: <331D1670.585F547C@maddog.com>

On Tue, 4 Mar 1997, Frank Crowell wrote:
> I seem to have forgotten how to use the html stuff in Cold.
> For example, I thought that the start.html went in the root
> directory where the database is.  But I get "not found" error
> messages when I try to access that file with a browser.
> 
> I also don't know what I'm suppose to put in the .../login/
> file; is that an index.html?
> 
> I don't need detailed answers, but just a pointer or two
> of what I'm suppose to be looking.

Anything that shows up on the web in '/' is actually in the root file
directory (defauling to 'root') plus html.  For instance, if you didn't
change any of the defaults it'd be in: root/html/

> I also wonder if there is a editor for editing the 
> complex html descriptions that are embedded in the Cold
> database or is the idea to @dump the object and then use
> a regular text editor.  An example of this is motd.  There
> is a lot of html stuff and not an obvious way of how I can
> edit it.

Most of it should be dynamically generated through CML.  For the specific
MOTD instance I can say just edit $motd.build_html--its all one line
because of an insane bout of optimization I had once. 

For other instances just ask me..

-Brandon