Skip to main content

Label Searches, Using Combinations Of Labels

Blog owners have been asking for the ability to search for posts using label combinations, for a while.

That option was given us, some time ago - with no fanfare. What we now have is called a "Boolean" label search.

It's not difficult to use a Boolean label search - when you understand what it does.

Here are 3 examples, from this blog.

Here are 3 labels, and their label search URLs, chosen "at random" from this blog.

Combining the 3 labels, we get

It's actually easier to do it, than to read about it - but if you wish, you can click on each of the above 8 links (all using " target="_blank"", to open separately, for your convenience), and compare the posts indexed.

Be aware of the limits, and use this option selectively.

There are 3 unfortunate limits, here.

  1. You can't use the "+" symbol, in a label. I have a label for "Google+", in this blog, which does not work.
  2. You can only do "+" (Boolean "AND" / "Intersection") combinations, no "-" (Boolean "OR" / "Union") combinations.
  3. You have to build the lists, and the URLs, yourself. There is no handy Topics list, that supports selecting 2, 3, or more labels.

But, if you can deal with the limitations, this is a pretty powerful option.


Adam said…
Very nice discovery! But—it works on one of my blogs, but not on another.

Any idea why not? Is there something that needs to be in the template for this to work?
Nitecruzr said…

By "does not work" I would guess you mean a white box test where you identified some group of posts that have a given label combination. Like I did with "comments, cookies, filters", to get "Comments+Cookies+Filters"?

The first thing I would check would be capitalisation. Labels are case sensitive - but in a perverse way. Blogger went through several different case sensitivity policies, before getting where they are.

Remember that label searches are URLs - so they must follow Internet URL conventions.

Anyway, your blog has 1 post with "Brock", and another 1 post with "Swaar" - so no hits from "Brock+Swaar". Remember this is an "AND" (Venn "Intersection") not "OR" (Venn "Union") Boolean search. So, it works.

Popular posts from this 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.

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?".

With Following, Anonymous Followers Can't Be Blocked

As people become used to Blogger Following as just another tool to connect people, they start to think about the implications . And we see questions like How do I block someone who's been following my blog secretly? I couldn't see her in my Followers list (hence I couldn't use the "Block this user" link), but I have looked at her profile and could see that she's Following my blog. Following, when you look at the bottom line, is no more than a feed subscription and an icon (possibly) displayed on your blog, and linking back to the profile of the Follower in question. If someone Follows your blog anonymously, all that they get is a subscription to the blog feed. If you publish a feed from your blog, and if the feed is open to anybody (which, right now, is the case ), then it's open to everybody. If someone wants to use Following to subscribe to the feed, you can't stop this. You can't block it before, or after, the fact. You can't Block w