Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [ArielS] Mirrors (jump.cgi) with Link2.0

Quote Reply
Re: [ArielS] Mirrors (jump.cgi) with Link2.0 In reply to
In jump.cgi, try copying the file (example jump2.cgi), and change;

Code:
while (<URL>) {
(/^$id$delim(.+)/o) or next;
chomp ($goto = $1);
last;
}

to something like;

Code:
while (<URL>) {
my @cut= split /$delim/, $_;
$goto = $cut[1];
last;
}

Change $cut[1] to whatever field the different URL is held in. For example, if your database looked like;

ID|URL|Title|Test|URL2|URL3

...you would use something like $cut[4] or $cut[5].

This mod is untested, and I havn't used Links 2 for a good few months, so I'm pretty rusty on it. May, or may not work Crazy

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Mirrors (jump.cgi) with Link2.0 ArielS 4744 Oct 17, 2003, 6:53 AM
Thread Re: [ArielS] Mirrors (jump.cgi) with Link2.0
Andy 4661 Oct 17, 2003, 8:43 AM
Thread Re: [Andy] Mirrors (jump.cgi) with Link2.0
ArielS 4634 Oct 17, 2003, 9:19 AM
Thread Re: [ArielS] Mirrors (jump.cgi) with Link2.0
fuzzy logic 4634 Oct 17, 2003, 10:25 AM
Thread Re: [fuzzy logic] Mirrors (jump.cgi) with Link2.0
ArielS 4635 Oct 17, 2003, 9:35 PM
Post Re: [ArielS] Mirrors (jump.cgi) with Link2.0
PerlFlunkie 4634 Oct 17, 2003, 10:10 PM
Thread Re: [ArielS] Mirrors (jump.cgi) with Link2.0
fuzzy logic 4623 Oct 17, 2003, 10:27 PM
Post Re: [fuzzy logic] Mirrors (jump.cgi) with Link2.0
ArielS 4610 Oct 18, 2003, 11:22 AM