Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-27-2005, 03:29 PM   PM User | #1
Anthony2oo4
Regular Coder

 
Join Date: Jul 2004
Posts: 201
Thanks: 8
Thanked 1 Time in 1 Post
Anthony2oo4 is an unknown quantity at this point
Lightbulb Making A MSN Site Search Script (Needs Tweaking)

ok guys, i know google have a script that you can place on your website that allows you to let your visitors search your site, but google has not fully indexed my site, so it is no good. But MSN have. They currently dont offer the same script so I tried to make my own. They support a "site:mysite.com" function which allows you to search the contents of a site, and this is what i'm trying to work around.

I currently have this script that I made before.
PHP Code:
<form method="GET" action="http://search.msn.com/results.aspx">
    <
p><input type="text" name="q" size="20"><input type="submit" value="Submit" name="T1"><input type="reset" value="Reset" name="B2"></p>
    <
p><input type="radio" checked name="q">Search MSN</p>
    <
p><input type="radio" name="q" value="site:codingforums.com">sitesearch</p>
</
form
The search work if you are just doing a general search through MSN, but when you click the site search option it tends to jus display every page from coding forums, and not the keyworks + codingforums.com.

I hope this is not too confureing and hope someone can help me on this.

One more thing, if its possible, can i have a my own results page? I know this is not going to be possible in javascript, but maybe in PHP?

Thanks for all your time and effort.

Anthony
Anthony2oo4 is offline   Reply With Quote
Old 01-28-2005, 10:13 AM   PM User | #2
Anthony2oo4
Regular Coder

 
Join Date: Jul 2004
Posts: 201
Thanks: 8
Thanked 1 Time in 1 Post
Anthony2oo4 is an unknown quantity at this point
Can anyone help me on this?

Need this like yesterday, lol.

Thanks
Anthony2oo4 is offline   Reply With Quote
Old 01-28-2005, 10:17 AM   PM User | #3
Sayonara
Regular Coder

 
Sayonara's Avatar
 
Join Date: Oct 2004
Location: UK
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Sayonara is an unknown quantity at this point
The first thing I notice is that your text field and radio buttons share the same name. Is that intentional?

Have you checked MSN Search to see if they have a public API for developers?
__________________
Quote:
Originally Posted by liorean
Just remember that you code for the user, and the user visits you because what you code is good.
Sayonara is offline   Reply With Quote
Old 01-28-2005, 06:35 PM   PM User | #4
Anthony2oo4
Regular Coder

 
Join Date: Jul 2004
Posts: 201
Thanks: 8
Thanked 1 Time in 1 Post
Anthony2oo4 is an unknown quantity at this point
Thanks, i looked around the site, and found a script ready made to add straight into my site
Anthony2oo4 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:43 PM.


Advertisement
Log in to turn off these ads.