You can tag your Blogger posts with labels, and you can click on a label to search for anything else tagged with that label, but only that one label. What if you want to search for multiple labels?
I elected to use Blogger for my main blog not only because of it's longevity, but supposedly for it's openness... compared to tumblr. I don't think I want to get into WordPress over ease of use/complexity issues that I'm willing to settle for. I realize I'm long winded... On to business...
If you want to search a label in blogger, you can click on a label on a post, or you can type out a url.
Syntax: http://[site_name].blogspot/search/label/[the_tag]
Ex. http://narfisil.blogspot.com/search/label/cool
Google is a search engine, and search engines use operators like AND and OR. (Actually, I used Gmail's search operators to really organize my inbox with labels.) By accident, I was able to find the operator for exclude. Here are examples of them in use. (Credit ScratchTheWeb for putting together a good post)
+ AND Operator - shows queries that have both labels
http://[site_name].blogspot/search/label/q=label:[tag_1]+[tag_2]
Ex. http://narfisil.blogspot.com/search/label/?q=label:3D+label:inventor
| OR Operator - shows queries that have any of the labels
http://[site_name].blogspot/search/label/?q=label:[tag_1]|label:[tag_2]
Ex. http://narfisil.blogspot.com/search/label/?q=label:K%27Nex|label:movie
- Exclude Operator - excludes the term from the search query
http://[site_name].blogspot/search/label/?q=label:[tag_1](-label:[tag_2])
Ex. http://narfisil.blogspot.com/search/label/?q=label:3D(-label:inventor)
Note on Special Characters
Special characters like space characters (most likely) need to be replaced with their html hex codes. The space character's hex code is %20, but what about the rest? Blogger may actually replace them for you, but just in case, this ascii site seems to list pertinent ones. If that is not straight forward enough, here is an image (displayed below).
Here is another example of what you can string together:
http://narfisil.blogspot.com/search/label/?q=(label:3D+label:inventor)|label:movie
You can apply these same techniques to conduct a search query in the url.
Example: http://narfisil.blogspot.com/search?q=star%20wars
Other Stuff I Found:
This guy at SensefulSolutions realized that enabling the tag cloud made using a custom search engine difficult, so he disabled it, and created his own tag cloud... with a good amount of effort... covered the idea of custom label searches.
This other post is sort of about label searching, but as I'm reading it again, I'm confused as to what it is getting at.
I guess this aims to be a primer on blogger labels.

Thank you very much, I was searching that for 2 weeks!
ReplyDeleteI have one more problem, I need to filter posts by published data.
ReplyDeleteI tried that:
http://blogname.blogspot.com/feeds/posts/default?published-min=2014-04-01T00:00:00&orderby=published&q=(label:Label1|label:Label2)
It returns data but it doesn't apply data-filter.
May be you know how to fix it?
Thanks for share! I was searching that for 3 days!
ReplyDeleteWorking for my blog Kome Cafe
good info keep it up
ReplyDeleteHey! great post you shared. It was amazing to read whole new update also want to add more about custom lables here for you. It is good to know about new things.
ReplyDelete