diff website/www/index.txt @ 4397:86a864e36331 website

add json awesomeness
author Richard Jones <richard@users.sourceforge.net>
date Sat, 24 Jul 2010 11:18:59 +0000
parents 91df6e19d81d
children 5f6d94a75dcd
line wrap: on
line diff
--- a/website/www/index.txt	Tue May 04 21:29:29 2010 +0000
+++ b/website/www/index.txt	Sat Jul 24 11:18:59 2010 +0000
@@ -5,6 +5,17 @@
 
         Latest stable release: `download`_
 
+        .. raw:: html
+
+           <span id="release_info">release info</span>
+
+.. raw:: html
+
+   <script type="text/javascript">
+    $.getJSON('http://pypi.python.org/pypi/roundup/json', function(data) {
+     $('#release_info').html('<p>Version: ' + data.version + '</p>');
+    });
+   </script>
 
 Roundup is a simple-to-use and -install issue-tracking system with command-line, web and e-mail interfaces. 
 It is based on the winning design from Ka-Ping Yee in the Software Carpentry "Track" design competition.

Roundup Issue Tracker: http://roundup-tracker.org/