2007年2月9日星期五

如何备份一个 Google Blogger 的博客

downthemall-blogger.jpg




GOS 上又提到了一个实用的技巧,就是关于如何备份一个新版的 Google Blogger 博客内容。虽然类似于 Maikr 这样的博客工具,可以方便的进行备份,不过能了解一下手动备份的技巧总是好的。

首先是文章内的图片,列出 HTML 格式的文章列表,格式如下:



http://{blogname}.blogspot.com/search?max-results={文章数量}



通过 Firefox 扩展 DownThemAll 就可以一次批量的下载这个 HTML 页面中已经包含你博客中所有文章的图片资源了。



然后是该博客中文章的 XML Feed,格式如下:



http://{blogname}.blogspot.com/feeds/posts/default?max-results={文章数量}



相应的,博客中评论的 XML Feed,也是一样可以列出:



http://{blogname}.blogspot.com/feeds/comments/default?max-results={文章数量}



这两个 XML 输出都可以直接另存为本地的 XML 文件进行保存。到此为止,Google Blogger 博客中所有的内容都已经备份到本地了,是不是很简单,呵呵。


3 评论:

这个巴矢 安逸

Oh.. I see so it's for backup on the local discs~ I'm not sure whether my local discs can be actually more reliable than the server you know.. with all the p2p downloading going on, our hardiscs can be really short-lived. :p
Thanx 4 the info anyway.

yoo. nice post :)