如何从 Google 阅读器中删除标签?
因此,我正在针对 Google Reader 的“API”编写一些代码。
我正在编写删除文件夹/标签中所有网站的代码。我可以很好地删除这些网站,但当所有内容都消失时,我找不到删除标签的方法。
所以最后所有的网站都消失了,但我有这个空标签。
我目前正在尝试这个,但谷歌不喜欢它。
http://www.google.com/reader/api/0 /edit-tag?client=XXX
POST params = "r=user/-/label/" + HttpUtility.UrlEncode(label) + "&T=" + Token
似乎需要一个 feed 来配合它,但这里的重点不是从提要中删除标签(我可以很好地做到这一点),而是完全删除标签。
有什么想法吗?
大卫
So, I am writing some code against Google Reader's "API".
I am writing code that deletes all of the sites in a folder/tag. I can delete the sites just fine, but I can't find a way to delete the tag when everything is out of it.
So in the end all the sites are gone but I have this empty tag.
I am currently trying this, but google doesn't like it.
http://www.google.com/reader/api/0/edit-tag?client=XXX
POST params = "r=user/-/label/" + HttpUtility.UrlEncode(label) + "&T=" + Token
It seems to want a feed to go with it, but the point here isn't to remove a label from a feed (I can do that just fine), it is to remove the tag completely.
Any thoughts?
David
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过向 http://www.google.com 发送 POST 请求来删除标签/reader/api/0/disable-tag 带有参数
s
(要删除的标签,即user/-/label/tag_name
)和T
(操作标记)。You can delete tags by sending a POST request to http://www.google.com/reader/api/0/disable-tag with the parameters
s
(tag to delete, i.e.user/-/label/tag_name
) andT
(the action token).