Gossamer Forum
Home : Products : Links 2.0 : Customization :

Links searching two different databases

Quote Reply
Links searching two different databases
I need to do two things

1)have folders/categories automatically generated to corrispond with the date?
2)make my first links engine search another links engine with a different database format. All on the same site it is just that they are in different ares

If you can help with any of these mods..PLEASE DO!!

Reagrds

Gian

Quote Reply
Re: Links searching two different databases In reply to
#2..

in search.cgi.. you search the first db.. then you do the same thing for the second..

you can put a

@database = ($db_links_file, $db_blah_file);
foreach (@database) {
the searching part...
}

and then change the $db_file_name to $_ so it will open that file..

the search uses push.. so there is no problem.. but the links need the same fields..

jerry
Quote Reply
Re: Links searching two different databases In reply to
Ummm Jerry,
where exactly do i put this
and futher more here is what i am trying to do. Have one links just working on detailed view while the other is normal so it wouldn't have the same fields is there no way to get around this?

and no ideas how to do the first one?!

Gian
Quote Reply
Re: Links searching two different databases In reply to
Ummm widgetz are you there?
i dont konw where to put the code
and too....
if the filed numbers are the same
ie 1,2,5
does it matter that they may have different names?
like 5 is description on one and
blah on the other?

Regards

Gian
Quote Reply
Re: [Gian] Links searching two different databases In reply to
where exactly do i put the changes?

can somebody post the hole code, perhaps a mod for searching two databases.

Regards

Matthias

Matthias
gpaed.de