[help] What Url To Use To Search A-s

HI everyone!

I wasnt too sure where to put this, but since im going to need it for a plugin for safari, i decided to post in Mac Software.

Now... this plugin lets you tell Safari where to search for the words you entered into the search bar, instead of always consulting good old Google. If the first word of what you entered is the name of a shortcut you defined (or one of the factory defaults) in the preference pane, Safari uses that shortcut's URL instead of Google. If not, it defaults to Google.

http://macnn.com/rd.php?id=18916

Now, my question, what address do i need to link to so that the URL + %s (string) will translate into search aqua soft for %s?

I have tried http://www.aqua-soft.org/board/index.php?act=Search&CODE=%s , but it doesnt seem to work, it links me to the search page instead of taking me to the results page...

Anyone know what url to use?

THANK YOU!

//Seph

#152863

Seph- (Oh my gosh, am I really speaking to the great Seph??!! :D ), I don't think this will work. I have done something of the sort for Firefox, and the only type of search that works is for websites that use the GET action for their forms/searches. A-S uses a POST action (which has its advantages and disadvantages). So, long and short of it, it won't work.

Of course, I might be wrong. :D

Hope this helps (Actually, I'm sorry it doesn't really help you),

nightcrawler1089

#152877

Originally posted by nightcrawler1089@Apr 30 2004, 01:17 AM

Seph- (Oh my gosh, am I really speaking to the great Seph??!! :D ), I don't think this will work. I have done something of the sort for Firefox, and the only type of search that works is for websites that use the GET action for their forms/searches. A-S uses a POST action (which has its advantages and disadvantages). So, long and short of it, it won't work.

Of course, I might be wrong. :D

Hope this helps (Actually, I'm sorry it doesn't really help you),

nightcrawler1089

:lol: im just another n00b, nothing great about that ;)

Well, thanx anyway, so you guys reckon this cant be done? that sucks!

Tiiiiiimiiiiiiiieeeeeee :rolleyes:

#152879

Originally posted by nightcrawler1089@Apr 29 2004, 05:17 PM

Seph- (Oh my gosh, am I really speaking to the great Seph??!! :D )

What's great about Seph? -_-:blink:

#152882

Originally posted by Sid@Apr 29 2004, 05:22 PM

What's great about Seph? -_-  :blink:

Not a damn thing, :moon: lol

I'm not sure how the search thing works in IPB but i'll take a looksy.

#152891

Originally posted by nightcrawler1089@Apr 29 2004, 09:17 PM

Seph- (Oh my gosh, am I really speaking to the great Seph??!! :D ), I don't think this will work. I have done something of the sort for Firefox, and the only type of search that works is for websites that use the GET action for their forms/searches. A-S uses a POST action (which has its advantages and disadvantages). So, long and short of it, it won't work.

Of course, I might be wrong. :D

Hope this helps (Actually, I'm sorry it doesn't really help you),

nightcrawler1089

it can be done

there is a neowin plugin for firefox

i have tried making on for A-S too but couldnt get it to work :(

#152892

Originally posted by Timan@Apr 30 2004, 01:31 AM

Not a damn thing,  :moon:  lol

I'm not sure how the search thing works in IPB but i'll take a looksy.

Tim, if you look closely to that moon, you will see an [own3d by Seph] tag...

I would really like to get this search thing going.

Added Dictionary.com search ^_^ ";http://dictionary.reference.com/search?q=%s" for those interested ;)

#152894

Post the trial.php file someplace on the A-S server (which I assume supports PHP; mine doesn't so I can't test it), and then PM me, or post, the location. I will test it (with Firefox), and if it works, I'll tell you. I'm just doing what carbonfiber did, but maybe mine might work.

Seph is the greatest forum tagger of all time, that is why he is great :D .

#152917

If someone could tell me what info IPB expects for a search, I'd like to have a go at this. I think you can convert a search sent via GET to one sent using POST via the curl library for PHP. I'd be happy to attempt this in the near future.

#155186

Thanx Ludge and Nighcrawler, that would be awesome!

#155190

Seph- Did I forget to send you the trial.php file? I'll do it tonight or later today. I think both Ludge and I are essentially doing the same thing, but using different methods.

Thanks,

nightcrawler1089

#155629

Well, this is a bump but with a reason.

Is there the posibility of doing this with IPB2?

#169923

Seph!!!! :rant: :rant:

Ok, just kidding. I just finished the plugin for the current version of IVB (check your PMs, I sent something a week or two ago). I'm fairly sure it would work for IVB2, but I'd need to take a look at some stuff. It depends on the changes they made.

Also, I don't know if that plugin I made will work for Safari. If you program works the way I think it does, it probably will, but I might need to change the code a little. Unfortunately, I don't have a Mac, so I can't really look at the source code (and yes, I've heard of PearPC). However, the plugin should work in Sherlock with no/very few mods.

-nightcrawler1089

#170099