Import del.icio.us bookmark to sa.bros.us

English version
del.icio.us 是首屈一指的网络书签,唯一的不爽就是不支持中文查找,这可是个大问题。365key可以,可惜不够简洁。好在 sf.net 上有一个开源的 bookmarks online http://sourceforge.net/projects/sabrosus/ 西班牙人写的,所以使用了utf-8,结果可以支持中文搜索,bug不少不过注意点没什么问题。现在的问题是原来有很多在365key和delicious上的书签,好几百,手工转起来太麻烦,要是有个自动导入程序就好了。当然sf上有一个类似功能的程序 http://sourceforge.net/projects/dubious 不过一则这东西是c#写的,相信还是有人不用windows的,二则是这个东西根本就不能正常工作,我猜要么是del.icio.us在dubious出来后改过格式,要么是这个东西当初根本就没有做出来。于是我就趁着五一长假,花了半天时间自己写了个导入程序(下载见附件),使用mysql php实现的,找了一个现成的ajax上传功能(也赶赶时髦 :P)
首先把365key导出成firefox格式的书签,然后导入到del.icio.us,再然后使用delicio的导出功能导出成xml,使用浏览器 ( 经过测试opera保存的htm格式不对,请使用firefox保存,另外ie未经测试) 的页面另存为htm文件。注意:导出时把
include my tags
include my extended descriptions
选上,因为在程序里我是从<dd>标签里提取tags,这样可以忽略delicious的system类的tags。
sa.bros.us升级到1.5,记得打上 http://sourceforge.net/tracker/?group_id=143603&atid=756626 中的补丁
然后把我的附件解压上传到你自己网站的sa.bros.us目录,import.php要和sa.bros.us的index.php同级,确保upload目录为php可写。
开浏览器登录你的sa.bros.us,然后浏览 http://url/of/your/sabrosus/importDelIcioUs.php 按照提示操作就ok了


Download the http://www.kylinx.net/files/import060505.tar.bz2 , and make sure the upload directory is writeable by PHP

Uncompress and upload to your server, where your sa.bros.us localed

Use firefox to login your del.icio.us and export your bookmark at http://del.icio.us/settings/yourname/export. Do choose
include my tags
include my extended descriptions then use File--SavePageAs to save bookmark

login your sa.bros.us, then go to http://url/of/your/sabrosus/importDelIcioUs.php and follow the prompt


This program has been tested on sa.bros.us1.5 and del.icio.us at 2006-05-05, and you must use firefox to export your del.icio.us bookmark.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值