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


search techniques in bloggerToday 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.

  • Also Read: Blogger Conditional if statements

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

Note again that spaces between keywords are denoted by %20.
4. Multiple Label Search
If you wish to search posts tagged under two labels, you will need to use the or operator (|) in order to do that. For that follow the syntax below:

www.YOUR-BLOG.com/search/?q=label:LABEL1|label:LABEL2

Lets now search all posts containing the labels SEO and Social Media
http://www.mybloggertricks.com/search/?q=label:SEO|label:Social%20Media

Interesting? sure it is!
5. Sort Search Results  by Date
If you wish to sort the search result by date and time then you can easily do that with an extra parameter called by-date=true. It will display most recent entries first and oldest later.
Following is the syntax for displaying most recent posts on facebook
http://www.mybloggertricks.com/search?q=facebook&by-date=true

You might have observed that though this method returns most recent posts on facebook but it is also showing some irrelevant posts that doesn't contain the keyword facebook at all. Read the next method to understand why.
6. Sort Search Results by Relevance
By default search queries are displayed based on relevance. But when you sort results by date, relevance is destroyed. You can either remove the sorting parameter that we used early or set its value to false as shown below
http://www.mybloggertricks.com/search?q=facebook&by-date=false

7. Set Search Count
By default blogger display 20 posts at a time. If you wish to increase or decrease this number then use the parameter max-results=
The following query will return 50 posts based on query Facebook.

http://www.mybloggertricks.com/search?q=facebook&max-results=50

8. Set Search Results Count and Sort by Date
In order to sort posts by date and also set the post count to 5 then use the following syntax:
http://www.mybloggertricks.com/search?q=facebook&max-results=50&by-date=true

Syntax for Feed Search

The reason why you can easily download all your blog posts and comments and move them to another platform is because all your blog content is neatly stored inside atom or rss feeds. Consider feed as a repository containing all your blog content, be it posts, comments, pages or labels.
1. Posts FEED
A Feed containing all your blog posts has the following syntax:
http://www.mybloggertricks.com/feeds/posts/default

 

2. Comments FEED
A feed containing all your blog comments has the following syntax:
http://www.mybloggertricks.com/feeds/comments/default

 

3. Prevent Feed redirection to Feedburner
If you are redirected to feedburner then this means you are using feedburner to sent email updates to your subscriber. In order to prevent this use the parameter redirect=false as shown below:
Posts FEED
http://www.mybloggertricks.com/feeds/posts/default?redirect=false
Comments FEED
http://www.mybloggertricks.com/feeds/comments/default?redirect=false

 

4. Search Post Feed by Label
Now lets display all posts inside your blog feed containing the label SEO
http://www.mybloggertricks.com/feeds/posts/default/-/SEO

 

5. Set Search Results count in Posts Feed
The following query will return 5 recent posts of your blog
http://www.mybloggertricks.com/feeds/posts/default?max-results=5&redirect=false

 

6. Set Count while searching Posts Feed by label
The following query will display only 10 posts under the category/label SEO. No redirection parameter required here.
http://www.mybloggertricks.com/feeds/posts/default/-/SEO?max-results=10

 

7. Set Search Results Count in Comments Feed
The following query will return 5 recent comments posted on your blog
http://www.mybloggertricks.com/feeds/comments/default?max-results=5

 

8. Set Start Index and End Index in Posts Feed
Another interesting fact about feeds is that you can display posts from a specified index. For example If I want to display posts for SEO label and I want only to display the 10th and 11th post then I will set count restrictions as shown below:
http://www.mybloggertricks.com/feeds/posts/default/-/SEO?start-index=10&max-results=2

The start-index tells where to start from and max-results show how many posts to display.

  • Tip: This method was utilized on our Multiple Sitemap Generator Tool

 

9. Search for a keyword within a Label in Post Feed
We already discussed that query parameters do not work in Label Search directly but we can utilize this method in Post Feed Label search method. Though logically this method does not literally means that we are filtering keywords based on label search, we are instead filtering two keywords. One is the label name itself and second is the query keyword. Both these keywords are highlighted below:
http://www.mybloggertricks.com/feeds/posts/default/-/SEO?q=Smartphone

In the above query we are filtering the keyword Smartphone on all posts containing the word SEO. This is the only working method I could try and our coming widget is based on this search method which I am sure you will love a lot.

Need Help?

