>>>> "jsja" == John S J Anderson
<jacobs(a)xemacs.org> writes:
jsja> (Totally my decision, in case you hadn't got that yet.)
APA> What was the motivation?
jsja> The reason for using <BASE> is so image links in the template will
jsja> work at all relative directory levels of the site. Consider what would
jsja> happen with the <IMG SRC="Images/xemacs.gif"> when viewing
jsja> <
URL:http://www.xemacs.org/About/index.html> if that BASE tag wasn't
there.
jsja> Yes, there are other solutions possible. They all felt kludge-y to me;
jsja> while using the <BASE> tag felt relatively clean.
We really want the web site to be rooted anywhere, because every
developer should be able to have their own complete self-contained
working copy. It's a small price to pay to have to explicitly do <IMG
SRC="../../Images/xemacs.gif"> and have to count the '..'s.
But we're software hackers, so we are extremely lazy. This is a
PERFECT use for a preprocessing tool like genpage. Can genpage
automatically replace some magic cookie @XEMACS.GIF@ with a relative
path with the right number of `..'? I haven't tried, but it shouldn't
be rocket science.
Martin