Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Import.pl compresses unused ID#'s

Quote Reply
Import.pl compresses unused ID#'s
When you run Import.pl to import a Links 2 database into Links SQL, it automatically removes the unused ID numbers and effectively renumbers the database. At first I thought this was nice; compress unneeded "space." Then it occured to me that I'll have a bit of a problem with that...

I have a list of around 200 hard coded links using the jump.cgi?id=x method. The reason why I have that isn't too important, but I figured it would be much more likely for their URL's to change than it would be their Links ID #'s... Oops. Frown

So, is there any way to tell Import.pl not to remove the blanks? I only have ~150 unused ID #'s scattered throughout my database (haven't been able to run more than about 10% of a verify to look for dead links Wink ), so compression isn't currently of much need to me.

Oh yeah, for those of you that are more of a newbie to Links SQL than I, as Alex pointed out to me in an email, the instructions for Import.pl are inside the script. I went ahead and ran it throught telnet without knowing to direct output to an error file, although I did log the process...

Thanks,
Dan

p.s. pugdog, I'll get a new sig set up per your request. For now, my Links SQL temp setup is at http://run-down.com/links/ and my Links 2 (which will become the location for the SQL when it's ready) is at http://run-down.com/ .
Subject Author Views Date
Thread Import.pl compresses unused ID#'s Dan Kaplan 3044 Feb 9, 2000, 9:15 PM
Post Re: Import.pl compresses unused ID#'s
pugdog 2963 Feb 10, 2000, 4:04 PM
Post Re: Import.pl compresses unused ID#'s
Dan Kaplan 2967 Feb 10, 2000, 6:38 PM
Post Re: Import.pl compresses unused ID#'s
pugdog 2974 Feb 11, 2000, 11:49 AM
Post Re: Import.pl compresses unused ID#'s
Dan Kaplan 2971 Feb 11, 2000, 12:04 PM
Post Re: Import.pl compresses unused ID#'s
dearnet 3006 Feb 15, 2000, 10:22 PM
Post Re: Import.pl compresses unused ID#'s
Dan Kaplan 2971 Feb 16, 2000, 2:31 AM
Post Re: Import.pl compresses unused ID#'s
pugdog 2988 Feb 16, 2000, 5:18 AM
Post Re: Import.pl compresses unused ID#'s
Dan Kaplan 2978 Feb 16, 2000, 5:48 AM