Beruflich Dokumente
Kultur Dokumente
and proxying.
Oh, and do think about your domain name. If your
name is not soap, will you want to be referred to as
"soap.com" even when you have switched your
product line to something else. (With apologies to
whoever owns soap.com at the moment).
Conclusion
Keeping URIs so that they will still be around in 2,
20 or 200 or even 2000 years is clearly not as simple
as it sounds. However, all over the Web, webmasters
are making decisions which will make it really
diicult for themselves in the future. Often, this is
because they are using tools whose task is seen as to
present the best site in the moment, and no one has
evaluated what will happen to the links when things
change. The message here is, however, that many,
many things can change and your URIs can and
should stay the same. They only can if you think
about how you design them.
See also:
Jacob Nielsen's "Alertbox" rant on the same
topic
(back to Etiquette for server administrators, on to
Structure of your work)
Footnote
How can I remove the le extensions...
...from my URIs in a practical le-based web server?
If you are using, for example, Apache, you can set it
up to do content negotiation. You keep the le
extension (such as .png) on the le (e.g. mydog.png),
but refer to the web resource without it. Apache
then checks the directory for all les with that name
and any extension, and it can also pick the best one
out of a set (e.g. GIF and PNG). (You do not have to
put dierent types of le in dierent directories, in
fact the content negotiation won't work if you do.)
Set up your server to do content negotiation
Make references always to the URI without the
extension
References which do have the extension on will still
work but will not allow your server to select the best
of currently available and future formats.
(In fact, mydog, mydog.png and mydog.gif are each
valid web resources. mydog is content-type-generic.
mydog.png and mydog.gif are content-type-specic.)
Of course, if you are building your own server, then
using a database to relate persistent identiers to
their current form is a very clean idea -- though
beware the unbounded growth of your database.