|
How do I add Windows Live Search to my Blog? You seem to have figured out how to add just about any search box to a Web site, Dave, so I'm hoping you can give me step-by-step instructions on how to add Microsoft's new Live Search Box to my site. Thanks.
Actually, great request, because I've been quite interested in learning more about Live Search ever since reading that the results of the search pop up as a new layer atop your existing page, rather than moving people to a new page. Neat idea, eh? Start out by going to Live Search for Websites. Don't get sidetracked, though. The basic search is not what you want:
![]() As you can read in the graphic, that's the most basic of searches and the search results will replace your page, rather than appear magically above it as a layer. What you want is what they call Advanced Search:
![]() Click on it and you'll find that there are a number of different types of searches you can do: a Site search, a Web-wide search or a Macro search. Let's proceed with the Web-wide search first, as it's the easiest. Here's what you'll choose:
![]() Choose "Next" and you get a big hairy box of HTML that you just copy and paste onto your page or, if you're a blogger, into your weblog template:
![]() Here's how it works, the code that I've gone ahead and pasted into this very blog entry:
(Safari users, this won't work for you. It works with Internet Explorer and Firefox 2.0 only, as far as I can tell) Let's make this a bit more interesting, however, and create a search tool for my weblog. To do that, I'll back up and choose "Site Search" instead of "Web Search" on the configuration page. It has lots of options:
![]() Configuration's easy enough: give your new search a name and specify up to ten different URLs for it to examine, and again click "Next" to get the code block. The code looks basically the same, but here, try this search and see how it differs:
Either way, this should give you all the details you need to figure out how to add Microsoft Live Search to your website or blog. Enjoy!
Categorized:
CGI Scripts and Web Site Programming
(Article 6982,
Written by Dave Taylor)
Tagged: html, site search, web search, windows live search Previous: How do I get "vi" shell edit mode in Mac OS X Terminal? Next: Are there good cheats for Need for Speed: Most Wanted? Subscribe!
FYI: You can hack the Advanced Live Search Box to work with Safari. All you have to do load a different javascript source from Microsoft's server (the script they use for -their- search boxes). caveat: I don't actually know what this change does... just that it makes things play nice-nice with Safari. locate the javascript source towards the bottom of the provided code change : to I have a Windows Live website and I want to have alogin for my customers, so that only they can submit comment via the standard Contact Us form. My customers do not have (or want) Windows Live IDs so somehow I need to control access to my Contact Us form another way. Posted by: Robert Crowther at September 11, 2007 5:21 AMI have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
Recommended
Recent Entries
Search
I Need Help!
Apple iPad Help
Articles and Reviews Auctions and Online Shopping Blogs and RSS Feeds Building Web Site Traffic Business and Management CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above Facebook Help Google Plus Help HTML and CSS Industry News and Trade Shows iPhone and Cell Phone Help iPod, Sony PSP and MP3 Player Help Mac OS X Help Pay Per Click (PPC) Advertising Search Engine Optimization (SEO) Shell Script Programming Tech Support Video Help The Writing Business Twitter, LinkedIn and Social Network Help Unix and Linux Help Video Game Tips and Help Windows PC Help WordPress Help |