To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.faqOpen lugnet.faq in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 FAQ / 273
272  |  274
Subject: 
Re: Linking between FAQ items (Was: [LDraw FAQ] Who wrote LDraw?)
Newsgroups: 
lugnet.faq
Date: 
Fri, 14 May 1999 20:48:15 GMT
Reply-To: 
JSPROAT@GEOCITIES.COMstopspammers
Viewed: 
1483 times
  
Todd Lehman wrote:
In lugnet.faq, jsproat@geocities.com (Sproaticus) writes:
From my end, I can guarantee that all FAQ items (1) have unique file names.
This is the key thing, to be able to find a specific file by its name, in
any subdirectory.
If you make the filenames themselves unique, you'll end up in the long run
encoding bastardized forms of the directory names into the filenames in
order to keep the namespaces clean.  No way to avoid that.  :-(

An alternative is to refer to the directory and the file specifically,
leaving the slurper script to figure out if it should resolve the address or
not (1).

The drawback to this is, is that the author who wishes to link to another
items has two new responsibilities:

  a) to find out beforehand what the path and filename of the linked-to file
is (but half of this should be done beforehand, anyway)

  b) to keep track of linked-to FAQ items which may be moved into another
directory

I'm willing to work with either solution; I just feel that not requiring
unique filenames will make the authors' jobs more complicated.

Cheers,
- jsproat

1.  That is, if it's a single large document or snippets of the FAQ.

--
Jeremy H. Sproat <jsproat@geocities.com>
http://www.geocities.com/SiliconValley/Horizon/5249/
May the Force be with y'all.



Message has 1 Reply:
  Namespace of FAQ-entry filenames
 
(...) By "resolve the address" do you mean munging the HREF? Can you give an example? (...) Doing that is surely gonna be easier than firstly doing that and secondly looking up the associated global ID string. (...) In a very large system of ID (...) (25 years ago, 15-May-99, to lugnet.faq)

Message is in Reply To:
  Re: Linking between FAQ items (Was: [LDraw FAQ] Who wrote LDraw?)
 
(...) If you make the filenames themselves unique, you'll end up in the long run encoding bastardized forms of the directory names into the filenames in order to keep the namespaces clean. No way to avoid that. :-( --Todd (25 years ago, 14-May-99, to lugnet.faq)

24 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR