博客推广最好方法:收藏到网摘的代码
http://www.itjxue.com 2015-07-29 22:07 来源:未知 点击次数:
博客推广最好方法:收藏到网摘的代码。所谓“网摘”(国外叫“书签”),就是大家伙经常可以看到的,文章下方一排图标,点击其中的图标就能将文章收录到你所使用的网络书签中。
听说网摘可以增加博客的访问量,所以现在正在给博客正文加上网摘,本来以为加网摘代码是一件轻而易举的事,没想到还挺麻烦,关键是网摘的代码难以收集。
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 )
<ahref="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> 添加到百度搜藏</SPAN></a>4、名称:Poco收藏(share.poco.cn)
<ahref="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)
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/image/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>