To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.testOpen lugnet.off-topic.test in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Testing / 1321
1320  |  1322
Subject: 
Re: Move along, nothing happening here...
Newsgroups: 
lugnet.off-topic.test
Date: 
Tue, 7 Mar 2000 22:20:53 GMT
Viewed: 
401 times
  
In lugnet.off-topic.test, Shiri Dori writes:
This should link to a metroliner
What do you see here?
(The above should link to 375)
[...]
I think I get this now... the DB finds the first thing after "<set:"
And makes the link say everything after the first space... (" ")

Yup -- that's about 99% right!  What happens is this:

   yyyyyyyy

It considers "set:xxxx" to be a URI with a fictitious protocol called "set".
Thus, it considers "xxxx" to be a URL.

Then it considers "yyyyyyyy" (optional) to be ISO-8859-1 text to display
as the link label.  If the "yyyyyyyy" portion is omitted, i.e.,

   <set:xxxx>

then the link label is just the raw text "<set:xxxx>" as-is.

"xxxx" can be not only a 4-digit set numbre, but any URL-formatted string,
as you discovered.  :)  Space characters are not part of valid URLs, so the
space character is used as a delimiter for an optional label.

--Todd



Message is in Reply To:
  Re: Move along, nothing happening here...
 
(...) <set:4558 This should link to a metroliner> <set:375 What do you see here?> (The above should link to 375) (...) <set:King_Leo's_Castle> <part:1x1 A brick> I think I get this now... the DB finds the first thing after "<set:" And makes the link (...) (25 years ago, 7-Mar-00, to lugnet.off-topic.test)

20 Messages in This Thread:








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

Custom Search

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