首页 > 运营 > 优化推广 > 正文

博客推广最好方法:收藏到网摘的代码

2020-10-03 14:47:46
字体:
来源:转载
供稿:网友
     博客推广最好方法:收藏到网摘的代码。所谓“网摘”(国外叫“书签”),就是大家伙经常可以看到的,文章下方一排图标,点击其中的图标就能将文章收录到你所使用的网络书签中。

 

       听说网摘可以增加博客的访问量,所以现在正在给博客正文加上网摘,本来以为加网摘代码是一件轻而易举的事,没想到还挺麻烦,关键是网摘的代码难以收集。

       z-blog官方论坛提供的插件,js里面的网摘代码,由于时间长,有的网摘代码已经失效,而且部分较为流行网摘并没有收录进来。在网上搜索,搜到的代码也是年久失修,不符合要求。

       于是只好自己去各网摘的官方网站去收集,真是比较辛苦啊,不明白这些“网摘代码”为什么要隐藏这么深,想来网友也会相同需求,特共享出来,省去大家伙重复劳动。

       这里给出常见服务比较好的网摘代码,如果能找到其官方代码出处我将贴出地址,以防止网摘代码有变化时,能够及时调整。正在收集中,代码不断增加 ……

1、名称:美味书签(del.icio.us)

<a 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>

 

2、名称:新浪vivi (vivi.sina.com.cn )

<a
href="javascript:d=document;t=d.selection?(d.selection.type!='none'?d.selection.createrange
().text:''):(d.getselection?d.getselection():'');void(vivi=window.open('http://vivi.sina.com.cn/collect/icollect.php?pid=2008&title='+escape(d.title)+'&url='+escape(d.location.href)+'&desc='+escape(t),'vivi','scrollbars=no,width=480,height=480,left=75,top=20,status=no,resizable=yes'));vivi.focus();" title="收藏的网页将被永久地保存到爱问vivi收藏夹http://vivi.sina.com.cn"><img src=/files/allimg/090612/2209310.gif border=0></a>

 

3、名称:百度收藏(cang.baidu.com)

<a href="javascript:window.open('http://cang.baidu.com/do/add?it='+encodeuricomponent(document.title.substring(0,76))+'&iu='+encodeuricomponent(location.href)+'&fr=ien#nw=1','_blank','scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes'); void 0" style="color:#000000;text-decoration:none;font-size:12px;font-weight:normal"><span style="padding-right: 5px; padding-left: 5px; font-size: 12px; padding-bottom: 0px; margin-left: 10px; cursor: pointer; padding-top: 5px"><img alt=添加到百度搜藏 src="http://cang.baidu.com/-/remote/fav1.jpg" align=absmiddle border=0>&nbsp;添加到百度搜藏</span></a>

4、名称:poco收藏(share.poco.cn)

<a
href="javascript:d=document;t=d.selection?(d.selection.type!='none'?d.selection.createrange
().text:''):(d.getselection?d.getselection():'');void(vivi=window.open('http://my.poco.cn/fav/storeit.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'_blank','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));" title="收藏到poco 网摘http://share.poco.cn"><img src=/files/allimg/090612/2209311.gif border=0></a>

5、名称:365key(www.365key.com)

<a href="javascript:d=document;t=d.selection?(d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();" title="功能强大的网络收藏夹,一秒钟操作就可以轻松实现保存带来的价值、分享带来的快乐">收藏此页到<font color=darkorchid>365k<font color="#57c200">e</font>y</font></a>


6、名称:和讯网摘(bookmark.hexun.com)

<a href="javascript:t=document.title;u=location.href;e=document.selection?(document.selection.type!='none'?document.selection.createrange().text:''):(document.getselection?document.getselection():'');void(open('http://bookmark.hexun.com/post.aspx?title='+escape(t)+'&url='+escape(u)+'&excerpt='+escape(e),'hexunbookmark','scrollbars=no,width=600,height=450,left=80,top=80,status=no,resizable=yes'));">添加到和讯网摘</a>

7、名称:天极网摘(bookmark.hexun.com)

<a href="javascript:d=document;t=d.selection?(d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(yesky=window.open('http://hot.yesky.com/dp.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&st=2','_blank','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();"title="推荐到天极网摘 http://hot.my.yesky.com [鼠标划选本文摘要,然后点击本图片]"><img src="http://hot.my.yesky.com/upload/200903/souchang1.gif" border=0></a>

8、名称:黑米书签(www.hemidemi.com)

<a href="javascript:desc='';via='';if(document.referrer)via=document.referrer;if(typeof(_ref)!='undefined')via=_ref;if(window.getselection)desc=window.getselection();if(document.getselection)desc=document.getselection();if(document.selection)desc=document.selection.createrange().text;void(open('http://www.hemidemi.com/user_bookmark/new?title='+encodeuricomponent(document.title)+'&url='+encodeuricomponent(location.href)+'&description='+encodeuricomponent(desc)+'&via='+encodeuricomponent(via)));"><img src="http://www.hemidemi.com/sticker/user/www.braverobbin.com.gif" border="0" alt="" /></a>

9、名称:qq书签(shuqian.qq.com)

<a href="javascript:window.open('http://shuqian.qq.com/post?from=3&title='+encodeuricomponent(document.title)+'&uri='+encodeuricomponent(document.location.href)+'&jumpback=2&noui=1','favit','width=930,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)" style="text-decoration:none;color:#155da5;display:block;background:url('http://shuqian.qq.com/img/add.gif') no-repeat 0px 0px;height:23px;width:116px;padding:2px 2px 0px 20px;font-size:12px;">收藏到qq书签</a>

10、名称:雅虎收藏(myweb.cn.yahoo.com)

<a href="#" onclick="window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeuricomponent(document.location.href)+'&title='+encodeuricomponent(document.title), 'yahoo','scrollbars=yes,width=780,height=550,left=80,top=80,status=yes,resizable=yes');"><img src="http://cn.yimg.com/i/fav/add2myweb.gif" border=0>添加到雅虎收藏</a><sup>+</sup>

11、名称:奇客diglog(www.diglog.com)

<a title="推荐到diglog" href="javascript://" onclick="javascript:d=document;t=d.selection?(d.selection.type!='none'?d.selection.createrange().text:''):(d.getselection?d.getselection():'');void(keyit=window.open('http://www.diglog.com/submit.aspx?title='+escape(d.title)+'&url='+escape(d.location.href)+'&description='+escape(t),'keyit','resizable,location,menubar,toolbar,scrollbars,status'));keyit.focus();"><img src="http://img.diglog.com/images/diglog_thrumb_1.gif" border="0"></a>

12、名称:diigo(www.diigo.com)

<a href="#" onclick="var s=document.createelement('script');s.type='text/javascript';s.src='http://www.diigo.com/javascripts/webtoolbar/diigolet_b_h_b.js';document.body.appendchild(s);"><img style="border:none" alt="diigo it" src="http://www.diigo.com/images/ii_blue.gif" /></a>

13、名称:饭否(www.fanfou.com)

<a href="javascript:var d=document,w=window,f='http://fanfou.com/share',l=d.location,e=encodeuricomponent,p='?u='+e(l.href)+'?t='+e(d.title)+'?d='+e(w.getselection?w.getselection().tostring():d.getselection?d.getselection():d.selection.createrange().text)+'?s=bl';if(!w.open(f+'r'+p,'sharer','toolbar=0,status=0,width=600,height=400')){l.href=f+'.new'+p;}void(0)"><img src="http://static.fanfou.com/img/icon.gif" alt="分享到饭否" /></a>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表