数据加载中……
快速将文章添加到Del.icio.us

我们知道.Del.icio.us的添加网摘方式比较麻烦,快速添加网摘的工具又和一些多页面浏览器不兼容(至少我用GreenBrowser测试是不行的).如果发帖人在帖子后面加入如下代码就会出现一个"Savethispage"的链接,方便别人添加到Del.icio.us网摘:

< href  ="http://del.icio.us/post"  onclick ="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;" >    Save This Page   </ a >   

当然,如果你是 WordPress的程序,可以在后台Presentation -> Theme Editor -> Main Index Template,在"<p class="postmetadata">" 语句后加入:

< href ="http://del.icio.us/post"  onclick ="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(<?php the_permalink() ?>)+'&title='+encodeURIComponent(<?php the_title() ?>),'delicious', 'toolbar=no,width=700,height=400'); return false;" >  Save This Page </ a >

如果你的Blog支持MovableType,可以在个人模板中找</MTIfAllowComments>,加入代码:

< href ="http://del.icio.us/post"  onclick ="window.open('http://del.icio.us/post?v=4&noui&jump=close&url='+encodeURIComponent(<$MTEntryPermalink$>)+'&title='+encodeURIComponent(<$MTEntryTitle$>),'delicious', 'toolbar=no,width=700,height=400'); return false;" >  Save This Page </ a >

效果就在这里:


Save This Page

Technorati :
Del.icio.us :
Ice Rocket :
Flickr :

Powered by Zoundry

posted on 2006-08-22 17:40 lester 阅读(816) 评论(2)  编辑 收藏 引用 所属分类: Web 2.0

评论

# re: 快速将文章添加到Del.icio.us 2006-08-24 18:12 游子

好东东
  回复  更多评论    

# re: 快速将文章添加到Del.icio.us 2006-08-25 08:59 lester

@游子
谢谢喽
  回复  更多评论    
只有注册用户登录后才能发表评论。