我在autoit.cn,那里看到这个文章,非常喜欢,可能是文章太久了吧2007.4月多写的吧,现在在/components/com_content/content.php里找不到$params = new mosParameters( $row->attribs );这个了,不知道白老大知道如何加网摘的方法吗?
$row->fulltext.="
<div align='right'>Shares:
<a href=\"javascript:location.href='http://www.google.com/bookmarks/mark?op=add&bkmk='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"Google书签\" src=\"/images/share/google.gif\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://myweb2.search.yahoo.com/myresults/bookmarklet?u='+encodeURIComponent(location.href)+'&t='+encodeURIComponent(document.title)\"><img alt=\"Yahoo书签\" src=\"/images/share/yahoo.gif\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://myweb.cn.yahoo.com/popadd.html?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"雅虎收藏夹\" src=\"/images/share/yahoomyweb-cn.png\" 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/share/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(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/share/vivi.gif\" border=\"0\" /></a>
<a title=\"百度收藏\" 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\"><img alt=\"百度收藏\" src=\"/images/share/baidu.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/share/yesky.gif\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://www.diglog.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"diglog\" src=\"/images/share/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/share/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/share/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/share/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/share/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/share/cn3.gif\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://www.spurl.net/spurl.php?v=3&title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)\"> <img alt=\"spurl\" src=\"/images/share/spurl.png\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://blogmarks.net/my/new.php?mini=1&simple=1&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"> <img alt=\"blogmarks\" src=\"/images/share/blogmarks.png\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description='+encodeURIComponent(document.title)+'&Url='+encodeURIComponent(location.href)+'&Title='+encodeURIComponent(document.title)\"><img alt=\"BlinkList\" src=\"/images/share/blinklist.gif\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"reddit\" src=\"/images/share/reddit.png\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://digg.com/submit?phase=2&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"digg\" src=\"/images/share/digg.png\" border=\"0\" /></a>
<a href=\"javascript:location.href='http://del.icio.us/post?&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\"><img alt=\"Del.icio.us\" src=\"/images/share/delicious.gif\" border=\"0\" /></a></div>";