2017 © Pedro Peláez
 

library omnifocus

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

image

todomove/omnifocus

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  • Saturday, November 12, 2016
  • by ashleyhindle
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

OmniFocus Backup Reader

This is a work in progress and will be improved as I improve Intercessor., (*1)

This class reads an OmniFocus backup file (from File->Export->File Format->Backup Document (Omnifocus)), and provides access to folders, projects, tasks, and contexts with TodoMove\Intercessor classes, which provides a nice fluent interface, and will allow the items to be transformed and exported to different services if needed., (*2)

All classes returned are from TodoMove\Intercessor, (*3)

Installation

composer require todomove/omnifocus, (*4)

Basic Class Usage

composer install, (*5)

require __DIR__ . '/vendor/autoload.php';
use TodoMove\Service\Omnifocus\Reader;

$omnifocus = OmnifocusReader::loadBackup($pathToZipFile);

$tags = $reader->tags(); // Array of your Omnifocus contexts, converted to `TodoMove\Intercessor\Tag`
$folders = $reader->folders(); // Array of `TodoMove\Intercessor\ProjectFolder`
$projects = $reader->projects(); // Array of `TodoMove\Intercessor\Project`
$tasks = $reader->tasks(); // Array of `TodoMove\Intercessor\Task`

Example script usage

php run.php [path to backup.zip], (*6)

Notes

  • The OmniFocus backup process (File->Export->File Format->Backup Document(OmniFocus)) produces a .zip file with a contents.xml which lists all of your folders, projects, contexts and tasks.
  • Doesn't support specific week day repeats

The Versions

12/11 2016

dev-master

9999999-dev

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

27/10 2016

0.1.0

0.1.0.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

27/10 2016

0.0.9

0.0.9.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

23/10 2016

0.0.8

0.0.8.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

22/10 2016

0.0.7

0.0.7.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

16/10 2016

0.0.6

0.0.6.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

16/10 2016

0.0.5

0.0.5.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

16/10 2016

0.0.4

0.0.4.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

15/10 2016

0.0.3

0.0.3.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

15/10 2016

0.0.2

0.0.2.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires

 

14/10 2016

0.0.1

0.0.1.0

PHP Class to read an OmniFocus backup and convert it to Todomove\Intercessor classes

  Sources   Download

MIT

The Requires