LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » Blogspot / Blogspot Tips » How To Use Parameters In Google Blogspot Blog Feed?

How To Use Parameters In Google Blogspot Blog Feed?

How-To-Use-Parameters-In-Google-Blogspot-Blog-Feed
This post presented for me to understanding the “Query Parameters in Blogspot Feed”. As we know, the URL to get feed items of our blog is http://yourblogname.blogspot.com/feeds/posts/default. You can review this feed after as my blog feed : http://googleblog.blogspot.com/feeds/posts/default or you can use your own blog to experiment.

Google Blogger’s Feeds URL:

  1. Using your blogger’s address : http://yourblogname.blogspot.com/feed/post/default
  2. Using your blogid : http://www.blogger.com/feeds/blogID/posts/default

The Blogger Data API supports the following query parameter:

alt

Meaning – Alternative representation type
We can use one of the following values:

  • If wedon’t specify an alt parameter, the service returns an Atom feed. This is equivalent toalt=atom
  • alt=rss returns an RSS 2.0 result feed (for reads only)
  • alt=json returns a JSON representation of the feed
  • alt=json-in-script Requests a response that wraps JSON in a script tag
  • alt=atom-in-script Requests an Atom response that wraps an XML string in a script tag.
  • alt=rss-in-script Requests an RSS response that wraps an XML string in a script tag.
  • alt=atom-service Requests an Atom service document that describes the feed.

http://googleblog.blogspot.com/feeds/posts/default?alt=json
http://www.blogger.com/feeds/10861780/posts/default?alt=json
This will returns type of feed as a JSON.

category

Meaning – Category query filter
Specifies categories (also known as labels) to filter the feed results.
http://googleblog.blogspot.com/feeds/posts/default/-/ads
http://www.blogger.com/feeds/10861780/posts/default/-/ads
This will returns entries with the label or category of blogging.

max-results

Meaning – The Maximum number of results to be retrieved
http://googleblog.blogspot.com/feeds/posts/default?max-results=2
http://www.blogger.com/feeds/10861780/posts/default?max-results=2
This will returns entries with 2 results.

orderby

Meaning – The order in which to return entries, such as lastmodified (the default), starttime, or updated.
http://googleblog.blogspot.com/feeds/posts/default?orderby=updated
http://www.blogger.com/feeds/10861780/posts/default?orderby=updated
I do not know how to using lastmodified and starttime!

published-min, published-max

Meaning  – The bounds on entry publication dates
http://googleblog.blogspot.com/feeds/posts/default?published-min=2010-11-01T00:00:00&published-max=2011-11-30T23:59:59&orderby=updated
http://www.blogger.com/feeds/10861780/posts/default?published-min=2010-11-01T00:00:00&published-max=2011-11-30T23:59:59&orderby=updated

start-index

Meaning – The 1-based index of the first result to be retrieved
http://googleblog.blogspot.com/feeds/posts/default?start-index=1 or
http://www.blogger.com/feeds/10861780/posts/default?start-index=1
Test by yourself, you can change number on start-index=1

updated-min, updated-max

Meaning  – The bounds on entry update dates.
These query parameters are ignored unless the orderby parameter is set to updated
http://googleblog.blogspot.com/feeds/posts/default?updated-min=2010-11-01T00:00:00&updated-max=2011-11-30T23:59:59&orderby=updated
http://www.blogger.com/feeds/10861780/posts/default?updated-min=2010-11-01T00:00:00&updated-max=2011-11-30T23:59:59&orderby=updated

Last Words:

That’s all we have. If you have any problem with this code in your template then feel free to contact us with full explanation of your problem. We will reply you as time allow to us. Don’t forget to share this with your friends so they can also take benefit from it and leave your precious feedback in our comment form below. Happy blogging, See you in next article…

You Like It, Please Share This Recipe With Your Friends Using...

6 Responses to “How To Use Parameters In Google Blogspot Blog Feed?”

  1. kuldeep says:

    Hi,
    After reading this post I came to know How To Use Parameters In Google Blogspot Blog Feed. Its really very good post. thanks for sharing this post.

  2. Asim says:

    Every blogger should use feed. It is very useful tool promote your blog. This post exaplins everyhing about it. Nice post

  3. triptijha says:

    narrative post for Blog feed…thankyou for sharing such informative views

Leave a Reply

Your email address will not be published. Required fields are marked *