The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Adding tasks from Ruby or YAML (http://forums.omnigroup.com/showthread.php?t=18671)

Martin Oldfield 2010-10-25 06:07 AM

Adding tasks from Ruby or YAML
 
Encouraged by Andy Schott's Safari to OmniFocus AppleScript example, I wrote a command line Ruby program to import tasks defined in YAML files.

For example:

% cat tasks.yml
---
- context: Administriva
due date: 2010-12-24
name: Blossom 2
note: Cherry 2
project: Auto
% of-import-yaml tasks.yml

You can get the software at [url]http://mjo.tc/atelier/2010/10/of-import-yaml.html[/url]

Importing tasks seems to be quite a common request here, so I thought I'd post this in case other people find it useful even though it's very rough and ready code.

RobTrew 2010-10-25 12:50 PM

Good piece of illustrative code - thank you !

turadg 2010-11-15 02:18 PM

Thanks much for this! My source was CSV instead of YAML so I wrote some Python code to transform it. I posted it here in case it's useful to anyone: [url]http://forums.omnigroup.com/showthread.php?p=88934#post88934[/url]


All times are GMT -8. The time now is 04:10 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.