Gossamer Forum
Home : Products : Links 2.0 : Customization :

Initiate search with link

Quote Reply
Initiate search with link
I am trying to create a "search by region" list which will be a list of links that will initiate a search for keywords which I specify. Example: An "Asia" link will initiate a search in all categories for keywords such as "China, Japan, etc." This should be easy but my HTML skills are a work in progress, more work than progress actually. I have also searched but haven't found anything. If someone could point me in the right direction I would appreciate it.

Thanks,

Joshua

Quote Reply
Re: Initiate search with link In reply to
I think I understand what you are asking...

You mean you want a link like Asia and the link would search for keyword Asia?

The HTML is this..

<a href="http://www.yoursite.com/cgi-bin/search.cgi?query=whateverword">Asia</a>

Change yoursite, to your own address.
Change whateverword to the word you want to search for.
Change Asia to the title of the link that matches the word you are searching for.

Eg. If you choose whateverword to be asia, then the word before </a> should be asia.

Understand?

From Paul Wilson.
http://www.audio-grabber.com
Music Directory
Quote Reply
Re: Initiate search with link In reply to
Joshua,

If you have a field in your database for the region, you can do:
Code:
http://www.whatever.com/cgi-bin/links/search.cgi?query=x&Region=y
That way you can have a search query "x" yet require the results to be from region "y" at the same time.

--Drew
Quote Reply
Re: Initiate search with link In reply to
Please send the following to the correct person...

If you have a field in your database for the region, you can do:


http://www.whatever.com/cgi-bin/links/search.cgi?query=x&Region=y
That way you can have a search query "x" yet require the results to be from region "y" at the same time.


I am not the person asking for help- you need to reply to the correct message!

Sorry - no offence

From Paul Wilson.
http://www.audio-grabber.com
Music Directory
Quote Reply
Re: Initiate search with link In reply to
In Reply To:
I am not the person asking for help- you need to reply to the correct message!
Give me a break man! I know you weren't asking for help. I was just simply adding the next post to the thread, as a follow-up to your suggestion! MadMadMad

I have edited that post to include the name of the original poster because you seem to have trouble understanding who comments are directed to.

--Drew
Quote Reply
Re: Initiate search with link In reply to
Ok...chill out--I just get excited when I get the email..

Reply to your post!

..and then am gutted when it's about someone elses problem!

From Paul Wilson.
http://www.audio-grabber.com
Music Directory
Quote Reply
Re: Initiate search with link In reply to
Um...well if don't like getting emails constantly, you can uncheck "Email all replies to my real email address." when you make posts.

--Drew
Quote Reply
Re: Initiate search with link In reply to
I don't want to though!

From Paul Wilson.
http://www.audio-grabber.com
Music Directory
Quote Reply
Re: Initiate search with link In reply to
Well then you have no right to complain when you get emails about replies that didn't originate from a thread you started.

Moderator: close this thread, please.

--Drew
Quote Reply
Re: Initiate search with link In reply to
I don't mind getting email from a thread I didn't start, just not emails that dont concern me!

Calm down!

I am allowed an opinion!



From Paul Wilson.
http://www.audio-grabber.com
Music Directory