Re: Blogger API Search for label/tag/keyword/cat
Vicky <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
To find posts tagged with both "Hello" *and* "World" labels use:
gapi.client.blogger.posts.search({
blogId : '0123456789',
q : 'label:Hello + label:World'
}).execute(function (response) {
console.log(response);
});
Or, to search posts which are tagged with "Hello" *or* "World" label,
instead of 'label:Hello + label:World' use 'label:Hello | label:World'
luni, 13 august 2012, 14:44:58 UTC+3, vib a scris:
>
> Hi,
> I need to retrieve posts for specific tags from my own blog e.g. flickr or
> food
> The results returned through https://www.googleapis.com/blogger/v3/blogs/
> blogId/posts/search?q= do not provide any tag info. The Blogger API
> search feature
> https://developers.google.com/blogger/docs/3.0/using#SearchingForAPost
> doesn't return any results when we specify a post-specific
> label/tag/keyword/cat. There's no separate feature to search by a label
> either.
>
> Isn't there something like -- blogname.blogspot.com/search/label/Mylabel
> -- through the API?
>
--
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 http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.