网站内容 分享/转贴 到sns 开心.人人.微博...


    1) 第三方插件
        a )bshare.cn   一个强大的网页分享插件,可以将您喜欢的博文、新闻等内容快速分享、转贴到社群网络上。
        网站地址:  http://www.bshare.cn/index
        使用条款:  http://www.bshare.cn/terms
        插件样式可自定义
        问题: bshare窗口是一个div,会被flash的div覆盖!       
         b) http://addthis.org.cn/         
        ...   
    2) sns网站支持的分享功能
        如 人人: http://share.renren.com/share/help/corporation

    3) 网络大人整理  

        http://www.williamlong.info/archives/2072.html

 

代码
<div  align="center">网络达人整理<br/></div>
<script type="text/javascript">
    
//转贴到sns
    document.writeln("<div id=\"socialbookmark\" align=\"center\"><a href=\"javascript:window.open(\'http:\/\/v.t.sina.com.cn\/share\/share.php?title=\'+encodeURIComponent(document.title.substring(0,76))+\'&url=\'+encodeURIComponent(location.href)+\'&rcontent=\',\'_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:\/\/t.sina.com.cn\/favicon.ico\" align=absMiddle border=0>&nbsp;转发到新浪微博<\/SPAN><\/a>");

    document.writeln(
"<a href=\"javascript:window.open(\'http:\/\/www.kaixin001.com\/repaste\/share.php?rtitle=\'+encodeURIComponent(document.title.substring(0,76))+\'&rurl=\'+encodeURIComponent(location.href)+\'&rcontent=\',\'_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:\/\/img1.kaixin001.com.cn\/i\/favicon.ico\" align=absMiddle border=0>&nbsp;转帖到开心网<\/SPAN><\/a>");

    document.writeln(
"<a href=\"javascript:window.open(\'http://share.renren.com/share/buttonshare.do?title=\'+encodeURIComponent(document.title.substring(0,76))+\'&link=\'+encodeURIComponent(location.href)+\'&content=\',\'_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:\/\/s.xnimg.cn\/favicon-rr.ico\" align=absMiddle border=0>&nbsp;转帖到人人网<\/SPAN><\/a><\/div>");
</script>

<br/>
<div  align=
"center">addthis<br/></div>
<div  align=
"center">
<script type=
"text/javascript" src="http://china-addthis.googlecode.com/svn/trunk/addthis.js" charset="UTF-8"></script><span class="addthis_org_cn"><a href="http://addthis.org.cn/share/" i="0|1|31|2|3|4|5|28|21|22|23|24|11|30|27|6|7" title="收藏&amp;分享"><img src="http://addthis.org.cn/images/a3.gif" alt="分享家:Addthis中文版" align="absmiddle" /></a></span>
</div>
<br/>
<div  align="center">bshare<br/></div>
<div  align="center">
<script language="javascript" type="text/javascript" src="http://www.bshare.cn/button.js#uuid=38f85995-a482-4fbd-92c3-f3f8d2592dda"></script>
</div>
<br/>
<div  align="center">SNS网站的分享功能<br/></div>
<div  align="center">
<href="javascript:void((function(s,d,e){if(/renren\.com/.test(d.location))return;var f='http://share.renren.com/share/buttonshare?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));" title="分享到人人"><img src="http://xnimg.cn/imgpro/share/browser_share_btn.png" title="分享到人人"/></a>
</div>
<br/>
<div id="google_buzz"  align="center"><img src="http://fairyfish.net/wp-content/icon/google-buzz.png" alt="分享到 Google Buzz" align="center"><href="http://www.google.com/reader/link?url=http://fenbid.ogilvy.com.cn/cds/games/index.html&title=game&snippet=fenbidgame&srcURL=http://fenbid.ogilvy.com.cn/cds/games/index.html" target="_blank" rel="nofollow external">分享到 Google Buzz</a></div>

<br/>


 

posted on 2010-04-12 16:47  走向前  阅读(642)  评论(0编辑  收藏  举报