Webboard: conditional output from search.cgi

2002-06-12 Thread nobody

Author: Alex Barkov
Email: [EMAIL PROTECTED]
Message:
 Hi, I'm hoping to get some advice about how to tackle a specific situation.
 
 I am indexing a network of 5 domains.  One of these domains requires a subscription. 
 When you search on any of the 5 sites you get results for documents on all 5 
domains.  Tags are used to allow people to only search a single domain if they want.
 
 What I want to do provide html like quot;subscription required-- click here to 
learn morequot; in the search results when the page found is on the subscription 
site.
 
 My initial solution to this problem was to use the php frontend and create a custom 
template variable that would provide me with this functionality.  But I am changing 
servers (from redhat to freeBSD) and using the default freebsd ports has me 
increasing my php version to 4.2.1 and decreasing mnogosearch to 3.1.19-2.  The php 
frontend doesn't work with this combination so I have been looking to switch to using 
search.cgi.


If the problem is only in software versions, you can install
both php and mnogosearch from sources, not from ports.

 So far the best solution I have come up with to provide this 
 functionality on search.cgi is to use javascript to do a check on 
 $DU for the subscription url and write out the required html when I 
 get a match.  Can anyone think of a better option?  I have complete 
 control over the subscription site and can dynamically produce any 
 meta tags I want...

You can use external includes in search.htm, please take a look into
documentation.




Reply: http://www.mnogosearch.org/board/message.php?id=4959

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Webboard: conditional output from search.cgi

2002-06-02 Thread nobody

Author: culley
Email: [EMAIL PROTECTED]
Message:
Hi, I'm hoping to get some advice about how to tackle a specific situation.

I am indexing a network of 5 domains.  One of these domains requires a subscription.  
When you search on any of the 5 sites you get results for documents on all 5 domains.  
Tags are used to allow people to only search a single domain if they want.

What I want to do provide html like subscription required-- click here to learn more 
in the search results when the page found is on the subscription site.

My initial solution to this problem was to use the php frontend and create a custom 
template variable that would provide me with this functionality.  But I am changing 
servers (from redhat to freeBSD) and using the default freebsd ports has me increasing 
my php version to 4.2.1 and decreasing mnogosearch to 3.1.19-2.  The php frontend 
doesn't work with this combination so I have been looking to switch to using 
search.cgi.

So far the best solution I have come up with to provide this functionality on 
search.cgi is to use javascript to do a check on $DU for the subscription url and 
write out the required html when I get a match.  Can anyone think of a better option?  
I have complete control over the subscription site and can dynamically produce any 
meta tags I want...

culley



Reply: http://www.mnogosearch.org/board/message.php?id=4918

___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]