Welcome to DK Blogger Tricks Sign in
World Wide Web Consortium Home

Tuesday, 9 December 2014

Widgets

17 Best 'Label' and 'Feed' Search Techniques in Blogger

search techniques in blogger

Today we will discuss various interesting ways of doing effective search in BlogSpot blogs. You will learn how to do search by category, by query or even doing effective search inside feeds. You will also learn how to run a query for searching posts with multiple labels and you will discover how to search for a particular keyword inside posts tagged under a specific label using its Feed data. We will also learn how to sort search results by Date and index count. There is too much learning today!
In wordpress we call labels as Categories and sub categories as Tags but in blogger we are limited only to Categories which are termed as Labels.





DEMO: For Demo copy and paste the URLS given in this tutorial inside your browser and see the output yourself.

Syntax for Label search

Blogger databases are not visible to its users but users has the advantage of running certain queries to access the tables. With the introduction of Blogger API v3, you can now easily add running list of blog posts, pages and comments to a non-Blogger hosted site. Qasim will discuss this with you all in a post tonight. My job is to introduce you to simple search queries that can do wonders.
Label Search Syntax URL: 
You may already know the below syntax. 
http://www.mybloggertricks.com/search/label/label+Name

Note: Labels are case sensitive. If a label names starts with an uppercase letter and you write a lowercase then the query will not return the result. If a label name is Social Media (first letters are capital) and you type social mEdia then it wont work. You must type the exact same letters 
1. Searching a Label
Lets try searching for all posts nested under the label Social Media in our blog. The URL would look like the one below: 
http://www.mybloggertricks.com/search/label/Social Media

2. Searching a keyword within a Label
I tried this but seems like Blogger doesn't support running queries within a label. For example lets search for all Facebook related posts under the category Social Media 
Note: Spaces between labels can be denoted inside URLS with %20. You can write Social Media as Social%20Media also. 
  
http://www.mybloggertricks.com/search/label/Social%20Media?q=facebook

you will observe that though the query is executed but the results are same no matter whether you search for Facebook, twitter or anything. The following urls all return the same result. 

http://www.mybloggertricks.com/search/label/Social%20Media?q=twitter
http://www.mybloggertricks.com/search/label/Social%20Media?q=tumblr
http://www.mybloggertricks.com/search/label/Social%20Media?q=googleplus
http://www.mybloggertricks.com/search/label/Social%20Media?q=blablabla

  But wait! Can't we search a keyword inside a label at all? Well for that we will introduced a rarely discussed trick using Feeds. Click here 
3. Running a simple Search query
Now lets search for a keyword inside entire blog posts. This is a query search that looks for a keyword in all posts irrespective of which label it belongs to. 

http://www.mybloggertricks.com/search?q=mohammad
http://www.mybloggertricks.com/search?q=presentation%20by%20mohammad

SHARE THIS POST   

  • Facebook
  • Twitter
  • Myspace
  • Google Buzz
  • Reddit
  • Stumnleupon
  • Delicious
  • Digg
  • Technorati
Author: DK

0 comments: