relevance / runcoderun-badges forked from drnic/github-badges

RunCodeRun Badges for Everyone

This URL has Read+Write access

README.markdown

RunCodeRun Badges

Want to show off your projects on runcoderun to world? Then a sexy badge on your blog would be awesome.

Its still under development, but here is a screenshot of the unit tests + the sample badge below.

runcoderun badge

Live Demo

See the project website: http://thinkrelevance.rubyforge.org/runcoderun_badge

Usage

It is expected that to use the widget, you will copy + paste + modify the following snippet into your blog sidebar.

<div id="runcoderun-badge"></div>
<script type="text/javascript" charset="utf-8">
  RUNCODERUN = {
      username:    "glv",
      list_length: 10,
      head:        "div",    // e.g., change to "h2" for wordpress sidebars
      theme:       "white",  // try 'black'
      title:       "My projects",
      show_all:    "Show all"
  };
</script>
<script src="http://relevance.rubyforge.org/runcoderun_badge/dist/runcoderun-badge-launcher.js" type="text/javascript"></script>

Black background? If your site has a black background the badge will automatically attempt to use the black_badge.css theme. If it doesn't trigger for your site add the theme: 'black' code to the configuration above.

Website

http://thinkrelevance.rubyforge.org/runcoderun_badge

Author

Glenn Vanderburg, glenn@thinkrelevance.com (based on github-badges by Dr Nic Williams, drnicwilliams@gmail.com)