Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post

    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

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    Can anyone help me on this?

    Need this like yesterday, lol.

    Thanks

  • #3
    Regular Coder
    Join Date
    Oct 2004
    Posts
    256
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    Thanks, i looked around the site, and found a script ready made to add straight into my site


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •