Nucleusで複数ブックマークリンクアイコン

テンプレート化してみた。
とりあえず5サービス分。

  • はてなブックマーク
  • del.icio.us
  • Pookmark
  • Livedoor
  • nifty clip

スキンフォルダにuploadしてparsedincludeでおしまい。テンプレートに直接書いてもいいけど、長いからやらん。



bookmark.inc

<ul class="bmIcon">

<li><a rel="nofollow" href="http://b.hatena.ne.jp/append?<%itemlink%>"><img src="<%skinfile(bm_img/bm_hatena.gif)%>" title="はてなに追加する" alt="はてなに追加する" /></a></li>

<li><a rel="nofollow" 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;"><img src="<%skinfile(bm_img/bm_delicious.gif)%>" alt="del.icio.usに追加する" title="del.icio.usに追加する" /></a></li>

<li><a rel="nofollow" href="javascript:window.location='http://pookmark.jp/post?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);"><img src="<%skinfile(bm_img/bm_pookmark.gif)%>" alt="POOKMARK Airlines の行き先に登録する" title="POOKMARK Airlines の行き先に登録する" /></a></li>

<li><a rel="nofollow" href="javascript:window.location.href='http://clip.livedoor.com/clip/add?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);" class="ldclip-redirect"><img src="<%skinfile(bm_img/bm_liveclip.gif)%>" alt="この記事をクリップ!" title="この記事をクリップ!" /></a></li>

<li><a rel="nofollow" href="javascript:window.location.href='http://clip.nifty.com/create?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);"><img src="<%skinfile(bm_img/bm_nifty.gif)%>" alt="この記事をニフティクリップへ追加" title="この記事をニフティクリップへ追加" /></a></li>

</ul>

ダウンロード

bookmark.incとアイコンデータ

No comments yet


Copyright © Luvsic. Some rights reserved.