官方首页 | 无图版 | BBS首页
PJBlog3 2.8.5.157 新版发布 下载|升级(2008.8.26) 来给PJ3提提发展建议 2008版 PJHOME 珍藏/纪念版官方T恤 正式发布! PJ3内测团队主创人员身份,性格,特点吐血大曝光
PJBlog技术支持论坛使用问题总索引 PJ-Blog 3 斑竹日志 【独家】我使用过的三种空间,与客服的精彩故事 Z-Blog,Wordpress,Bo-Blog转换到PJBlog
发新话题
打印

在博客加入网络书签收藏 提高推广

在博客加入网络书签收藏 提高推广

在博客加入网络书签收藏 提高推广

现在的百度K得太历害。以前1000多页。。现在只可怜的20页。。还不给更新。。

还好有GOOGLE的几千页。。

在文章页面加入了一个网络书签收藏代码。。
这样你可以收藏这个文章。当公开后,别人也就会进入。效果还不错。。。

在主目录下的class目录改cls_article.asp。

找到“<br/><%dim getTag”在前面加入如下代码就行了。。。
复制内容到剪贴板
代码:
收藏到书签: <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)"><img alt=QQ书签 src="images/qq.gif" border=0></a>

<A title="将此页面收藏到SOOYLE网络收藏夹上" href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:'') :(d.getSelection?d.getSelection():'');void(sooyleit=window.open('http://www.sooyle.com/onekey/toSaveURL43.php?custTitle='+escape(d.title)+'&custURL='+escape(d.location.href)+'&custExplain='+escape(t),'sooyleit','scrollbars=no,width=500,height=370,status=no,resizable=yes'));sooyleit.focus();" ><img border=0 src="images/sooyle.gif" width=16 height=16></A>

<a href="javascript:window.open('http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=雅虎收藏夹 src="images/yahoo.gif" border=0></a>

<a href="javascript:u=location.href;t=document.title;c = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);var url=%22http://cang.baidu.com/do/add?it=%22+encodeURIComponent(t)+%22&iu=%22+encodeURIComponent(u)+%22&dc=%22+encodeURIComponent(c)+%22&fr=ien#nw=1%22;window.open(url,%22_blank%22,%22scrollbars=no,width=600,height=450,left=75,top=20,status=no,resizable=yes%22); void 0" title="百度收藏"><img alt=百度收藏 src="images/baidu.gif" border=0></a>

<a href="javascript:window.open('http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=Google书签 src="images/google.gif" border=0></a>

<a href="javascript:window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=Yahoo书签 src="images/yahoo.gif" border=0></a>

<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=28&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();"><img alt=新浪ViVi src="images/vivi.gif" border=0></a>

<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://z.sohu.com/storeit.do?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();"><img alt=搜狐网摘 src="images/sohuz.gif" border=0></a>

<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();"><img alt=365Key网摘 src="images/365key.gif" border=0></a>

<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','yesky','scrollbars=no,width=400,height=480,left=75,top=20,status=no,resizable=yes'));yesky.focus();"><img alt=天极网摘 src="images/yesky.gif" border=0></a>

<a href="javascript:window.open('http://www.diglog.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=diglog src="images/diglog.png" border=0></a>

<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'));"><img alt=和讯网摘 src="images/hexun.gif" border=0></a>

<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://my.poco.cn/fav/storeIt.php?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t)+'&img=http://www.h-strong.com/blog/logo.gif','keyit','scrollbars=no,width=475,height=575,status=no,resizable=yes'));keyit.focus();"><img alt=POCO网摘 src="images/poco.gif" border=0></a>

<a href="javascript:u=location.href;t=document.title;void(open('http://www.YouNote.com/NoteIt.aspx?u='+escape(u)+'&t='+escape(t)+'&c='+escape(document.selection.createRange().text),'网络书签', 'toolbar=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));"><img alt=YouNote网摘 src="images/younote.gif" border=0></a>

<a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(blog=window.open('http://www.bolaa.com/CommendBlog/SmallLogin.aspx?title='+escape(d.title)+'&newspath='+escape(d.location.href)+'&subtitle='+escape(t),'bolaa','width=400px,height=400px'));blog.focus();"><img alt=博拉网 src="images/bolaa.gif" border=0></a>

<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.cn3.cn/user/addurl.asp?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=490,height=450,left=120,top=50,status=no,resizable=yes'));keyit.focus();"><img alt=天下图摘 src="images/cn3.gif" border=0></a>

<a href="javascript:window.open('http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=Del.icio.us src="images/delicious.gif" border=0></a>

<a href="javascript:window.open('http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=digg src="images/digg.png" border=0></a>

<a href="javascript:window.open('http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title),'favit','width=780,height=470,left=50,top=50,toolbar=no,menubar=no,location=no,scrollbars=yes,status=yes,resizable=yes');void(0)"><img alt=reddit src="images/reddit.png" border=0></a>
想把图标保存在自己服务器上的。。可以下载这个文件。把图标传到自己网站上去就行了。


可以我的网站看看效果啊。。。
http://www.xiexy.cn/blog/article.asp?id=639

[ 本帖最后由 thankxie 于 2008-6-15 10 编辑 ]
附件: 您所在的用户组无法下载或查看附件
本帖最近评分记录
  • dudo PJ币 +10 谢谢分享 2008-6-14 19:16
眼内有尘三界窄,心头无事一床宽
本人博客:http://www.xiexy.cn

TOP

我加了好多了…………
http://www.yiqijob.cn

TOP

不错,但是如果图片都能保存到自己的服务器上就好了,这样就不用向每个服务器发送请求了,节省不少下载时间

TOP

帮楼主补充一下:
如果你是静态的话
修改Template/Article.asp

在          我要引用此文章</a>   后面加上楼主的源码  然后新生成所有日志到文件就可以了
效果一样的  比如:http://www.doyouself.com.cn/article.asp?id=1034
还有图片你愿意的话保持到自己服务器也行 改下链接就是

优秀软件聚合者     只专注于互联网的优秀软件!                                              AD by fly-space.cn

TOP

谢谢分享

TOP

Lz   你的改法和4楼老兄的改法都试了,
  可标签还是没有加上去, 怎么回事呢?
  可以帮我分析下吗

wwww.bw165.cn      PR=3

TOP

Lz   你的改法和4楼老兄的改法都试了,
  可标签还是没有加上去, 怎么回事呢?
  可以帮我分析下吗

wwww.bw165.cn      PR=3

TOP

网摘以前很热的,现在已经淡了,以前我还专门做过这样的站

TOP

谢谢了 我做好收藏了

www.jjens.cn

TOP

发新话题