从 Google Reader 检索单个帖子
我正在开发一个 Google Reader 项目,该项目列出了页面上提要中的帖子。我想从该页面链接到一个显示所选帖子内容的新页面。我看到帖子的 id 是 tag:google.com,2005:reader/item/1bf4b488adad6f1a 但我没有看到可以用来直接检索其内容的调用。
除了从提要中获取所有帖子并搜索正确的帖子之外,有人知道解决方案吗?
I'm working on a Google Reader project that lists posts from a feed on a page. From that page I would like to link to a new page that displays the contents of the selected post. I see the id of the post is tag:google.com,2005:reader/item/1bf4b488adad6f1a but I don't see a call that I can use to directly retrieve it's contents.
Does anyone know of a solution other than getting all of the posts from the feed and searching for the correct one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 /reader/api/0/edit-tag 使用一些唯一标识符(例如当前 Unix 时间)来标记该项目,然后检索带有该标签的所有项目(这只是其中一项),然后删除该标签。这是一种迂回的方式,但据我所知,没有 API 调用可以通过 id 来获取单个项目。
You could tag the item using /reader/api/0/edit-tag with some unique identifier, say the current Unix time, then retrieve all items with that tag (which is just that one item), then remove the tag. It's kind of a round-about way of doing it but as far as I know there is no API call to grab a single item by it's id.