Live Space Mover
A python script for importing blog entries from live space to WordPress.
With Google blog converter you may also be able to move from live space to blogger/TypePad/Moveable Type/Live Journal blog. (See note 2 if you want to use this script with Google blog converter).
Tested on Python 2.5/2.6 and Windows XP/Ubuntu Linux.
Based on the wonderful HTML parser library BeautifulSoup.
Hosted on Google Code, Source code svn is
svn checkout http://live-space-mover.googlecode.com/svn/trunk/ live-space-mover
If there are any problems when using this script, feel free to contact me. 
User Guide
- Install Python runtime and Beautiful Soup. There are 2 combinations tested by me:
- Python Runtime 2.5.2 and Beautiful Soup 3.0.6
- Python Runtime 2.5.1 and Beautiful Soup 3.0.4 and a small fix in note 1
Place the file BeautifulSoup.py in the same directory of live-space-mover.py, or install it into Python runtime by yourself
- Download the newest release zip from the hosted page, extract it. (Older versions may become unusable because of the HTML changes of Live Space).
- Change your live space settings
- Make sure it is open to anyone (not only to your contacts)
- Set time zone to the same with your wordpress blog
- Set date format to yyyy/mm/dd, or mm/dd/yyyy. This probably depends on the locale setting of your system or browser, the point is to make the “YEAR” appear in your date. If the program fails and complains about date parsing, try to use the option -t to specify date time format. For example, the time on my space is shown like “9:45 PM”, but if your time is shown like “9:45:15 PM”, you may want to use a command line like below
python live-space-mover.py -s http://yourspaceid.spaces.live.com/ -t "%m/%d/%Y %I:%M:%S %p"
An introduction for the time format parameters are available here.
- Set “Blog entry date display” to “Show the blog entry date in the header”
- From some users’ feedback, I noticed themes of live space differ slightly in structure, which may lead to failure of this program. So please change your live space theme to “Journey” (the same as my experiment space).
- Run the live-space-mover.py script. In Windows, open the command line (win+R, enter “cmd” and return), change to the directory (use “c:”/”d:” to change disk, use “cd” command to change directory, please google it for help if need) of live-space-mover.py, run command like this
python live-space-mover.py -s http://yourspaceid.spaces.live.com/
Replace the example parameter with your own. This will generate an XML file named “export_xxxxx.xml” in the same directory of this script, which is in WordPress export file format. - Use the import function in WordPress to import the XML file generated in the last step, remember to choose “WordPress” type in the import page, rather than “LiveJournal” or something else.
Notes
- A known limitation: can’t fetch comments after the first page!
- If you met an “UnicodeDecodeError”, that’s probably because your live space contains Italian or other languages. There is a bug in Python 2.5, you need to fix it. Yes, fix Python library by your own hands :P
If you installed Python to it’s default path on Windows, what you need to do is to change the file C:\Python25\Lib\sgmlib.py, in line 394
if not 0 <= n <= 255:
should be changed to
if not 0 <= n <= 127:
That’s all, I learned this from here - If you want to use Google blog converter with this script, the recommended way is to open a new blog on WordPress.com or any other wordpress powered BSP, import the XML generated by this script and export a new XML with the built-in exporting function of WordPress, then feed Google blog converter with this new XML, because I can’t make sure XML exported by this script will meet Google blog converter’s requirement. Another thing to remember is you should change timezone of every place to UTC, including live space, wordpress blog, and the machine used to run this script. Thank 1nm for sharing experiences about Google blog converter.
- This mover heavily depends on some very weird and sucking patterns of HTML and JavaScript codes in live space. So it may become unusable at any time….in that case please inform me
- As I studied, the metaWeblog API in WordPress seems not to support comments? WordPress supports other two kinds of XML-RPC interfaces, too, blogger and MovableType. The blogger API has been updated to GData, and the old API looks not supporting comments, too. The documentation of MovableType API is so complex….I can’t understand yet.So maybe it would be much easier to write a mover with PHP which can handle comments.
- This script may generate log file and cache file in the working directory. If you met some errors, it would be very helpful to send the log file and error message to me. Thank you.
- You can use command
python live-space-mover.py -help
to check other options of this script - Since version 1.0, the suggested usage method is to export an xml file then import it. The directly posting method with MetaWeblog interface has been deprecated but left in the release package for anybody’s needs.
Change Log
* Version 1.8
- CHG: Catch up with changes of live space
* Version 1.7.6
- CHG: Modify exported date format to be compatible with WordPress2Blogger converter.
* Version 1.7.5
- BUG: Handled the weird format of comment date box
* Version 1.7.4
- BUG: Fixed the comments order problem reported by Sun Yue
* Version 1.7.3
- BUG: Fixed the problem when comment author name contains emoticons
* Version 1.7.2
- BUG: Fixed the pubDate of post item for WP 2.7
* Version 1.7.1
- BUG: Fixed the comment author missing
* Version 1.7
- CHG: Catch up with changes of live space in Dec 2008
* Version 1.6
- CHG: Catch up with changes of Live Space
- BUG: Fix the bug “can’t scan domain name with hyphen when comments are more than 20″
* Version 1.5
- CHG: Catch up with changes of Live Space
- BUG: Escaped special chars for XML
- NEW: Improved error logging when parsing error
* Version 1.4
- BUG: Converted unicode numbers (in category name, entry title and comment author) to unicode string. The bug of duplicate categories in WP 2.3 was solved by this.
* Version 1.3
- NEW: Support category exporting by setting header field ‘User-Agent’ to Firefox
* Version 1.2
- Catch up with some changes of live space
* Version 1.1
- BUG: Error when title is empty
- NEW: Add cache and resume ability
* Version 1.0
- Use XML file and import function of WordPress, instead of MetaWeblog and post
- Change some fetching codes according to the code changes of live space
- Fixed a bug of extracting email address of comment author
* Version 0.93
- Add Donate Link
* Version 0.92
- Fix some bugs
* Version 0.9
- NEW: Support moving comments. Add file “my-wp-comments-post.php” for posting comments
- NEW: Add running modes, for only moving posts/comments, or both
* Version 0.2
- BUG: Error when reading live space in Italian or other languages. Actually it’s a bug of Python 2.5.
- BUG: Doesn’t jump out loop after moving the oldest entry.
- NEW: Support date format pattern specifying, added -t option
- NEW: Support starting from a specified entry, added -f option
* Version 0.1
- NEW: Starting, used to move my own live space
Thanks
Great Thanks for Michele Nasti and Oliver Diaz Herrera, they used this script, reported bugs to me and helped me to solve them. I’m not a patient guy and I don’t have many blogs to test this script too much. It’s them, the nice users, who made this script really usable.
It’s so wonderful to cooperate with guys all around the world ;-p
94 Comments for this entry
88 Trackbacks / Pingbacks for this entry
-
Moving My Blog from Live Spaces to Wordpress « Marc D Anderson’s Blog
January 7th, 2009 on 10:27 am[...] certainly doesn’t offer an export utility like many others do.) Someone named Wei Wei has written and posted a Python script that will export your blog to an XML file which can be uploaded to WordPress. The code is over at [...]
-
Live Spaces-ről WordPress-re « M@D_FiSt went mad…
January 7th, 2009 on 8:27 pm[...] Az eredeti változat a készítő, broom blogján található: http://b2.broom9.com/?page_id=519 [...]
-
清風徐来,驚涛拍岸 » 折腾了两天的WordPress
January 9th, 2009 on 4:52 pm[...] 首先是导入旧数据。从Google的Blogger导入到WordPress很容易,在WordPress的Tools的Import里面有Blogger选项,按照指示做,很快就成功了。Live Spaces就有点麻烦了。WordPress没有提供直接导入的工具(是不是开源的团体都喜欢和Microsoft对着干啊),幸好有个小妹妹(?!)做了个工具(Live Space Mover),还是Python的,可以把Live Spaces的文章导出来做成WordPress的XML格式,然后用Tools的Import的WordPress选项,终于给导过去了。 [...]
-
BLOG搬迁终于完成了! - Footprints of Zhu Naisong(Vinx Zhu) - Past->Furture
March 30th, 2009 on 11:07 am[...] BLOGSPOT非常简单,直接通过wordpress就可以搞定,包括所有的评论都能进来。MSN SPACE就复杂一些,需要用到一个工具,broom写的live space搬移脚本,它还用python写脚本用到了BeautifulSoup,这是个HTML解析库。 [...]
-
博客搬家:从Windows Live Space到Wordpress(图解) « 丽江行
March 30th, 2009 on 3:47 pm[...] 独立开博,在Hostmonster上用WordPress上搭建完自个的空间,第一件事就是把以前发布在Windows Live Space上的博客导进来。其中,下载WindowsLiveSpace的全部文章和评论所用的Python脚本,来自Broom,剩下的一些优化工作,比如删除垃圾评论,用了一些简单的SQL脚本。从WindowsLiveSpace搬家,向来最为麻烦,以下把刚做的功课记下来,鼓励大伙及时退出WindowsLiveSpace。我06年开博,至今在WindowsLiveSpace上积攒下近六百篇博文,所谓积重难返路径依赖,这次全部顺畅导出,兀的不高兴死我也么哥。 [...]
-
Hello world! « pphou
March 31st, 2009 on 5:23 am[...] 备份并感谢一下这个MSN LIVE SPACE的搬迁工具,http://b2.broom9.com/?page_id=519 [...]
-
博客搬家 « OnlyLonely & Marshall’s
May 5th, 2009 on 11:44 pm[...] Space的搬迁看起来很麻烦。需要下一个Python的脚本叫Live Space Mover,自己再下载依赖库(Python的HTML解析库Beautiful Soup),配置好了运行。另外还要把Space给设置好。作者是THU一牛人。网上也有其他人写的中文使用教程。除了调用命令行出了几个小问题自己解决意外,抓取Space数据,然后再导入WordPress都异常的顺利,时间、编码、内容全都没有问题,唯一的瑕疵就是每篇文章都会建一个新的分类。Space导入了大概200篇日志。 [...]
-
blog搬家了 « Tylor C J
May 8th, 2009 on 6:29 am[...] 用了一个大侠写的python脚本把以前live space上面的blog都export出来, 然后灌到wordpress, 就这样, Blog搬家了! [...]
-
A little of miscellaneous by Ammii* » Import & Export Blog ระหว่าง Wordpress & Window Live Space
June 19th, 2009 on 12:28 am[...] แต่สุดท้ายก็ต้องขอขอบคุณ Mr. weiwei [...]
-
A little of miscellaneous by Ammii* » Export Blog จาก Window Live Space และ Import Blog สู่ Wordpress!!!
June 19th, 2009 on 1:00 am[...] แต่สุดท้ายก็ต้องขอขอบคุณ Mr. weiwei [...]
-
导出Live Spaces日志到Wordpress « 黛西@FeralCat
June 22nd, 2009 on 5:48 am[...] 【broom’s blog】:英文,那孩子的博客,有Live Space Mover所有的更新历史。 【Cogito, ergo sum】:英文,附图片说明。 [...]
-
MSN space被封 从Windows Live Space搬家到Wordpress图文教程 - 无聊小博
June 23rd, 2009 on 9:17 pm[...] Broom测 试了两种组合,Python 2.5.2+Beautiful Soup 3.0.6和Python 2.5.1+Beautiful Soup 3.0.4。但后面的低版本组合需要打些补丁,我们就不必麻烦了,我是直接用的高版本。Python 2.5.2的官方下载地址在: [...]
-
导出Live Spaces日志到Wordpress | 黛西@FeralCat
June 26th, 2009 on 7:23 am[...] 【broom’s blog】:英文,那孩子的博客,有Live Space Mover所有的更新历史。 【Cogito, ergo sum】:英文,附图片说明。 [...]
-
Tra gli archivi del vecchio blog - Piovra
September 21st, 2009 on 9:32 pm[...] deciso che importerò i suddetti contenuti qui, anche se non tramite il famigerato programma ‘Live Space Mover’. Purtroppo il suddetto programma non lavora se nel feed del blog sono presenti più di un [...]
-
Windows Live Space转移到Wordpress平台 | 有所成
September 29th, 2009 on 8:36 am[...] 或者我们可以通过一些工具,将Live Space里的所有条目整理成符合WordPress标准的RSS文件再倒入到WordPress中。通过搜索,我找到了这篇博文,比较详细的介绍了利用live-space-mover将Live Space的旧闻导出成符合格式的RSS文件的步骤。再加上这个工具原创者的博客,可以很容易搬家。 [...]
-
I Windows Live Spaces e il calvario di chi vorrebbe fare un backup - Piovra
October 5th, 2009 on 8:20 pm[...] sia dei contenuti che dei commenti del proprio Spaces. Il suddetto programma si chiama Live Space Mover. Tuttavia questo tool con me ha avuto delle difficoltà [...]
-
将Live Space日志导入为WordPress日志 « PARADOX
October 10th, 2009 on 10:37 am[...] Live Space Mover – User Guide [...]
-
My Very First WordPress Blog Post | Aidan Finn, MVP
November 25th, 2009 on 2:36 am[...] really update all of the URL’s. Getting the content over was a nightmare. I used the Live Space Mover to get the content out of Spaces. MS does their best to lock you in on Live. The [...]
-
-
Sposta il tuo Windows Live Space su Blogger | Provatoo.NET
December 27th, 2009 on 2:31 pm[...] Chiediamo aiuto a LIVE SPACE MOVER [...]
-
Moving blog from Live Spaces to WordPress « Martin Kunc's blog
December 31st, 2009 on 11:04 pm[...] script called Live Spaces Mover and hosted on Google Code. Its author has also personal site where he writes about using his script and describes a [...]
-
转移windows live spaces到WordPress « cc9007
January 2nd, 2010 on 10:50 am[...] 或者我们可以通过一些工具,将Live Space里的所有条目整理成符合WordPress标准的RSS文件再倒入到WordPress中。通过搜索,我找到了这篇博文,比较详细的介绍了利用live-space-mover将Live Space的旧闻导出成符合格式的RSS文件的步骤。再加上这个工具原创者的博客,可以很容易搬家。 [...]
-
从Live spaces搬家到Wordpress 2.9.1 « Yann de Ciel . 殷
January 9th, 2010 on 11:39 pm[...] 按照WeiWei大侠的说法做,基本山操作没有什么问题,导出到导入都非常完美,大大拜谢一下。 [...]
-
Moving to Wordpress « Sagar Sunkle's Blog
January 10th, 2010 on 7:34 pm[...] order to move by blog from Live Spaces, I used the Live Space Mover python script. It is mentioned on the WordPress site as well and did a quite nice job of moving my [...]
-
-
J’arrive « La pensive
January 19th, 2010 on 7:08 am[...] Information inutile à mon avis car j’aime l’anonymat. Je me suis référé a un site web pour faire migrer ce blog MSN vers WordPress. Très simple pour les personnes ayant une base en [...]
-
Migration is good… « Silverduner’s Nest
January 27th, 2010 on 11:41 am[...] weiwei 的 Live Space Mover 。 [...]
-
Grazie a Musikele e Wei Wei! « Noemi's Blog
January 29th, 2010 on 5:37 pm[...] Wei (Broom’s Blog) [...]
-
杜小白之家 » 从网易,MSN,QQ处转日志到Wordpress
February 9th, 2010 on 8:59 pm[...] 但这里有一点要注意的就是在运行Python修改电脑的环境参数时写路径一定要注意大小写,否则运行不了。要注意的是,像该日志前面所说的:Broom测试了两种组合,Python 2.5.2+Beautiful Soup 3.0.6和Python 2.5.1+Beautiful Soup 3.0.4。前人走过的路总是值得借鉴的。刚开始下了个Python2.6.4版本的,但是好像用不了,所以要用的话,一定要配对着用。 [...]
-
从live spaces迁移到WordPress
March 5th, 2010 on 3:55 pm[...] 放狗搜了一把,找到了google code上的一个相关项目叫 live-space-mover ,看名字就知道是干啥的啦,简介写道“Move blog entries from live space to WordPress”,是一个Python的脚本,说明在这里。总之很简单。这儿还有一个中文的说明,值得注意的是,作者提到的BeautifulSoup的版本,建议使用作者推荐的,而不是最新版 ^_^。 [...]
-
-
My Life » Blog Archive » 轻松创建自己的个人博客:MSN博客迁移
March 22nd, 2010 on 1:54 pm[...] 在此之前就曾研究过这个问题,发现唯一的解决方案是来自Broom的博客:http://b2.broom9.com/?page_id=519,对此非常感激。在其中,我也遇到了一个小问题,但最后还是非常顺利得将博客从MSN迁移到WordPress。现将步骤再归总如下: [...]
-
Goodbye Live Spaces, Hello WordPress | Sev17
March 25th, 2010 on 8:11 am[...] a native way to export content and comments, however there is an automated Python script called Live Space Mover that worked very well for me. All 85 of my posts including comments were succussefully [...]
-
Rikutou » 博客搬家-Live space 至 Wordpress
March 30th, 2010 on 12:16 am[...] 绝望之际,发现了伟大的Live Space Mover,伟大的weiwei同学解决了所有的问题。其实weiwei同学的方法就是最初在“丽・江行”我发现的(事实上,在weiwei同学的这篇文章下,可以找到“丽・江行”跟帖的身影)方法。只不过最初没有忽略了一些小细节,就导致了不成功。最后寻找到中文的解决方案,来自轻松创建自己的个人博客:MSN博客迁移: [...]
-
老崔关注 » Blog Archive » 正式乔迁新居
April 3rd, 2010 on 10:30 am[...] 顺便推荐一下从MSN到WP的搬家工具,非常好使:Live Space Mover [...]







