JSON-Feed
"'Peta Sella' via Blogger Developer Group" <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
Here
<https://blogname.blogspot.com/feeds/posts/default?alt=json-in-script&callback=myFunc>
is explained how to retrieve feeds in JSON format.
To get the number of posts per label, for example "test", I can use:
http://MYBLOG.blogspot.de/feeds/posts/default/-/test/?alt=json
or
http://MYBLOG.blogspot.de/feeds/posts/default/-/test/?alt=json-in-script&callback=myFunc
The returned JSON object then tells me how much posts exist that have a
label "test":
{
"version": "1.0",
"encoding": "UTF-8",
"*feed*": {
"xmlns": "http://www.w3.org/2005/Atom",
...
...
* "openSearch$totalResults": { "$t": "4"*
},
...
Question: Is it possible to return this openSearch$totalResults directly,
perhaps in a way like this:
http://MYBLOG.blogspot.de/feeds/posts/default/-/test/
*feed/openSearch$totalResults*?alt=json
--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.