Can one get the list of following blogs from blogger api or gdata api?

↘锁芯ラ 提交于 2020-01-16 09:37:51

问题


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.

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?


回答1:


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.'



来源:https://stackoverflow.com/questions/2459247/can-one-get-the-list-of-following-blogs-from-blogger-api-or-gdata-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!