Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [webmaster33] Configurable Main field, instead just using fixed URL field

Quote Reply
Re: [webmaster33] Configurable Main field, instead just using fixed URL field In reply to
It would be just as easy to leave the URL as it is and ignore it. Everything will work as it is, without having to do massive code changes, bug fixes, and such.

Many of my sites do not use a "url". Some I have the URL pointing internally to a file location or image. This is the first change I made to Links when I started running the postcards directory was to link to the internal image file. This was before image uploads, File fields, and such.

Validate Links, Duplicate, etc use the URL, since it's supposedly a UNIQUE identifier on the Internet, similar to a phone number or physical address (complete physical address).

The "key" field in the system is the ID, which is the "unique" record as far as MySQL is concerned.

You can reset weights, regex's and such to make the fields not required. You can edit MySQL to allow "null" values, and similar.

But, for a "links" directory, the URL field is special. How many sites have the same physical name?

How many images have the same file name??

The only thing that differentiates them is the "URL" (physical location).

Jump.cgi works *really* well on the ID number, and minor rewrites of the 'go' or 'location' command will let jump.cgi jump you to an image, a detail page, or anything else you want to "jump" to from that ID. You can also modify jump.cgi to accept parameters, to jump to a page if you send in nnnn.html and to the link itself if you just send in nnnn, etc.

I've found jump.cgi to be the most fun file to modify over the years, :) And I keep saying so <G>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread Configurable Main field, instead just using fixed URL field webmaster33 3733 Dec 30, 2002, 3:42 AM
Thread Re: [webmaster33] Configurable Main field, instead just using fixed URL field
pugdog 3527 Dec 30, 2002, 12:51 PM
Thread Re: [pugdog] Configurable Main field, instead just using fixed URL field
webmaster33 3573 Dec 30, 2002, 4:44 PM
Thread Re: [webmaster33] Configurable Main field, instead just using fixed URL field
pugdog 3581 Dec 30, 2002, 9:53 PM
Post Re: [pugdog] Configurable Main field, instead just using fixed URL field
Paul 3516 Dec 31, 2002, 2:32 AM
Thread Re: [pugdog] Configurable Main field, instead just using fixed URL field
webmaster33 3569 Dec 31, 2002, 5:54 AM
Thread Re: [webmaster33] Configurable Main field, instead just using fixed URL field
Paul 3531 Dec 31, 2002, 6:31 AM
Post Re: [Paul] Configurable Main field, instead just using fixed URL field
webmaster33 3537 Dec 31, 2002, 7:13 AM