一个人可以得到以下的博客API或GDATA API博客的名单? [英] Can one get the list of following blogs from blogger api or gdata api?

查看:112
本文介绍了一个人可以得到以下的博客API或GDATA API博客的名单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个解决方案,但我可以到配置文件API响应的唯一格式为HTML。这不是为获得类似的博客的阅读清单列表非常可靠的。

I have been looking for a solution, but the only format that I can get a response to the profile API is in HTML. That is not very reliable for getting something like a list of the blogger's reading list.

我已经能够得到默认的/我的身份验证令牌和博客有结果的JSON返回。然后我用,要得到作者的博客-ID ..然后..配置文件(具有阅读清单)。 Howver,当我提出要求的JSON(即?V = 2 / ALT = JSON)在URI结束时,它仍然会返回HTML。

I have been able to get the default/blogs with my auth token and have the result returned in JSON. I then used that to get the author's blog-id .. and then .. the profile (which has the reading list). Howver, when I request it in JSON (i.e., ?v=2/alt=json) at the end of the URI, it still returns HTML.

有没有得到这个工作更好的办法?

Is there a better way to get this done?

推荐答案

没有 - 不是真的(请继续阅读)。是的,如果你解析HTML。它不用于XML / JSON或以其他方式在API中露出。你可以得到HTML,如果你是在做屏幕抓取信心,觉得老板不会重新安排自己的页面(可能显示省略它),然后'去了。

No - not really (keep reading). Yes if you parse HTML. It is not exposed in the API for XML/JSON or otherwise. You can get the HTML and if you are confident in doing the screen scraping and feel that the owner will not rearrange one's page (possibly omitting it from display), then 'go for it.'

这篇关于一个人可以得到以下的博客API或GDATA API博客的名单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