25 Feb 2006, 9:09pm
Projects:
by

leave a comment

  • Social Bookmark Buttons For Blojsom

    Update: this information is now available on Blojsom wiki’s Social Bookmark Buttons page.

    You can add various social bookmark (BlinkList, del.icio.us, Digg, Fark, Furl, Newsvine, Reddit, Simpy, Spurl, Yahoo! MyWeb) buttons to your Blojsom blog like this:

    Download the icons and unzip them under your Blojsom resources/[blog-id]/ directory. Copy paste the following code snippet to your blog entries template:

    #set($blinklist  = ["BlinkList", "blinklist.gif", "http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=$permalink&Title=$entry.getTitle()"])
    #set($delicious  = ["del.icio.us", "delicious.gif", "http://del.icio.us/post?url=$permalink&title=$entry.getTitle()"])
    #set($digg       = ["digg", "digg.gif", "http://digg.com/submit?phase=2&url=$permalink"])
    #set($fark       = ["Fark", "fark.gif", "http://cgi.fark.com/cgi/fark/edit.pl?new_url=$permalink&new_comment=$entry.getTitle()&new_link_other=&linktype=Misc"])
    #set($furl       = ["Furl", "furl.gif", "http://www.furl.net/storeIt.jsp?t=$entry.getTitle()&u=$permalink"])
    #set($newsvine   = ["Newsvine", "newsvine.gif", "http://www.newsvine.com/_tools/seed&save?u=$permalink&h=$entry.getTitle()"])
    #set($reddit     = ["reddit", "reddit.gif", "http://reddit.com/submit?url=$permalink&title=$entry.getTitle()"])
    #set($simpy      = ["Simpy", "simpy.png", "http://www.simpy.com/simpy/LinkAdd.do?href=$permalink&title=$entry.getTitle()"])
    #set($spurl      = ["Spurl", "spurl.gif", "http://www.spurl.net/spurl.php?title=$entry.getTitle()&url=$permalink"])
    #set($yahoomyweb = ["Yahoo! MyWeb", "yahoomyweb.gif", "http://myweb2.search.yahoo.com/myresults/bookmarklet?t=$entry.getTitle()&u=$permalink"])
    #set($links = [$blinklist, $delicious, $digg, $fark, $furl, $newsvine, $reddit, $simpy, $spurl, $yahoomyweb])
    <div>
    #foreach ($link in $links)
      <a href="$link.get(2)" style="border: 0;">
        <img src="#Resource("icons/$link.get(1)")" style="border: 0;" height="16" width="16" alt="$link.get(0)"/>
      </a>
    #end
    </div>
    

    For a demo, check out Melbourne. Please do not hotlink the icons :).

     

    Recent Posts

    Recent Comments

    • Cliffano Subagio: Good to hear about your opportunity to visit Japan, I’m sure you will have a great...
    • Kayla: I’m going to Japan for two week this summer. Our sister city is Tsubame, Japan and my school has an...
    • poseidonfu: thanks,Very effective
    • anonymous: I really enjoyed both the last lecture and the book. I don’t think that theres anyone that I look up...
    • dioni: The thing I hate about HK is how people shove and push in the queue. Can’t they be civilized?!! I kept...

    Most Commented Posts

    Linkroll