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.
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.