如何从本论坛中导出Blog数据到新的blog

论坛日常站务以及建议或咨询
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

如何从本论坛中导出Blog数据到新的blog

#1

帖子 oneleaf » 2007-10-29 17:58

一:打开本论坛blog,在最右下脚有个红色的xml的链接,复制链接。类似:

weblog_rss.php?w={id}

二:打开终端,输入: wget weblog_rss.php?w={id} -O blog.rss 导出所有的数据到rss文件。{id} 为注册的blog编号。

三:打开新blog,http://{username}.blog.ubuntu.org.cn/wp-admin/import.php 选择上面导出的rss文件,提交即可。{username} 为注册的名字。

四:打开编辑文章的链接 http://{username}.blog.ubuntu.org.cn/wp-admin/edit.php 编辑、检查和保存一下导入的文件。{username} 为注册的名字。

完毕。

已知问题: 附件和留言无法转入,主要是论坛上自带的blog太轻量级了,无法得到有效的支持。新的blog采用老牌的WordPress搭建,就算以后迁移也方便很多。
上次由 oneleaf 在 2007-10-29 22:50,总共编辑 4 次。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#2

帖子 skyx » 2007-10-29 17:59

:shock:

xp下怎么办 :oops:
no security measure is worth anything if an attacker has physical access to the machine
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2007-10-29 18:00

IE浏览器打开那个链接另存也可以。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#4

帖子 skyx » 2007-10-29 18:08

xp下ie 成功 :lol:
no security measure is worth anything if an attacker has physical access to the machine
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#5

帖子 eexpress » 2007-10-29 19:41

19:39:54 exp ~
☎ wget weblog_rss.php?w=6 -o blog.rss
19:40:12 exp ~
☎ vi blog.rss
19:40:58 exp ~
☎ l web* blog*
blog.rss weblog_rss.php?w=6
19:41:16 exp ~
☎ cat blog.rss
--19:40:12-- weblog_rss.php?w=6
=> `weblog_rss.php?w=6'
正在解析主机 forum.ubuntu.org.cn... 59.36.101.19
正在连接 forum.ubuntu.org.cn|59.36.101.19|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 未指定 [text/xml]

0K .... 269.06 KB/s

19:40:12 (269.06 KB/s) - `weblog_rss.php?w=6' 被保存 [4967]
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-10-29 19:42

weblog_rss.php?w=6 才是那rss哦。而且只有一页。
● 鸣学
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#7

帖子 ct » 2007-10-29 19:59

怎么全部导出呢?我这里只导了8篇
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#8

帖子 zhuqin_83 » 2007-10-29 20:00

wget http://http://forum.ubuntu.org.cn/weblog_rss.php?w={id} -o blog.rss
这个错了,多了http://
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
头像
woaiwojia
帖子: 1355
注册时间: 2007-09-10 20:20
系统: Debian
来自: 南京

#9

帖子 woaiwojia » 2007-10-29 20:16

呵呵,好呀
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#10

帖子 ct » 2007-10-29 21:09

搞定了,哈哈。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#11

帖子 eexpress » 2007-10-29 22:14

ct 写了:搞定了,哈哈。
一次全部导出了???
● 鸣学
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

#12

帖子 ct » 2007-10-29 23:44

头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#13

帖子 zhan » 2007-10-30 0:50

怎么弄的,老鼠... 说明一下啊,都导不全..
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#14

帖子 skyx » 2007-10-30 0:54

zhan 写了:怎么弄的,老鼠... 说明一下啊,都导不全..
在老blog中设定一页显示所有,然后再导就会是全的。

死耗子。
no security measure is worth anything if an attacker has physical access to the machine
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#15

帖子 zhan » 2007-10-30 1:38

看到了,写在 blog 里了,呵呵,确实很聪明
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
回复