有什么方法可以根据标签检索博客吗?根据blogger API,它只支持使用blogId (特定于用户)检索博客。
例:
GET https://www.googleapis.com/blogger/v3/blogs/blogId/posts返回基于博客id的所有帖子。
但是有什么方法可以让所有的博客都基于标签吗?
发布于 2016-10-24 20:37:25
//return all labels
document.write('<script src="/feeds/posts/summary?alt=json&max-results=0&callback=listlabels"></script>');
//return all posts for label
document.write('<script type="text/javascript" src="/feeds/posts/default/-/'+encodeURIComponent('label name here')+'?published&alt=json-in-script&callback=listpostsoflabels"><\/script>');https://stackoverflow.com/questions/40206399
复制相似问题