Featured IP, broken links.

Date: Tue, 17 Nov 1998 00:42:48 -0400 (AST)
From: "Norman L. DeForest" <af380@chebucto.ns.ca>
To: techteam@chebucto.ns.ca
cc: editors@chebucto.ns.ca
Precedence: bulk
Return-Path: <editors-mml-owner@chebucto.ns.ca>

next message in archive
next message in thread
previous message in archive
Index of Subjects



I'm not sure if this is an editor problem or a technical problem due
to a different path being used
  (a)  when the page in question,
     http://www.chebucto.ns.ca/Policy/messages/ip/docs-html/featured.html
       is displayed by the welcome script
than is being used 
  (b)  when the page is being edited and tested
but there seems to be a path-length problem with the page:

>                     CCN Featured Information Provider
>     _________________________________________________________________
>   
>   Our current featured Information Provider is the [1] Law Reform
>   Commission of Nova Scotia!
>   
>   The Law Reform Commission has just released it's newest report [2]
>   Mortgage, Foreclosure and Sale. There are summairies of the report in
>   [3] English, [4] French, and [5] Mi'gmaw.
>   
>   The home page is also available in [6] French and there are links to
>   many other [7] Legal Organizations in Canada, the United States and
>   around the world.
>   
>   In 1995 their site was nominated as Best Legal Resource in the
>   Canadian Internet Awards. Check it out!

The URLs generated by the links on the page are:

   1. http://www.chebucto.ns.ca/Policy/Law/LRC/index.html
   2. http://www.chebucto.ns.ca/Policy/Law/LRC/mortgage2.html
   3. http://www.chebucto.ns.ca/Policy/Law/LRC/summaryMFS2.html
   4. http://www.chebucto.ns.ca/Policy/Law/LRC/summary2MFS2.html
   5. http://www.chebucto.ns.ca/Policy/Law/LRC/summary3MFS2.html
   6. http://www.chebucto.ns.ca/Policy/Law/LRC/index.html.fr
   7. http://www.chebucto.ns.ca/Policy/Law/LRC/otherlaw.html

To single out one URL as an example, link [1]:

On "Featured IP" page:
http://www.chebucto.ns.ca/Policy/Law/LRC/index.html
The correct URL:
http://www.chebucto.ns.ca/Law/LRC/index.html

The links as coded on the page:  (reformatted)

<A HREF="../../../Law/LRC/index.html">Law Reform Commission 
                                      of Nova Scotia</A>!
<A HREF="../../../Law/LRC/mortgage2.html">Mortgage, Foreclosure
                                          and Sale</A>.
English
French
Mi'gmaw
French
Legal Organizations

It appears that not enough '../'s were used and the "/Policy" directory
wasn't removed from the path obtained from the referring page.

Perhaps, instead of "../../../" (bad) or "../../../../" (better), it
would be safer to code the full path by using a leading "/" as in

    English

as the welcome page would (presumably) always be using the "http" URL
and never the "file://localhost/..." one or, even safer, code the
fully-qualified path:

    English


I am also wondering why the background icon and the <font ...> tag is
used here when the only people to access the welcome page are those 
logged in to CCN with lynx -- or do 'outsiders' also get to see the
"Featured IP" page as well?

<body background="../../../Icons/paper.gif">
<h1 align="center"><font color="#000080">CCN Featured Information
Provider</font></h1>


Norman De Forest            http://www.chebucto.ns.ca/~af380/Profile.html
af380@chebucto.ns.ca           [=||=]            (A Speech Friendly Site)
.........................................................................
"I'd offer to change your mind for you, but I don't have a fresh diaper."
                     -- Leah to pro-spammer in news.admin.net-abuse.email
.........................................................................
Spammers, see:      http://www.chebucto.ns.ca/~af380/Profile.html#Contact
Spammees, see:             http://www.chebucto.ns.ca/~af380/Antispam.html


next message in archive
next message in thread
previous message in archive
Index of Subjects