
PHP 5 has SQLite support built-in (as does Python 2.5). 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. If you want this script to be more complex, you might consider an in-memory SQLite database. If you need something more complex, look at Taskpaper.web. /* and when they're done, tasks have a special color and a line through them */./* links embedded in tasks or notes should stand out from tag or project links */.

/* links should be the same color as the task they're part of */.Just remember that the last style found is the one that takes precedence if a task is tagged with more than one tag. If you use a lot of tags, you can go wild giving each tag a different style. 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).$classes = implode(" ", $cleantaglist).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. 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. The bulk of the work is handled by the parseTask() function. Making URLs clickable inside tasks and notes is theoretically difficult, but I just used Nico Oelgart’s Make URLs clickable function. I don’t use subtasks, so this script doesn’t support them. Buy now to make lists and get organized. That’s what the various open and close functions are. TaskPaper 3 is all new, while still retaining the same plain text design that’s been getting things done since 2006. 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.

Because tasks and notes span multiple lines, I need to keep track of whether or not I’m currently displaying a task or note. Your assignments will follow you anywhere you go on a holiday trip or board meeting. Attach a date to your task and export it to Reminders app (and vice versa).

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. TaskPaper is fully integrated with Apple’s Reminders so you’ll never lose a grip on your schedule.
