December 16, 2012

Display random labels on blogspot blog

This Javascript snippet will retrieve random labels from a blogspot blog and display it in sidebar or anywhere else, useful if you've too many labels and only want show 'x' number of random labels on each page load.

Technology used:

Javascript, YQL, JSON feed

Usage:

- Configure and include the snippet and add label div to blog template/html.

View/Copy snippet:



Or Download: http://pastebin.com/raw.php?i=PkZY87yV

2 comments:

  1. Sweet blog! I found it while searching on Yahoo
    Νews. Do you have any suggestions on how to get listеd in Yahoo Νeωs?
    I've been trying for a while but I never seem to get there! Many thanks
    Look into my web page ; v2 cigs

    ReplyDelete
    Replies
    1. This is totally uncool man. Did I ever spam on your website?

      Delete