The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus 1 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=38)
-   -   Omnifocus DTD stable yet ? (http://forums.omnigroup.com/showthread.php?t=3662)

RobTrew 2007-05-29 07:55 AM

Omnifocus DTD stable yet ?
 
Has the DTD for Omnifocus files stabilized yet ?

If so, it would be very helpful to get hold of it.

(I would like to write an XSLT transform to import projects tasks and contexts from iGTD)

Ken Case 2007-05-29 08:04 AM

It's still being extended as we add new features, but you'll always find the current RELAX NG schema for OmniFocus inside the application wrapper (in OmniFocus.app/Contents/Resources/OmniFocus.rng).

RobTrew 2007-05-29 08:49 AM

OmniFocus.rng
 
Would it be possible to put a copy of OmniFocus.rng online ?
(I don't yet have a copy of omnifocus.app)

Thanks !

Ken Case 2007-05-29 09:27 AM

If we put up a copy, then it starts falling out of date immediately.

I have an alternative to propose. (Check your email.)

JasonI 2007-05-29 09:31 AM

Yes, please
 
I spent way too much time this weekend trying to figure out how to get all of my data from iGTD to OF this weekend. Every which way I tried had certain pieces of the data fall out (notes don't export, projects without tasks don't come through, etc.). It would be great to have someone with the initiative and the know-how to develop an exporter for iGTD. This way I can use my "real" data to test OF.

Ken Case 2007-05-29 09:56 AM

I should mention that it's easier (and better supported) to create the tasks using AppleScript than to try to write OmniFocus transaction files by hand.

[CODE]tell application "OmniFocus" to tell first document
set actionContext to "Mac"
set macContext to context named "Mac"
set projectName to "Write an OmniFocus import script"
set actionName to "Learn how to create OmniFocus actions using AppleScript"
set actionNote to "See <http://forums.omnigroup.com/showthread.php?t=3662>."

set newProject to make new project with properties {name:projectName, sequential:true}
tell newProject to make new task with properties {name:actionName, context:macContext, note:actionNote}
end tell[/CODE]

RobTrew 2007-06-13 06:25 AM

Good idea.

iGTD data is now stored in SQLite rather than an XML file. It should be possible to write an Applescript which uses an sqlite3 shell command line to generate some text files from the iGTD data, and then pulls data from the text files into Omnifocus.

kunicki 2007-06-24 12:57 PM

Where is the SQLite file stored? I'd like to be able to read the data so I can bring it over into my PocketPC

RobTrew 2007-06-24 02:38 PM

[QUOTE=kunicki]Where is the SQLite file stored? I'd like to be able to read the data so I can bring it over into my PocketPC[/QUOTE]

~/Library/Application Support/iGTD/iGTD.sql

The applescript at

[url]http://web.mac.com/robinfrancistrew/iWeb/Site/iGTD2OmniFocus.html[/url]

Illustrates the process of reading it.


All times are GMT -8. The time now is 12:23 AM.

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