[Vimoutliner] otl2html script use

Sean Russell ser at germane-software.com
Wed Aug 2 09:59:45 EDT 2006


On Tuesday 01 August 2006 21:27, Chris Judson wrote:
> I'm not sure if anybody is out there, but I found vimoutliner about a

We're out here.  We're simply all lurkers.

> ways to share my outlines, I can't seem to get the otl2html.py script
> to work. The main error that I'm getting is that there is an
> indentation error within the script.

Out of curiosity, do you have expandtabs set?  I don't know if this 
would cause a problem, but I use noet for otl files, and I don't have a 
problem with otl2html.


Incidentally, to encourage the posting of possibly useful scriptlets, 
I've been using outliner to do rudimentary project management.  The 
syntax is restrictive -- I haven't spent any time generalizing it, and 
have a specific use case -- but it works pretty well for me.  The 
outlines look like this:

	Project name
	Person start_date_YYYY-MM-DD percent_committed
	Person start_date...
	[_] % Task blah blah (#days)
		[_] % Subtask blah blah (#d) -- Person
	...

So, an example would be:

	GSM AoA Progress
	Sean 2006-06-12 85%
	Jason 2006-08-08 85%
	Prabu 2006-09-06 80%
	[_] 22% GSM AoA (134d)
		[_] 50% Licensing (10d) -- Sean
			...
		[_] 28% AoA coop (35d) -- Jason
			...
		[_] 0% Map display (20d)
			[_] Config client (10d) -- Sean
			[_] Perf client (10d) -- John
	...

And so on.  Then I run the attached Ruby script on the outline, and it 
dumps out statistics on the project.  EG:

	dx3240sct01% ./schedule.rb todo.otl
	Total project length: 134 days
	Completed: 0.22%
	Completion date: 2006-10-12
	      Name   Allotted   Assigned
	     Jason         48         45
	     Prabu         27         25
	      Sean         52         55

The first two items are pulled verbatim from the outline -- no new 
information there.  The completion date is calculated based on the 
start dates of each person, the current % completed, and the % of time 
each person is committed for.  It also calculates how many days worth 
of effort each person has been allotted (between the start and end 
dates), and how many days worth of work they've been assigned.

It would be really nice to extend Outliner to support auto-calculating 
the number of days of effort each parent task is assigned (similarly to 
how the % complete is calculated), but regardless, Outliner has turned 
out to be really useful to me for this.  I can easily convert an 
outline to a format that I can import into my Palm for use in 
HandyOutline, and I've found it trivial to dump the top two or three 
levels of information for sharing with other project managers as a 
status report.

Cheers,

--- SER
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schedule.rb
Type: application/x-ruby
Size: 1388 bytes
Desc: not available
Url : http://lists.vimoutliner.org/pipermail/vimoutliner/attachments/20060802/abd9f2b6/schedule.bin


More information about the VimOutliner mailing list