September 19th, 2008 on 10:43 pm
Thank you soooooooooo much!!!!
I want also tell you that your tool works beautifully also on Mac (not surprisingly, since OSX has an UNIX shell). And I just moved all my posts in 5 minutes!
September 19th, 2008 on 11:08 pm
@Gemma: I got your donation, thank you very much for supporting :)
September 20th, 2008 on 5:05 am
succeed!! thx aaaaaaaaaaaaa lot! u r genius!
October 1st, 2008 on 11:16 am
I finally got it!!!! YEAH!! Thanks so much for this, your are awesome!!!!
October 5th, 2008 on 8:15 am
Problem: python is not recognised as a internal or external command, operable program or batch file
OS: Windows Vista SP1
Python 2.5.2 (although 2.6 is out) as default c:\Python25 and the BeautifulSoup-3.0.6.py in the LiveSpace (user created) folder on desktop (a program config that supposely tested to work)
location of the .py files for live-space-mover.py and BeautifulSoup-3.0.6.py is in the C:\Users\Jamie\Desktop\LiveSpace directory (registered in windows .py = python file?
where next like Shrey (September 12, 2008 @ 8:17 am) i stuck following your instructions above
October 5th, 2008 on 4:03 pm
@Jamie: the path “c:\Python25″ needs to be in the system path (you could google enviroment variables setting on windows).
October 19th, 2008 on 4:58 pm
Hi people!
The interesting name of a site – b2.broom9.com
I yesterday 7 hours
looked in the Internet So I have found your site :)
The interesting site but does not suffice several sections!
However this section is very necessary!
Best wishes for you!
Forgive I is drunk :))
October 23rd, 2008 on 9:41 am
这样下去SPACE可以怎么活啊?
October 23rd, 2008 on 4:08 pm
Would you consider hosting the tool on google app engine (http://appengine.google.com/) so that ordinary users no longer need to install python environment on their own computers, which is not an easy thing for many people?
October 24th, 2008 on 9:51 am
@Betty: thanks, this is exactly what I had been thinking, however I don’t have time to accomplish it yet. Hmm.. maybe I need a schedule
November 10th, 2008 on 2:26 pm
THANK YOU Soooooo much!
I hate MSN spaces and you just let me and my 100s of posts escape…. WordPress rocks!
You’re awesome!
November 21st, 2008 on 1:04 am
There has come winter :(
It became cold and cloudy!
Mood very bad :(
Depression Begins
November 21st, 2008 on 8:55 am
Depression Depression Depression aaaaaaaa
HEEEEELP :( :( :(
I hate winter! I want summer!
November 29th, 2008 on 10:03 pm
I very much love summer :)
Someone very much loves winter :(
I Wish to know whom more :)
For what you love winter?
For what you love summer? Let’s argue :)
January 11th, 2009 on 9:16 am
Works great, thank you!
January 14th, 2009 on 10:33 am
等晚上下载下来试试看
好像步骤很多,看起来挺麻烦的呀.
January 14th, 2009 on 10:39 am
@iiBetTer Should be easy for an IT engineer
January 27th, 2009 on 7:17 pm
Excellent, it worked perfectly (except the flash application imports for embedded video…).
January 30th, 2009 on 4:19 pm
Hi, I’ve tried to do this move using your script. I keep getting errors. I used Python2.5.4 and Beautiful Soup 3.0.6 and got an error message on line 21 of live-space-mover saying
Import Error :no module named Beautiful Soup.
I Also tried the move using Python 3.0 and Beautiful Soup 3.1.0.1. I received an error on line 70 of the live-space-mover saying “raise Exception, can’t parse comment date string” +dateStr.
Can you help me please?
January 30th, 2009 on 7:14 pm
@Onjeinika this script won’t work on Py3.0. For your case about Python 2.5, the reason should be you didn’t put the BeautifulSoup at the right place, make sure the file BeautifulSoup.py is in the same path as live-space-mover.py
February 1st, 2009 on 11:39 am
Hi Broom, thanks for your help. The files are in the same path. The name of the file shows up as BeautifulSoup-3.0.6.tar.gz. Is this the right file? It won’t open on my computer. I feel I am close to this working and don’t want to give up.
February 1st, 2009 on 11:42 am
@Onjeinika that’s a zipped file, you need to unzip it to get the .py file out :)
February 2nd, 2009 on 1:08 pm
Thank you so much for brillant script your help. Everything transferred over beautifully!
February 12th, 2009 on 3:43 pm
moved my blog successfully! thanks very much!
just asking….is there a mover for live spaces photos? XD
February 12th, 2009 on 11:14 pm
@zyw No…it doesn’t seem to be very necessary
February 22nd, 2009 on 7:35 pm
Wei wei 人真好。。
我弄不明白他亲自帮我弄好了
可惜我理解错了。这个只能导到worldpress里,我是要往blogbus里弄。
结果白白麻烦Wei wei 一趟。(*^__^*)
February 23rd, 2009 on 10:29 am
@瞳 不客气 :)
February 28th, 2009 on 1:11 pm
Looks terrifyingly complicated but will give it a go!
March 5th, 2009 on 2:03 pm
你好,在导出live space 的时候还是不懂得怎么操作,我的博客设置也都按照要求该过了,时间显示以及开放范围,但还是不懂怎么导出xml,不知道能不能麻烦你帮我导出下,我的博客地址是http://chaostee.spaces.live.com/
谢谢你了,还有,因为是想导入到blogger里面去,不知道这个xml 格式的文件是否符合要求
March 6th, 2009 on 12:10 am
@chaos 我导出了你的blog了,没有问题
March 6th, 2009 on 5:03 am
I can´t do it!!! in the cmd appear a error message”
File “live-space-mover.py”, line 70
raise Exception, “Can´t parse comment data string ” + datestr
Syntax error: invalid syntax
what do i can do?
March 6th, 2009 on 5:38 am
Help me with it
LINE 232 INFO connectiong to source blog http://spyxochavez.spaces.live.com/
LINE 234 INFO connect successfully, look for 1st Permalink
LINE 564 ERROR Unexpected error
Traceback (most recent call last):
File “live-space-mover.py”, line 562, in
main()
File “live-space-mover.py”, line 475, in main
permalink = find1stPermalink(srcURL)
File “live-space-mover.py”, line 235, in find1stPermalink
soup = BeautifulSoup(page)
File “C:\Archivos de programa\Python25\BeautifulSoup.py”, line 1499, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File “C:\Archivos de programa\Python25\BeautifulSoup.py”, line 1230, in __init__
self._feed(isHTML=isHTML)
File “C:\Archivos de programa\Python25\BeautifulSoup.py”, line 1263, in _feed
self.builder.feed(markup)
File “C:\Archivos de programa\Python25\lib\HTMLParser.py”, line 108, in feed
self.goahead(0)
File “C:\Archivos de programa\Python25\lib\HTMLParser.py”, line 150, in goahead
k = self.parse_endtag(i)
File “C:\Archivos de programa\Python25\lib\HTMLParser.py”, line 314, in parse_endtag
self.error(“bad end tag: %r” % (rawdata[i:j],))
File “C:\Archivos de programa\Python25\lib\HTMLParser.py”, line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParseError: bad end tag: u”", at line 747, column 188
March 6th, 2009 on 8:36 am
broom9 said,
March 6, 2009 @ 12:10 am
@chaos 我导出了你的blog了,没有问题
能不能麻烦你发到我的邮箱呢,或者提供一个下载地址,多谢了
March 9th, 2009 on 10:56 pm
Worpress 2.7 asks for a WXR file. How do I convert the xml to wxr?
March 10th, 2009 on 10:44 am
@Srikanth rename it? WXR means WordPress Extended RSS format and XML generated by Live Space Mover follows this format.
March 10th, 2009 on 2:28 pm
Ok, WordPress imported the xml file. Thanks for your help
March 11th, 2009 on 11:08 am
I don’t know why I cannot get mine
my blog is http://sakula0318.spaces.live.com/
thanks
March 11th, 2009 on 11:03 pm
用1.75版从live space到blogger搬家成功了,来感谢一下。
说几点遇到的问题:
第一,一点奇怪的问题,用-t “%m/%d/%Y %I:%M:%S %p”
指定了格式,导出也很顺利,Google blog converter的wordpress2blogger.sh转换格式的时候报错:
ValueError: time data did not match format: data=2009-03-11 09:10 fmt=%Y-%m-%d %H:%M:%S
用sed -i ‘s/\(\|\)\(.*\)\(\|\)/\1\2:00\3/g’ export.xml
转换成功,解决。
第二,live space mover导出的文件直接转换,在blogger里无法导入。一筹莫展的时候,想到了wordpress.com,新开一个blog,导入,再导出,转换,去blogger导入,成功!
第三,问题又来了,时间不对,看了一下Google blog converter的issues,果然issue 22:
WordPress2Blogger ignoring timezones on posts/comments.
把space的时间改成UTC,再导一遍,发现日志时间变成UTC了,评论时间还是JST(评论的时间抽取是根据系统时间和解析所得XX hours ago来算的?我太不懂python,见笑了),于是把运行live space mover系统的时区也改成UTC,再来一遍,一切OK了。
所以综上,想从live space搬到blogger的同学们,请注意以下2点:
1. 需要一个wordpress的blog来中继一下。
2. 搬家时live space,wordpress,blogger,运行live space mover机器的时区都调到UTC。
最后再感谢一下Wei Wei。
March 12th, 2009 on 10:19 am
@1nm Great! Thank you too :)
March 14th, 2009 on 7:52 pm
非常感觉你提示这个工具
March 16th, 2009 on 10:28 am
hi, try out this tool, i made it with a user interface, easy to use – http://suncan.net/2009/03/09/msn-live-space-export-tool/
March 21st, 2009 on 8:42 pm
Very useful tool. Thank you!
February 20th, 2010 on 5:37 am
Good work man. You saved my day
April 12th, 2010 on 4:48 am
File “live-space-mover.py”, line 70 raise Exception, “Can’t parse comment date string ” + dateStr
OS: Windows XP
BeautifulSoup-3.0.6.tar
python-3.1.2
What might be the problem? Thanks in advance for your help.