The hardest part about the Taskpaper format is that I want the tasks in each project to be part of a list and I want the notes for each task to be part of the same “pre” tag. Because tasks and notes span multiple lines, I need to keep track of whether or not I’m currently displaying a task or note. When displaying a new project, the old task list needs to be closed, and when displaying a new project or tag, any notes need to be closed. Taskpaper+ :: More Stuff, Less Fluff Description A simple, easy to use plain text file-based, task management, web application. That’s what the various open and close functions are. I don’t use subtasks, so this script doesn’t support them. Making URLs clickable inside tasks and notes is theoretically difficult, but I just used Nico Oelgart’s Make URLs clickable function. The bulk of the work is handled by the parseTask() function. It separates each task into a task and a list of tags, and then attaches the tag list back to the task, but linked as a search to those tasks. It also returns a list of all tags, so that the main part of the script can check to see if this task is tagged with the desired tag. $classes = implode(" ", $cleantaglist) Hi 'Egli Christian (KIRO 433)' writes: > TaskPaper seems to be a really simple way of documenting tasks in text > with a GTD style.Heres an example: > I think it would be extremely useful to incorporate TaskPaper into > Org-Mode.IF ($maxurl_len AND strlen($url) > $maxurl_len): $offset2 = ceil(0.30 * $maxurl_len) - 1 įOREACH (array_unique($urls) AS $url).// keep track of whether we're currently in a note or taskįunction parseURLs($text, $maxurl_len = 70, $target = '_self') )?+)/si', $text, $urls)).return array($task, $classes, $cleantaglist).>From what I can tell Taskpaper seems to be a subset of org-mode. SubEthaEdit (SEE) supports mode-dependent extensions to its functionality. If you use a lot of tags, you can go wild giving each tag a different style. The mechanism for this is the embedding of AppleScripts into the mode. This lets, for example, Python documents have a Check Syntax command differently implemented from the identically named Check Syntax command for Lua documents. Just remember that the last style found is the one that takes precedence if a task is tagged with more than one tag. /* links should be the same color as the task they're part of */./* links embedded in tasks or notes should stand out from tag or project links */./* and when they're done, tasks have a special color and a line through them */. If you need something more complex, look at Taskpaper.web. If you want this script to be more complex, you might consider an in-memory SQLite database. If you specify “:memory:” as the “filename” for your SQLite database, the database will be entirely in memory this will give you the power of SQL to manipulate your tasks, notes, and projects. PHP 5 has SQLite support built-in (as does Python 2.5).
0 Comments
Leave a Reply. |