唠叨下微软的Live.com

微软对自己之前的IM 、Email 、Spaces 等服务进行了整合,称为Live 战略升级,这本无可厚非,不过因我未及时响应其升级行动,把我长时间未登录的hotmail 邮箱中的几百封邮件全部清空,我可就要发发牢骚了。 放弃hotmail ,是因为有了gmail ,好处就不在这讨论了,但msn messenger 还在继续使用,大部分联系人还在这上面,只不过登录的邮件不是hotmail 罢了,而是gmail 的。在hotmail 中没有找到自动邮件回复功能,也没有找到自动邮件转发功能,今天登录进去,告诉我可以免费升级到功能更强大的live 邮箱,满怀希望的开始尝试,以上功能依然没有。...

微软对自己之前的IMEmailSpaces 等服务进行了整合,称为Live 战略升级,这本无可厚非,不过因我未及时响应其升级行动,把我长时间未登录的hotmail 邮箱中的几百封邮件全部清空,我可就要发发牢骚了。

放弃hotmail ,是因为有了gmail ,好处就不在这讨论了,但msn messenger 还在继续使用,大部分联系人还在这上面,只不过登录的邮件不是hotmail 罢了,而是gmail 的。在hotmail 中没有找到自动邮件回复功能,也没有找到自动邮件转发功能,今天登录进去,告诉我可以免费升级到功能更强大的live 邮箱,满怀希望的开始尝试,以上功能依然没有。

我这一抱怨就收不住了,又想起前段时间帮朋友迁移blog,从msn spaces 到mt ,但是发现无法将space 的所有日志导出,rss只包含了最近20条。 

微软的live 战略升级,从某种程度来说是一种受迫性竞争的结果,观察其调整的过程以及域名的混乱,就能看出其进程的痛苦,并且还将延续下去。 

说了这么多微软的坏话,说点好听的吧。新版msn spaces 提供的rss 订阅模块不错,虽然未能与本地发布的日志整合到一起进行显示(同时,你的联系人也无法通过messenger获得你的space 更新通知),但也多了一种额外的选择。我不在msn spaces 写日志,但可以配置一个到aiview.com 的rss 订阅,这样就可以在我的spaces 上显示aiview.com 的文章列表。

msn_spaces.jpg

importing rss feed from msn spaces to movable type

Yueyue is migrating her blog from msn spaces to movable type . It's a real...

Yueyue is migrating her blog from msn spaces to movable type . It's a real difficult thing. Msn spaces have a limited number of post in the rss feed. Yueyue didn't find any option to overcome this limitation. So it's difficult to have the entire rss feed for importing. Here's a discussion(Chinese) on this issue and gave a way: Get the rss feed then remove the posts in this feed, then get the rss feed again and plus to previous feed, then remove... untill get the entire feed. It works, but really takes time if you have a long list. Anyhow, you would have it! We go to Movable Type.

MT builds in import/export feature but it only works on his own format, rss x.0 is not supported yet. We can not import the msn rss feed directly. I had a solution for it. I write a macro file for UltraEdit that read a msn rss feed file and convert it to MT import/export format. After the convert ion, you could save the output as a new file for importing use.

AUTHOR, ALLOW COMMENTS, CONVERT BREAKS and ALLOW PINGS are set default value, you could change them before your importing. DATE might not match your requirement if you have different timezone settings between msn spaces and movable type. Another point, in this case the same charset setting(UTF-8 here) is taken for both side movable type and msn spaces. If you have different setting between them, must do additional charset convertion for the feed file. this could be done within UltraEdit. Unfortunaly some convertion only available in UltraEdit menu but not in Macro. So we have to do it manually.

Output example: 

AUTHOR: #authorname          
TITLE: importing rss feed from msn spaces to movable type
ALLOW COMMENTS: 1            
CONVERT BREAKS: 1            
ALLOW PINGS: 1               
PRIMARY CATEGORY: essay      
DATE: 11/23/2006 03:42:07    
-----                        
BODY:                        
<p>Yueyue is migrating her blog from ...
-----                        
--------                     

UltraEdit tool is necessary for running this macro file. The macro could be used on migrating other rss 2.0 feed  to movable type with little change.

msn_feed2mt.mac

