Skip to main content

Help Your Readers Search Your Blogs

Sometimes, your readers will benefit from more than a navbar based, direct blog search, of a single blog.

As I discussed some time ago, if you have a single blog, and want to provide a very simple search, you can do that using a Blogger dynamic search in an HTML / JavaScript gadget.

You can provide a gadget to do a direct blog search, in addition to the search gadget in the Navbar - or (if you block the Navbar), you can do this instead of the search gadget in the Navbar.

But what if you have multiple blogs, maybe in a custom domain cluster, that you want your reader to search in combination? Or maybe you would like refinements to your search? That's when you use the Google Custom Search Engine.

The Custom Search Engine gives you lots of choices - from scope (one blog, many blogs), to display options (appearance of the search box, and of the search results, are both customisable) - and refinements (where you can merge searches from outside sites with your sites, and prioritise your sites).

You can have multiple configurations, depending upon need.

You can setup multiple configurations, and have different possibilities. Whatever you come up with, you get JavaScript code, which, as in the simple Blogger search, you install into an HTML / JavaScript gadget.

Both the custom and direct searches have their own advantages.

There are advantages, with both choices.
  • The direct search gadget is simple, with no options required (except the caption for the button), and provides the search results as an index page in the blog (very user friendly)..
  • The Google CSE gadget is very versatile, with lots of settings - and it provides the search results in a Search Engine Results Page format.

Private blogs can be indexed - and can be searchable.

You can publish a private blog, and have it indexed and searchable.

First look at what content you want the search to target.

The most relevant difference, in my opinion, is the source for the searches.
  • The direct search targets the posts (only the posts) from one single blog directly, and dynamically. Whatever changes you made to the posts in the blog, 5 minutes ago, will be included in the search. A direct search produces good result for private blogs.
  • The Google CSE targets the Google Search Engine cache - and all indexed content. The CSE will have results only as current as what GoogleBot found during its last pass through each web site included in the search - and works best for blogs visible to everybody, and properly publicised.
  • Blogger blogs are indexed, by the search engines, using the Blogger standard posts sitemap - and optionally, the pages sitemap.

A third alternative would be a Google Custom Search "Search Box" gadget, which you add using the "Add a gadget" wizard in the dashboard Layout wizard. Slightly less versatile than a Google Custom Search, the "Search Box" gadget combines blog searches and web searches, into a comprehensive and configurable multi tab search.
  • Search this blog.
  • Search websites linked in the blog posts.
  • Search websites linked in the bloglists and linklists.
  • Search the web.

It all depends upon what you think will serve your readers best. But consider the several choices, carefully.


Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.