How can I retrieve all posts from a Blogger (blogspot.com) blog?

谁都会走 提交于 2019-12-10 13:22:09

问题


I have a blog at http://westernwakefarmersmarket.blogspot.com/ and I'd like to migrate the content to a new MVC web application I'm developing. I'm trying to retrieve all of the existing posts to migrate them into a database. I'm having trouble getting all of the posts, however.

When I connect to the blog with Windows Live Writer, it's able to retrieve all of the posts (probably over a hundred). When I point to the ATOM feed for the blog at http://www.blogger.com/feeds/7916832134968916231/posts/default, I only get the first 25. Does anyone know how I can retrieve all of the posts?


回答1:


Log in to you blogger dashboard at blogger.com and then export all your posts.

You can import posts and comments from a previously exported Blogger blog, export this blog, or permanently delete it.

Go in the Setting tab. There's an option there named Export blog.

Selecting this option you'll be presented with this message:

Export your blog into the Blogger Atom export format. You can do this to move your blog to another blogging service or simply to store your blog on your own hard drive.




回答2:


You can use the 'max-results' query parameter to specify the number of results you wish to see:

http://www.blogger.com/feeds/7916832134968916231/posts/default?max-results=240



来源:https://stackoverflow.com/questions/3428897/how-can-i-retrieve-all-posts-from-a-blogger-blogspot-com-blog

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