Gossamer Forum
Home : Products : Links 2.0 : Discussions :

New Site merge with Old Site

Quote Reply
New Site merge with Old Site
I just installed links 2 on DH site my site has all the links is there a mod or is there a way that I can get the search on his site to actually search my site but to display the results on his search results page. Without just uploading all my links to his site?
Quote Reply
Re: [couponangel] New Site merge with Old Site In reply to
 Change the form action. Here is the original:

<form action="<%db_cgi_url%>/search.cgi" method="GET">

Change the <%db_cgi_url%> to point to the site you want to search, without the <> brackets, as Links uses those so it knows to change that to the site address.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] New Site merge with Old Site In reply to
Yea that's what I thought at first too but this causes the person to go the site being searched for the results to display. I need the person to stay at his site with the results on his results page
Quote Reply
Re: [couponangel] New Site merge with Old Site In reply to
are you saying you have Links installed for this site, but you want the search results to be based on the database on another site? if so, alter search.cgi to use Net::FTP or LWP::Simple to get the data from the other site.

Philip
------------------
Limecat is not pleased.