We tried explaining almost every single detail and we hope this tutorial may further help the blogger community. This is the most detailed post of its kind with some of the rarely shared query techniques. In my coming tutorials, I will try to dig deeper into core blogger XHTML structure and bring some more useful tips for you guys so that you may never stop developing your fancy blogs. Please let me know if you needed any further help with regard to any query. :)
 






28
comments





PLEASE NOTE:



We have Zero Tolerance to Spam.

Chessy Comments and Comments with
'Links'
will be deleted immediately upon our review.



(function() {
var items = ['id': '4972788948694569998', 'body': 'very nice it will help to find over object easly', 'timestamp': '1390333055561', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390333055561#c4972788948694569998', 'author': 'name': 'Abdul Basit', 'avatarUrl': '//lh4.googleusercontent.com/-0myfK9iuApY/AAAAAAAAAAI/AAAAAAAAADE/2s-jst-JtKM/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/06611664555801312824', 'displayTime': 'Jan 22, 2014, 12:37:00 AM', 'deleteclass': 'item-control blog-admin pid-183417040', 'id': '2249874852648007935', 'body': 'Bro plz tell me if i make links Likex26gt; first i post photo on pinterest with link in it than i give this pinterest link in comment ...Is it wrong or Good??x3cbr /x3eI comment this on your previous hyper link post but you donx26#39;t reply me', 'timestamp': '1390333566903', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390333566903#c2249874852648007935', 'author': 'name': 'Khurram Shahzad', 'avatarUrl': '//lh5.googleusercontent.com/-jpSPJz8ITrs/AAAAAAAAAAI/AAAAAAAAEFU/97m3RcO-XW0/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12017606209220665104', 'displayTime': 'Jan 22, 2014, 12:46:00 AM', 'deleteclass': 'item-control blog-admin pid-1908457373', 'id': '1367870226536511911', 'body': 'nice', 'timestamp': '1390337945586', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390337945586#c1367870226536511911', 'author': 'name': 'RH hassan', 'avatarUrl': '//lh3.googleusercontent.com/-FmYSMlrRG1Q/AAAAAAAAAAI/AAAAAAAABes/U7LNWf74qrQ/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03126827368649476399', 'displayTime': 'Jan 22, 2014, 1:59:00 AM', 'deleteclass': 'item-control blog-admin pid-1732968124', 'id': '2130929014004464619', 'body': 'WOW, what a splendid post...Thumbing to MBT..', 'timestamp': '1390346330549', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390346330549#c2130929014004464619', 'author': 'name': 'Hafeez Khan', 'avatarUrl': '//lh5.googleusercontent.com/-g_HuIQ1v4d4/AAAAAAAAAAI/AAAAAAAAAYA/-JMAHdH_51A/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11323379512452748145', 'displayTime': 'Jan 22, 2014, 4:18:00 AM', 'deleteclass': 'item-control blog-admin pid-199914664', 'id': '1675841594416748919', 'body': 'x3cspan classx3dx27deleted-commentx27x3eThis comment has been removed by a blog administrator.x3c/spanx3e', 'timestamp': '1390352811888', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390352811888#c1675841594416748919', 'author': 'name': 'Ahmed Shawan', 'avatarUrl': '//lh6.googleusercontent.com/-qi09WxSNRJM/AAAAAAAAAAI/AAAAAAAAGJI/olBlm8S6a2s/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/06132980441058411376', 'displayTime': 'Jan 22, 2014, 6:06:00 AM', 'deleteclass': 'item-control blog-admin ', 'id': '2596016967253566569', 'body': 'What a tremendous post, Hats off', 'timestamp': '1390370361005', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390370361005#c2596016967253566569', 'author': 'name': 'Adil Muhammad Yousuf', 'avatarUrl': '//lh5.googleusercontent.com/-upqdRXNAgp4/AAAAAAAAAAI/AAAAAAAAFn4/S_vSDvKDFsY/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11859119924724048421', 'displayTime': 'Jan 22, 2014, 10:59:00 AM', 'deleteclass': 'item-control blog-admin pid-301840063', 'id': '5217680381900749301', 'body': 'Thanks for this post. Very nice. http://www.blogonmind.com/', 'timestamp': '1390385324533', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390385324533#c5217680381900749301', 'author': 'name': 'sk nizam', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/05516085282523186789', 'displayTime': 'Jan 22, 2014, 3:08:00 PM', 'deleteclass': 'item-control blog-admin pid-646731270', 'id': '8414267452431988745', 'body': 'Nice work Sir! I donx26#39;t know how to say but this blog is really a good source of info.x3cbr /x3ex3cbr /x3eThanksx3cbr /x3eFrom Bloggingtipsandtrix.blogspot.com', 'timestamp': '1390400988331', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390400988331#c8414267452431988745', 'author': 'name': 'Cerwenlloyd Gefjun', 'avatarUrl': '//lh6.googleusercontent.com/-m-vP9GcR2Vk/AAAAAAAAAAI/AAAAAAAABUc/1E-rA1Ydl1k/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07954243818333412820', 'displayTime': 'Jan 22, 2014, 7:29:00 PM', 'deleteclass': 'item-control blog-admin pid-429032778', 'id': '5015985386571369448', 'body': 'your blog is really awesome i am a permanent reader of MBT i always found so many helping articles on this blog. I found a tool for all the webmasters must try it.x3cbr /x3echeck the worth and social engagement of your website or blog http://www.markeetvalue.com/', 'timestamp': '1390405665238', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390405665238#c5015985386571369448', 'author': 'name': 'Hasnain', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFFqLHAjytIjPEsz00Yq_2zQyR4Hudf1vhr6f8L2-C1OsrXfLcl8EG7uEfYF6oFF5Aq7P47Rdwt83ppP9UDhyphenhyphen1oPErsBZqhD_oxvSEJm5s7KDDNkEqbvqXcBPSjo_kN-03T_wpai1pmlM/s35/hasnain.jpg', 'profileUrl': 'https://www.blogger.com/profile/05784934992258191903', 'displayTime': 'Jan 22, 2014, 8:47:00 PM', 'deleteclass': 'item-control blog-admin pid-24679848', 'id': '1657866161976457392', 'body': 'i like it', 'timestamp': '1390588701135', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390588701135#c1657866161976457392', 'author': 'name': 'Gagan Masoun', 'avatarUrl': '//lh4.googleusercontent.com/-wVsJ5TO9IJo/AAAAAAAAAAI/AAAAAAAA_I8/ICjOvdHy7Po/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/08083340109054752186', 'displayTime': 'Jan 24, 2014, 11:38:00 PM', 'deleteclass': 'item-control blog-admin pid-716009586', 'id': '317828343254380689', 'parentId': '2249874852648007935', 'body': 'Buddy Adding links in comments do not harm SEO because all links within the comment section are nofollow by deafult and robots neglect them, so it wont pass any PageRank juice. :)', 'timestamp': '1390589586191', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390589586191#c317828343254380689', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jan 24, 2014, 11:53:00 PM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '1293699858872346194', 'body': 'Download Game x26amp; Software For Full Version at x3cbr /x3ewww.softofgame.blogspot.com', 'timestamp': '1390954788883', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1390954788883#c1293699858872346194', 'author': 'name': 'David Pheng', 'avatarUrl': '//lh4.googleusercontent.com/-VlK3zceu85g/AAAAAAAAAAI/AAAAAAAAAH4/DNiJToz2OlU/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/02732569771694761831', 'displayTime': 'Jan 29, 2014, 5:19:00 AM', 'deleteclass': 'item-control blog-admin pid-462449414', 'id': '2071788930646559495', 'body': 'Brother I want to be Your student can you teach me about blogging? if yes then so please give me adress or skype id in private', 'timestamp': '1391545119034', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1391545119034#c2071788930646559495', 'author': 'name': 'Nayyar Shehzad', 'avatarUrl': '//lh6.googleusercontent.com/-HU8GMgd1Hso/AAAAAAAAAAI/AAAAAAAAACQ/gj3M8CpZlXA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12518604836409005781', 'displayTime': 'Feb 5, 2014, 1:18:00 AM', 'deleteclass': 'item-control blog-admin pid-1755919300', 'id': '2767492542425964097', 'body': 'please reply', 'timestamp': '1391545243318', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1391545243318#c2767492542425964097', 'author': 'name': 'Nayyar Shehzad', 'avatarUrl': '//lh6.googleusercontent.com/-HU8GMgd1Hso/AAAAAAAAAAI/AAAAAAAAACQ/gj3M8CpZlXA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/12518604836409005781', 'displayTime': 'Feb 5, 2014, 1:20:00 AM', 'deleteclass': 'item-control blog-admin pid-1755919300', 'id': '4536464515089978067', 'body': 'thank you :)x3cbr /x3ehttp://www.blogolect.blogspot.com', 'timestamp': '1398537033143', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1398537033143#c4536464515089978067', 'author': 'name': 'Zohaib Liaqat', 'avatarUrl': '//lh4.googleusercontent.com/-dnCb_BUDdMs/AAAAAAAAAAI/AAAAAAAAELE/lS_tBprxEIo/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07449069904813158778', 'displayTime': 'Apr 26, 2014, 11:30:00 PM', 'deleteclass': 'item-control blog-admin pid-1738013547', 'id': '2488400017548787067', 'body': 'Does it work if I want to act it as label filter not search?x3cbr /x3eExample , I have 10 post.x3cbr /x3e3 of them is Labeled under Work and other 3 are Original , for the last 4 is labeled as Nonx3cbr /x3eBut the 10 of them I had labeled as Mainx3cbr /x3e', 'timestamp': '1399477203371', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1399477203371#c2488400017548787067', 'author': 'name': 'Brady Cardia', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/06359661029568606773', 'displayTime': 'May 7, 2014, 8:40:00 PM', 'deleteclass': 'item-control blog-admin pid-1377513595', 'id': '3504299803751288350', 'body': 'any widget to apply that link, so our visitior will be easy to filter post in our blog', 'timestamp': '1404871054941', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1404871054941#c3504299803751288350', 'author': 'name': 'Akmal Januar Pratama', 'avatarUrl': '//lh6.googleusercontent.com/-u3m7a_rNZZM/AAAAAAAAAAI/AAAAAAAACAg/NcRHXq8tAdg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/14290920181597033698', 'displayTime': 'Jul 9, 2014, 6:57:00 AM', 'deleteclass': 'item-control blog-admin pid-394384708', 'id': '4323909175706141503', 'body': '5. Sort Search Results by Datex3cbr /x3ex3cbr /x3eI want to add a search box that should work like mentioned in 5 trick. but how?', 'timestamp': '1409212640595', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1409212640595#c4323909175706141503', 'author': 'name': 'Ismail Ichoo', 'avatarUrl': '//lh6.googleusercontent.com/-i2JsNJ7smCI/AAAAAAAAAAI/AAAAAAAAAmg/u_aBfWLnnwc/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15767644580868897589', 'displayTime': 'Aug 28, 2014, 12:57:00 PM', 'deleteclass': 'item-control blog-admin pid-546994203', 'id': '1197633576666851491', 'body': 'Hix3cbr /x3ex3cbr /x3eTo search for a keyword within a Label:x3cbr /x3ehxxp: // www.mybloggertricks.com/search/?qx3dtwitter+label:SEOx3cbr /x3ex3cbr /x3eI got this when I tried to combine your trick #1 and #4x3cbr /x3ex3cbr /x3eCheersx3cbr /x3ealwi.web.id', 'timestamp': '1416178900206', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1416178900206#c1197633576666851491', 'author': 'name': 'i247.biz', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/15609549270229157308', 'displayTime': 'Nov 17, 2014, 4:01:00 AM', 'deleteclass': 'item-control blog-admin pid-823502593', 'id': '5137729340850314091', 'body': 'Does not work. No matter how high the max-result (upto the know limit of 500) the result is always no more than 23 regardless that more than 23 posts exist for a given label.', 'timestamp': '1417669757012', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1417669757012#c5137729340850314091', 'author': 'name': 'N.D. Author Services', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi74yew4xe-dh_ZiLmnxyOJFjxcrBeAeLGDX61tjMaVMJrKYS_Rw7rHS6C3pfvOwtpo89f5t9t1bzvNiM3UJAV4wYd901I9NoFpf86A4y7DCWfrmYlSAaqTCvDb863tRkMsOid9HGr0UFM/s35/Logo_400.jpg', 'profileUrl': 'https://www.blogger.com/profile/17849405785830291100', 'displayTime': 'Dec 4, 2014, 10:09:00 AM', 'deleteclass': 'item-control blog-admin pid-1164237910', 'id': '5308970760907250581', 'body': 'x3cbr /x3eI am actually a beginner in this field, basically an apparel graduate and working as a manager merchandising/marketing at one of the best denim apparel company in Pakistan, so know very little about design and templates, can you plz check my below query and help me in this matter as well.x3cbr /x3eMy tabs sizes are not adjusted with tabs text, how to fix this problem ? Plz visit and check the tabs issue on my site (www.thinklikegiant.com) and advise… thanks for your support in advance.', 'timestamp': '1430576609100', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1430576609100#c5308970760907250581', 'author': 'name': 'HMS KHALID', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/02241044132464686124', 'displayTime': 'May 2, 2015, 7:23:00 PM', 'deleteclass': 'item-control blog-admin pid-907015546', 'id': '2343064641053127402', 'body': 'i have problem... in my blog there was around 23 post labeled with browser...x3cbr /x3ewhen i search on my blog browser... only 20 results are shown.. i tried using x26quot;/search/max-resultsx3d500x26quot; ( 500 and various number) please tell how search box show all the reasults with same labeled ', 'timestamp': '1442246688495', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1442246688495#c2343064641053127402', 'author': 'name': 'rocky halder', 'avatarUrl': '//lh5.googleusercontent.com/--WNAYqJEQw0/AAAAAAAAAAI/AAAAAAAAADc/bWrTKozJ20w/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/04171558489853470282', 'displayTime': 'Sep 14, 2015, 9:04:00 PM', 'deleteclass': 'item-control blog-admin pid-1929555650', 'id': '6830955952751092815', 'body': 'Hi!x3cbr /x3ex3cbr /x3eIwant to do a searcher in blogger that search in the post and labels. Anyway to do it???x3cbr /x3ex3cbr /x3eThx in advance', 'timestamp': '1447603563043', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1447603563043#c6830955952751092815', 'author': 'name': 'Potrus Maximus', 'avatarUrl': '//lh3.googleusercontent.com/-QLS7jzcyErg/AAAAAAAAAAI/AAAAAAAAABA/VUPyiOhIdbA/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/10424096888061176017', 'displayTime': 'Nov 15, 2015, 9:06:00 PM', 'deleteclass': 'item-control blog-admin pid-1162682459', 'id': '1598140134819896285', 'body': 'Hi.....I want to put button for selection of multiple labels on my blogspot.in.....my blog is regarding smartphones and I want to sort it by camera......internal storage....ram....processor....etc.', 'timestamp': '1449280038422', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1449280038422#c1598140134819896285', 'author': 'name': 'Shetal Manish Patel', 'avatarUrl': '//lh6.googleusercontent.com/-0P_WKNfdnrs/AAAAAAAAAAI/AAAAAAAAAJ0/osVI_GtPXfg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/13343682083456712640', 'displayTime': 'Dec 5, 2015, 6:47:00 AM', 'deleteclass': 'item-control blog-admin pid-970321077', 'id': '1889765250108981615', 'body': 'Hi there and thank you for this post. one of the templates i use for my blog has a search bar. the code i can locate is this:x26quot;(div) classx3dx26#39;home-searchx26#39;)x3cbr /x3e(form actionx3dx26#39;/searchx26#39; methodx3dx26#39;getx26#39;)x3cbr /x3e(input classx3dx26#39;text-inputx26#39; namex3dx26#39;qx26#39; placeholderx3dx26#39;Search Here..x26#39; stylex3dx26#39;display: inline-block; width: 150px;x26#39; typex3dx26#39;textx26#39;/)x3cbr /x3e(/form)x3cbr /x3e (/div)x3cbr /x3eI need my readers to be able to search and get results based on the labels existing in the posts.x3cbr /x3eIs this possible?x3cbr /x3eThank youx3cbr /x3e', 'timestamp': '1464385983617', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1464385983617#c1889765250108981615', 'author': 'name': 'Freesalesman', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/11420082202331727611', 'displayTime': 'May 28, 2016, 2:53:00 AM', 'deleteclass': 'item-control blog-admin pid-731076165', 'id': '1465015631988488363', 'body': 'What about searching by author instead of by label or keyword? Is it impossible without JavaScript?', 'timestamp': '1487342923843', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1487342923843#c1465015631988488363', 'author': 'name': 'Federico x26quot;fpratx26quot;', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI8Wgp8OQVG-F6y_2v0gr-U_rDs5PpbQQfVrUt0WTnErTeVxh7smC7nYtzhdL6kwEnQDKwH1Ivy6KUG38KuaOmKBZAHDyMncw6vAP-0UWpy9J7Jc65ppOEDty8xRRx130wLq2H-jRca0zb/s35/mii.png', 'profileUrl': 'https://www.blogger.com/profile/17439268796928237190', 'displayTime': 'Feb 17, 2017, 7:48:00 PM', 'deleteclass': 'item-control blog-admin pid-740804815', label-2', 'timestamp': '1489269211217', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1489269211217#c8308978771061503305', 'author': 'name': 'MEGACINE', 'avatarUrl': '//lh4.googleusercontent.com/-UYbmwc7GTAA/AAAAAAAAAAI/AAAAAAAAA2o/_Pk5vnZAJa4/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09767622963146871150', 'displayTime': 'Mar 12, 2017, 2:53:00 AM', 'deleteclass': 'item-control blog-admin pid-237391899', 'id': '5782283262634140389', 'body': 'Hi,x3cbr /x3eI didnx26#39;t find what I was searching forx3cbr /x3eI want to know if there is anyway to search for a word by the rss feedx3cbr /x3esomething like this but without the label namex3cbr /x3ewww.example.com/feeds/posts/summary/-/labelname?qx3dsearch_wordx3cbr /x3ebut I want to search for this word in all blogs not in the blogs of one or more labels that selected beforex3cbr /x3eexcuse my week English because I am Arab', 'timestamp': '1506238920464', 'permalink': 'https://www.mybloggertricks.com/2014/01/17-best-search-techniques-in-blogger.html?showCommentx3d1506238920464#c5782283262634140389', 'author': 'name': 'TecnoCode', 'avatarUrl': '//lh6.googleusercontent.com/-qwyhy57ePrg/AAAAAAAAAAI/AAAAAAAABAI/_GE2L48u_mI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17064954094377123540', 'displayTime': 'Sep 24, 2017, 12:42:00 PM', 'deleteclass': 'item-control blog-admin pid-2104258950'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '6559950812642275123', 'feed': 'https://www.mybloggertricks.com/feeds/6559950812642275123/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;

var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';



return entry.content.$t;

var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;


if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;

if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];



comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;



comments.push(comment);


return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();

window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length






  1. Abdul BasitJan 22, 2014, 12:37:00 AM

    very nice it will help to find over object easly


    ReplyDelete








  2. Khurram ShahzadJan 22, 2014, 12:46:00 AM

    Bro plz tell me if i make links Like> first i post photo on pinterest with link in it than i give this pinterest link in comment ...Is it wrong or Good??
    I comment this on your previous hyper link post but you don't reply me


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJan 24, 2014, 11:53:00 PM

      Buddy Adding links in comments do not harm SEO because all links within the comment section are nofollow by deafult and robots neglect them, so it wont pass any PageRank juice. :)


      Delete




    2. Reply









  3. RH hassanJan 22, 2014, 1:59:00 AM

    nice


    ReplyDelete








  4. Hafeez KhanJan 22, 2014, 4:18:00 AM

    WOW, what a splendid post...Thumbing to MBT..


    ReplyDelete








  5. Ahmed ShawanJan 22, 2014, 6:06:00 AM

    This comment has been removed by a blog administrator.


    ReplyDelete








  6. Adil Muhammad YousufJan 22, 2014, 10:59:00 AM

    What a tremendous post, Hats off


    ReplyDelete








  7. sk nizamJan 22, 2014, 3:08:00 PM

    Thanks for this post. Very nice. http://www.blogonmind.com/


    ReplyDelete








  8. Cerwenlloyd GefjunJan 22, 2014, 7:29:00 PM

    Nice work Sir! I don't know how to say but this blog is really a good source of info.

    Thanks
    From Bloggingtipsandtrix.blogspot.com


    ReplyDelete








  9. HasnainJan 22, 2014, 8:47:00 PM

    your blog is really awesome i am a permanent reader of MBT i always found so many helping articles on this blog. I found a tool for all the webmasters must try it.
    check the worth and social engagement of your website or blog http://www.markeetvalue.com/


    ReplyDelete








  10. Gagan MasounJan 24, 2014, 11:38:00 PM

    i like it


    ReplyDelete








  11. David PhengJan 29, 2014, 5:19:00 AM

    Download Game & Software For Full Version at
    www.softofgame.blogspot.com


    ReplyDelete








  12. Nayyar ShehzadFeb 5, 2014, 1:18:00 AM

    Brother I want to be Your student can you teach me about blogging? if yes then so please give me adress or skype id in private


    ReplyDelete








  13. Nayyar ShehzadFeb 5, 2014, 1:20:00 AM

    please reply


    ReplyDelete








  14. Zohaib LiaqatApr 26, 2014, 11:30:00 PM

    thank you :)
    http://www.blogolect.blogspot.com


    ReplyDelete








  15. Brady CardiaMay 7, 2014, 8:40:00 PM

    Does it work if I want to act it as label filter not search?
    Example , I have 10 post.
    3 of them is Labeled under Work and other 3 are Original , for the last 4 is labeled as Non
    But the 10 of them I had labeled as Main


    ReplyDelete








  16. Akmal Januar PratamaJul 9, 2014, 6:57:00 AM

    any widget to apply that link, so our visitior will be easy to filter post in our blog


    ReplyDelete








  17. Ismail IchooAug 28, 2014, 12:57:00 PM

    5. Sort Search Results by Date

    I want to add a search box that should work like mentioned in 5 trick. but how?


    ReplyDelete








  18. i247.bizNov 17, 2014, 4:01:00 AM

    Hi

    To search for a keyword within a Label:
    hxxp: // www.mybloggertricks.com/search/?q=twitter+label:SEO

    I got this when I tried to combine your trick #1 and #4

    Cheers
    alwi.web.id


    ReplyDelete








  19. N.D. Author ServicesDec 4, 2014, 10:09:00 AM

    Does not work. No matter how high the max-result (upto the know limit of 500) the result is always no more than 23 regardless that more than 23 posts exist for a given label.


    ReplyDelete








  20. HMS KHALIDMay 2, 2015, 7:23:00 PM


    I am actually a beginner in this field, basically an apparel graduate and working as a manager merchandising/marketing at one of the best denim apparel company in Pakistan, so know very little about design and templates, can you plz check my below query and help me in this matter as well.
    My tabs sizes are not adjusted with tabs text, how to fix this problem ? Plz visit and check the tabs issue on my site (www.thinklikegiant.com) and advise… thanks for your support in advance.


    ReplyDelete








  21. rocky halderSep 14, 2015, 9:04:00 PM

    i have problem... in my blog there was around 23 post labeled with browser...
    when i search on my blog browser... only 20 results are shown.. i tried using "/search/max-results=500" ( 500 and various number) please tell how search box show all the reasults with same labeled


    ReplyDelete








  22. Potrus MaximusNov 15, 2015, 9:06:00 PM

    Hi!

    Iwant to do a searcher in blogger that search in the post and labels. Anyway to do it???

    Thx in advance


    ReplyDelete








  23. Shetal Manish PatelDec 5, 2015, 6:47:00 AM

    Hi.....I want to put button for selection of multiple labels on my blogspot.in.....my blog is regarding smartphones and I want to sort it by camera......internal storage....ram....processor....etc.


    ReplyDelete








  24. FreesalesmanMay 28, 2016, 2:53:00 AM

    Hi there and thank you for this post. one of the templates i use for my blog has a search bar. the code i can locate is this:"(div) class='home-search')
    (form action='/search' method='get')
    (input class='text-input' name='q' placeholder='Search Here..' style='display: inline-block; width: 150px;' type='text'/)
    (/form)
    (/div)
    I need my readers to be able to search and get results based on the labels existing in the posts.
    Is this possible?
    Thank you


    ReplyDelete








  25. Federico "fprat"Feb 17, 2017, 7:48:00 PM

    What about searching by author instead of by label or keyword? Is it impossible without JavaScript?


    ReplyDelete








  26. MEGACINEMar 12, 2017, 2:53:00 AM

    Hi, is possible to search multiple labels feed?
    /feeds/posts/default/-/label-1

    I'm traying something like this:
    /feeds/posts/default/-/label-1|label-2


    ReplyDelete








  27. TecnoCodeSep 24, 2017, 12:42:00 PM

    Hi,
    I didn't find what I was searching for
    I want to know if there is anyway to search for a word by the rss feed
    something like this but without the label name
    www.example.com/feeds/posts/summary/-/labelname?q=search_word
    but I want to search for this word in all blogs not in the blogs of one or more labels that selected before
    excuse my week English because I am Arab


    ReplyDelete




Add comment


Load more...












BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');







這個網誌中的熱門文章

Barbados

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3