InsertMode
ColumnModeOff
HexOff
UnixReOff
Top
Find RegExp "<generator>Microsoft Spaces v[0-9.]+</generator>"
IfNotFound
ExitMacro
EndIf
Top
Find RegExp "^n"
Replace All ""
Find RegExp "<^?xml*</cf:listinfo>"
Replace All ""
Find RegExp "<item><title>Photo Album:*</item>"
Replace All ""
Find RegExp "<item><title>Custom List:*</item>"
Replace All ""
Find RegExp "<item><title>Music List:*</item>"
Replace All ""
Find RegExp "<item><title>Blog List:*</item>"
Replace All ""
Find RegExp "</channel></rss>"
Replace All ""
Find RegExp "<link>*</link>"
Replace All ""
Find RegExp "<guid*</guid>"
Replace All ""
Find RegExp "<comments>*</comments>"
Replace All ""
Find RegExp "<slash:comments>*</slash:comments>"
Replace All ""
Find RegExp "<msn:type>*</msn:type>"
Replace All ""
Find RegExp "<live:type>*</live:type>"
Replace All ""
Find RegExp "<live:typelabel>*</live:typelabel>"
Replace All ""
Find RegExp "<dcterms:modified>*</dcterms:modified>"
Replace All ""
Find "<item>"
Replace All ""
Find "</item>"
Replace All ""
Find "&lt;"
Replace All "<"
Find "&gt;"
Replace All ">"
Find RegExp "<title>^(*^)</title><description>^(*^)</description><category>^(*^)</category><pubDate>^(*^)</pubDate>"
Replace All "^nAUTHOR: #authorname^nTITLE: ^1^nALLOW COMMENTS: 1^nCONVERT BREAKS: 1^nALLOW PINGS: 1^nPRIMARY CATEGORY: ^3^nDATE: ^4^n-----^nBODY: ^n^2^n-----^n--------"
Find RegExp "%DATE: *, ^([0-9]+^) ^([a-zA-Z]+^) ^([0-9]+^) ^(*^) GMT$"
Replace All "DATE: ^2/^1/^3 ^4"
Find RegExp "%DATE: Jan*/"
Replace All "DATE: 01/"
Find RegExp "%DATE: Feb*/"
Replace All "DATE: 02"
Find RegExp "%DATE: Mar*/"
Replace All "DATE: 03/"
Find RegExp "%DATE: Apr*/"
Replace All "DATE: 04/"
Find RegExp "%DATE: May/"
Replace All "DATE: 05/"
Find RegExp "%DATE: Jun*/"
Replace All "DATE: 06/"
Find RegExp "%DATE: Jul*/"
Replace All "DATE: 07/"
Find RegExp "%DATE: Aug*/"
Replace All "DATE: 08/"
Find RegExp "%DATE: Sep*/"
Replace All "DATE: 09/"
Find RegExp "%DATE: Oct*/"
Replace All "DATE: 10/"
Find RegExp "%DATE: Nov*/"
Replace All "DATE: 11/"
Find RegExp "%DATE: Dec*/"
Replace All "DATE: 12/" 

For getting rss feed on msn spaces, it needs to turn the option Syndicate this space On within msn spaces setting.

Yueyue have another place blogcn need to migrate. The rss feed from blogcn is more clear than msn spaces. But it's in GB2312. I made changes on the macro file as below that works for blogcn's rss feed. Following step must be taken after the macro process: File -> Conversions -> ASCII to UTF-8 (Unicode Editing), then save. Or you have other way to do the charset convertion.

InsertMode
ColumnModeOff
HexOff
DosToUnix
UnixReOff
Top
Find RegExp "<rss version="
IfNotFound
ExitMacro
EndIf
Top
Find RegExp "^p"
Replace All ""
Find RegExp "<^?xml*</dc:language>"
Replace All ""
Find RegExp "</channel></rss>"
Replace All ""
Find RegExp "<link>*</link>"
Replace All ""
Find RegExp "<guid*</guid>"
Replace All ""
Find RegExp "<comments>*</comments>"
Replace All ""
Find "<item>"
Replace All ""
Find "</item>"
Replace All ""
Find RegExp "<author>^(*^)</author>*<title><!^[CDATA^[^(*^)]]></title>*<pubDate>^(*^)</pubDate>*<description>*<!^[CDATA^[^(*^)]]>*</description>"
Replace All "^nAUTHOR: ^1^nTITLE: ^2^nALLOW COMMENTS: 1^nCONVERT BREAKS: 1^nALLOW PINGS: 1^nPRIMARY CATEGORY: #blogcn^nDATE: ^3^n-----^nBODY: ^n^4^n-----^n--------"
Find RegExp "%DATE: ^([0-9]+^)-^([0-9]+^)-^([0-9]+^) ^(*^)$"
Replace All "DATE: ^2/^3/^1 ^4"

mail.png


标签订阅|Tag Subscription

If you use an RSS reader, you can subscribe to a feed of all future entries tagged 'msn spaces'. [What is this?]

Subscribe to feed Subscribe to feed

最近更新|Recent Entries

不定期更新|Handy Entries

其它标签|Other Tags

分类栏目|Categories

按月归档|By Month

2008
11
10
07
05
04
03
02
01
2007
12
10
07
06
05
04
03
02
01
2006
12
11
10
09
08
07
06
05
04
03
02
01
2005
11
10
09
08
07
04
03
2004
12
11
10
09
08
07
06
05
04
03
02
01
2003
12
10
09
08
06
2002
09
08
04
03
02
2001
12
09
07
06
05

站内链接|Site Links

Powered by
Movable Type 3.34