« Create thumbnails of PowerPoint presentations in C# | Main | Publishing blogs from Microsoft Office 2007 »

Customized search box and live search macro

Windows live search macros enable you to build your own customized search engines. You could share your macros in the public directories or put it on your own websites or blogs as a search box. For example, if you have multiple websites, including 2 technical blogs, 1 personal blog, 2 bookmarking feeds, and so on, you could build a federated search engine that covers all your sites and feeds. Put it on your personal website or blog so that your readers and fans can search just within all your sites and feeds. Isn’t that cool? You could also build your search engines to cover your favorite entertainment websites or technical reference sites, so on and so forth.
Here is an example how I created mine (which you could see on the right side bar of my blog), go to http://search.live.com/macros, click “Get started”, Choose “Advanced”, then type in the following macro. Replace the following sample URLs with your own, otherwise you are sending traffic to me :)
(
site:stanblog.jojoyao.com OR
site:stanyrocks.spaces.live.com OR
site:clipmarks.com/clipper/stanyao/
)
OR
(
link:stanblog.jojoyao.com OR
link:stanyrocks.spaces.live.com
)
The above macro searches all your sites and other sites that link to yours (find out what others are discussing about your sites).  Test search some keywords and verify your code. Then you could name (we will use later) and save this macro. Then go to http://search.live.com/siteowner?mkt=en-us, click “Advanced Search Box – Get Started”, uncheck “Site search”, check “Search macro”, type in the name of the macro we did above and a more descriptive display name, and we are about done. After clicking “Next” you will see the search box code that you could add to your site.

TrackBack

TrackBack URL for this entry:
http://stanblog.jojoyao.com/cgi-bin/mt/mt-tb.cgi/10

Post a comment


About

This page contains a single entry from the blog posted on February 11, 2007 11:44 PM.

The previous post in this blog was Create thumbnails of PowerPoint presentations in C#.

The next post in this blog is Publishing blogs from Microsoft Office 2007.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.33