使用googlereader恢复wordpress数据 Googlereader restore data using wordpress

2008年03月11日• 追风逐月 • 分类: 网站建设 March 11, 2008 Herd monthly • • Category: building site

因为服务器搬迁,本人的博客停止更新了很长一段时间。 Because of the relocation of the server, I stopped updating the blog for a long time.
虽然搬迁前已经对blog数据进行了备份,但是,很不幸当我再次想要恢复博客的时候,却找不到了。 Although the removal of the blog before the data backup, but, unfortunately, when I once again want to resume when the blog, it found.
没办法,难道就放弃以前写的文章了吗? No way, should give up before writing the article? 虽然文章写的不多,但总还是自己一个字一个字码出来的。 Although the article written by little, but the word itself out of a code word. 总觉得可惜。 Unfortunately think. (呵呵,这已经是本人博客第4次搬迁了,有点狗熊掰玉米的味道)。 (Oh, this is my blog 4th relocation, a coward breaking off the flavor of corn).
好在现在有很多在线阅读器,而我基本上也会把自己的blog订上。 Fortunately, there are now many online readers, and I will basically set himself on the blog. 我依次使用过google reader, 抓虾,哪吒,鲜果等在线阅读工具。 I used google reader followed, grasping shrimp, Battery, fresh fruit and other online tools. 进去看了下,好像所有这些网站都把我以前的文章完整的保留了下来。 Get read, seems to regard all these sites in my previous article integrity of the retained. 呵呵,看来有戏! Oh, it captured!

我于是挨个查找了一遍,尽然都没有完整的Rss输出,my god.不会吧。 I therefore once again one by one to find out, are not necessarily complete Rss output, my god. Not it. 于是又找了一遍,突然想到google reader可以输出共享内容的feed,我试验了下,虽然不可以直接输出单个feed的rss,但可以把整个目录(label)共享并输出feed,呵呵,这就有戏了. So he approached again, and suddenly thought google reader can share the contents of feed output, I tested, although not a single direct output of the rss feed, but the entire directory (label) sharing and output feed, Oh, this have a show.

赶紧开始工作: Immediately start work:

  1. 在google reader 中新建一个label ,取名为newrss In google reader in a new label, named newrss
  2. 将本博归入newrss Bo will be the classified newrss
  3. 在setting-tags页面将newrss设为共享 Tags pages in the setting-sharing will be set newrss
  4. view public page 查看对应的共享页面 View public page view corresponding sharing page
  5. 查看这个页面的feed,内容果然输出了,呵呵不错 Show this page feed, which really output, Oh Yes
  6. 好像只有20条记录,不够啊,看看有没有办法输出全部呢? Seems to only 20 records, not ah, look at all there is any way out? 网上找了一下,运气还不错,google提供了api给我们(参考http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI ),只要在生成的链接后面添加n=1000,就可以输出1000条记录,够了吧 Find some online, and also good luck, google api provided to us (reference http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI), as long as the link in the generation behind Add n = 1000, it can output 1000 record, it is enough
  7. 生成的链接最终是这样的http://www.google.com/reader/public/atom/user/(user-id)/label/newrss?n=1000 Formation of such a link is ultimately http://www.google.com/reader/public/atom/user/ (user-id) / label / newrss? N = 1000

接下来:赶紧把这个feed保存到本地,并通过wordpress的导入功能(manage-import),导入这个feed,找来找去好像只能通过rss导入,管他呢,试一下。 Next: rushed to the local feed preservation, and through the import feature wordpress (manage-import), feed into this, as only through rss Hualaihuaqu import, possession he? Try.
导入成功,赶紧看一下。 Import succeeded, quickly look at. 什么? What? 没有内容? No? 哦,是的,没有内容。 Oh, yes, without content. 试了几次都是没有内容。 Tried several times are not content.
怎么回事呢? How all? 原来wordpress只支持rss格式的导入,而google只支持atom格式的输出,该死的标准之争。 Wordpress only supports the original format into rss, atom google only supports the output format, damned standards dispute. 不知道该怨google还是怨wordpress,难道就不能多支持几种格式吗? Did not know that the feelings or grudges wordpress google Can not supported several formats?
又得辛苦了,召唤中… Another hard, and calls…

呵呵,世界这么大,总有热心人。 Oh, the world is so big that there are always enthusiastic people. http://atom2rss.semiologic.com/把atom转换成Rss2格式,把转换后的文件再次导入wp,成功。 Http://atom2rss.semiologic.com/ the atom into Rss2 format, converting the document into wp again successfully. 到此为止一切搞定! End all get!

标签: google , wordpress Tags: google, wordpress
本文链接: http://chyni.com/site-builder/googlereader-wordpress.html This paper links: http://chyni.com/site-builder/googlereader-wordpress.html

你可能还喜欢 You may also like



发表你的意见 Express your views

追风逐月 Zhuifeng monthly

提供网络赚钱、网赚经验、网赚工具、SEO、国外主机信息 The provision of the network to make money, Wangzhuan experience Wangzhuan tool, SEO, foreign host information
Herd monthly subscription blog feed
Subscribe to google Subscribe to Battery
Subscribe to the fresh fruit Subscribe to grasp shrimp
* 更多订阅本站方式请看订阅帮助 * See More Subscribe way to help subscribers