on 7/27/00 8:41 AM, Adrian Aichner at aichner(a)ecf.teradyne.com wrote:
(mailing from work, hence no from: jacobs(a)xemacs.org. please just reply to
the list(s))
I certainly did not mean to offend anybody.
I wasn't offended -- crotchety, maybe. Chalk it up to an early morning
reply, eh?
Do you know whether PHP would provide us with comparable
functionality?
I haven't played much with PHP, so take this with a grain of salt. I see PHP
as being more for sites with dynamic content. Since the content at
xemacs.org is static, PHP would be a bit of overkill. That's one of the
things I like about genpage -- it lets you do some tricks (via Perl) while
you're generating the pages, but doesn't introduce a lot of overhead on the
server.
What leads you to suggest PHP?
I hope you will remain active will xemacs website development and
maintenance.
[ more stuff snipped ]
Hey, I'm not going anywhere. 8^) You've been doing a bang-up job, from what
I can see, and I hope you keep on with it. Some documentation would be good,
but it might be better to let the dust settle a bit first -- make sure
everything is optimal, then nail it down with a doc or two.
And now on to the specifics...
APA> AFAIK, "base href" is a feature to be used when web
documents are
APA> sent off via e-mail, to provide a base for all relative links.
[snip me
asking for a cite]
But that doesn't say not to use it, just that it trumps everything else.
Which is exactly why I used it.
Including a base href via the template.html into documents on
various
directory hierarchy levels changes the meaning of relative links.
All relative links become relative to that one location, which defeats
modular, self-contained linking within a sub-directory.
When I started working on the site, there really wasn't that much
self-linking within sub-directories. (I want to say none, but I'm not sure
if that's right.)
I've been there, done that, and learned my lessons from that.
I see this as something that needs to be kept in mind while working on
pages, which is not a big problem for me.
This is sounding like a style issue. I'm perfectly happy to run with
whatever solution you think is right -- you're the one slogging through the
muck here.
jsja> The reason for using <BASE> is so image links in the
jsja> template will work at all relative directory levels of the
jsja> site. Consider what would happen with the <IMG
jsja> SRC="Images/xemacs.gif"> when viewing
jsja> <
URL:http://www.xemacs.org/About/index.html> if that BASE
jsja> tag wasn't there.
I would use absoulte links like
<IMG SRC="/Images/xemacs.gif">
to access global features like images, and other shared resources.
Yes, that would work now.
The other reason I used <BASE> was because I was re-working the site from a
local copy -- so <IMG SRC="/Images/FOO"> wouldn't have allowed me to
see
what I was going. More than anything, the <BASE> usage is a remnant of that
work.
So, I guess aside from noting the potential break-age if anybody mirrors the
site in a remote directory (e.g. at <
URL:http://www.foo.com/xemacs-mirror/>)
using absolute links will work.
Again, I'm sorry if my previous message sounded as if I was upset, that was
not what I intended to convey.
Keep up the good work,
john.