XML TODO List

In keeping with my principle that tools should help work go faster and that less time should be spent playing with tools (and more time working), I'm offering up my todo list solution. Note this is inspired by the GTD and 43Folders folks.

Basically, the idea is to use a super simple XML file, much like the software schedules , and use an XSLT to format it into a viewable format. Since modern web browsers have a processor built in, no special software is needed. A simple text editor (VI, emacs, Notepad, etc) will suffice for changes.

I've created the XML file with 3 parts, a list title, the list of todo's, and an area for the finished things. The actual todo's may contain a priority attribute that will be used for sorting. When an item is complete, a cut/paste operation is performed to move the task to the 'done' section.

Another benefit of using a browser for rendering is the list can be published on a web server or shared drive for public viewing. On Linux it looks like the following:

Screen shot of todo list in browser

I've prepared a little demo to show the code redering in a browser. Displaying the link will show it. I've also packaged the demo xml and stylesheet into a zip file.

The following is a sample XML todo list.

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/xsl" href="todo.xsl"?>
  3.  
  4. <todos>
  5.   <list-name>
  6.   My Site Dev TODO List
  7.   </list-name>
  8.   
  9. <todo>
  10.   <entry priority="1">
  11.     Re-work article on software schedules (get rid of 'here' links)
  12.   </entry>
  13.  
  14.   <entry priority="1">
  15.     Write article about todo list
  16.   </entry>
  17.   <entry priority="2">
  18.     describe the purpose
  19.   </entry>
  20.   <entry priority="1">
  21.     describe the code
  22.   </entry>
  23. </todo>
  24.   
  25.  
  26. <done>
  27.   <entry priority="3">
  28.     package code into zip file
  29.   </entry>
  30.   <entry priority="3">
  31.     publish raw files and zip file to static server
  32.   </entry>
  33. </done>
  34.  
  35. </todos>


Sponsors:

About willCode4Beer