public
Fork of drnic/github-badges
Description: RunCodeRun Badges for Everyone
Homepage:
Clone URL: git://github.com/relevance/runcoderun-badges.git
name age message
file .gitignore Tue May 06 17:01:50 -0700 2008 Added .DS_Store to .gitignore file. [carlosbrando]
file History.txt Fri Oct 10 08:36:55 -0700 2008 Changing names throughout [glv]
file License.txt Fri Oct 10 08:36:55 -0700 2008 Changing names throughout [glv]
file README.markdown Thu Oct 16 21:00:01 -0700 2008 Ready for launch, I think. [glv]
file Rakefile Thu Oct 16 21:00:01 -0700 2008 Ready for launch, I think. [glv]
directory config/ Sat Apr 26 03:38:37 -0700 2008 update website with git src [drnic]
directory lib/ Fri Apr 25 19:25:25 -0700 2008 initial import [drnic]
directory script/ Sat Apr 26 02:58:06 -0700 2008 tests for launcher; clean up dist task; website [drnic]
directory src/ Thu Oct 16 21:00:01 -0700 2008 Ready for launch, I think. [glv]
directory tasks/ Sat Apr 26 02:58:06 -0700 2008 tests for launcher; clean up dist task; website [drnic]
directory test/ Thu Oct 16 21:00:01 -0700 2008 Ready for launch, I think. [glv]
directory website/ Thu Oct 16 21:00:01 -0700 2008 Ready for launch, I think. [glv]
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)