Endurance runner, productivity geek and bio-hacker

Matt Smallman

Month: July 2013

Personal Statusboard

I came across this great app (http://panic.com/statusboard/) a few months ago and have used it to build a personal status board for my iPad. My statusboard currently consists of:

I have some more things I would like to do when I get a chance:

  • New – Countdowns to next holiday or other events
  • New – Running training tracker – Using the runkeeper api.
  • Improve – Train RSS feed to only show items relevant to me items
  • Improve – Tube RSS feed to only show items relevant to me
  • New – To Do list – Using toodledo api.
  • Improve – World clock – Add time of day icons
  • Improve – Server Status – Add time since last seen

I will also update this post with links to articles on the items I wrote myself for those who are interested.

Justgiving.com Totaliser

I used this code to create the Statusboard panel with my current justgiving.com fundraising total during my 12 week challenge to complete the 2013 London Marathon for help the hospices

You need to have an API developer account at justgiving.com, insert your details in the script as appropriate and put the page somewhere publicly accessible (as it’s .html this could even be dropbox or google drive) but otherwise, it should be self-explanatory then point your status

<html>
<head>
<!-- 
Shows total of funds raised, on and offline including gift aid (UK Tax refund) from justgiving.com on Panic Status Board: http://panic.com/statusboard/
Instructions:
1. Register for an API key and access at: https://api.justgiving.com/docs
2. Replace: https://api.justgiving.com/your-api-key/v1/fundraising/pages/your-page-name with the appropriate api-key and your-page-name
3. Place the page on an accessible web server
4. Install into Status Board using the DIY option
-->


  <title>Justgiving.com Totaliser</title>
   <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
   <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js"></script>
   <script>
    $(document).ready(function(){
  	  update();
		  setInterval(function(){update()},6000);
	  });



    function update() 
    	{
         	$.getJSON("https://api.justgiving.com/your-api-key/v1/fundraising/pages/your-page-name", {},  function (data) { 
         		var total = Number(data.totalRaisedOnline) + Number(data.totalRaisedOffline) + Number(data.totalEstimatedGiftAid) ;        
                $('#raised').html(total);
            })
            
      };


</script>

</head>
	<body>
	  <table style='border-spacing:0; border-collapse:collapse; width:100%; height:100%;'>
		  <tr>
			  <td style='padding-left:10px; font-size:36px; '> FUNDRAISING:</td>
				<td style='font-size:36px; text-align:right;'> &pound <span id='raised'></span></div>
				</td>
			 </tr>
		</table>
	</body>

Powered by WordPress & Theme by Anders Norén