Skip to content

Instantly share code, notes, and snippets.

@studgeek
Created March 27, 2012 22:14
Show Gist options
  • Save studgeek/2220870 to your computer and use it in GitHub Desktop.
Save studgeek/2220870 to your computer and use it in GitHub Desktop.
Bonsai export to UltraRecall/InfoQube
[OPTIONS]
EXTENSION=OPML
MARKUP=XML
[HEADER]
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1">
<head>
<title>#TITLE#</title>
</head>
<body>
[ITEM_BEGIN]
<outline text="#TEXT#">
<Item name='BeginDateString'>#START_DATE#</Item>
<Item name='DateCompletedString'>#COMPLETED_DATE#</Item>
<Item name='DueDateString'>#DUE_DATE#</Item>
<Item name='ItemText'>#NOTE#</Item>
<Item name='Priority'>#PRIORITY#</Item>
[ITEM_END]
</outline>
[FOOTER]
</body>
</opml>
<?xml version="1.0" encoding="ISO-8859-1"?>
<opml version="1">
<head>
<title>sampleBonsai</title>
</head>
<body>
<outline text="item a">
<Item name='Begin Date'>3/27/2012</Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'>3/27/2012</Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
<outline text="item aa">
<Item name='Begin Date'>3/27/2012</Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'></Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
<outline text="item aaa">
<Item name='Begin Date'>3/27/2012</Item>
<Item name='Date Completed'>3/27/2012</Item>
<Item name='Due Date'></Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
</outline>
<outline text="item aab">
<Item name='Begin Date'></Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'></Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
</outline>
<outline text="item aac">
<Item name='Begin Date'></Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'></Item>
<Item name='Item Text'>Some sample notes</Item>
<Item name='Priority'>3</Item>
</outline>
</outline>
<outline text="item ab">
<Item name='Begin Date'></Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'>3/27/2012</Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
</outline>
</outline>
<outline text="item b">
<Item name='Begin Date'></Item>
<Item name='Date Completed'></Item>
<Item name='Due Date'></Item>
<Item name='Item Text'></Item>
<Item name='Priority'>1</Item>
</outline>
</body>
</opml>
<?xml version="1.0" encoding="Windows-1252" ?>
<bonsai-outline version="4.1">
<head outline-id="7486233" category="" item-count="7">
<categories>
<category name="Unfiled" id="0" modified="1"/>
<category name="Business" id="1" modified="1"/>
<category name="Personal" id="2" modified="1"/>
</categories>
<item-defaults type="todo" category="parent" priority="1" start-date="none" due-date="none" keywords="none" auto-todo-link="0"/>
<display show-completion-status="1" show-priority="0" show-selection-gutter="1" show-numbers="1" note-pane-percent="19" numbering="1.1.1.1.1.1.1.1." full-number-to="1" current-item="449878381" cursor="8">
<views current="Default">
<view name="Default">
<columns>
<column name="text" width="433"/>
<column name="completed-date" width="70"/>
<column name="due-date" width="70"/>
<column name="note" width="26"/>
<column name="priority" width="32"/>
<column name="status" width="30"/>
<column name="start-date" width="70"/>
</columns>
</view>
</views>
<custom-labels>
<custom-label name="Cost" modified="1"/>
</custom-labels>
<item-text-color current-color-set="none" color-completed="0" completed="#8C8C8C">
</item-text-color>
</display>
<rollup dates="1" status="1">
<rollup-custom enable="1" operation="sum" include="all" modified="0"/>
</rollup>
<sync-info generation="1" modified="1">
</sync-info>
</head>
<items xml:space="preserve">
<item id="449878299" type="todo" priority="1" create-date="27 Mar 2012 18:11" last-modified="27 Mar 2012 18:13" percent-complete="16" start-date="27 Mar 2012 00:00" due-date="27 Mar 2012 00:00" pos-hint="2147483649" modified="#80125FDA">
<text>item a</text>
<items>
<item id="449878307" type="todo" priority="1" create-date="27 Mar 2012 18:11" last-modified="27 Mar 2012 18:13" percent-complete="33" start-date="27 Mar 2012 00:00" pos-hint="2147483649" modified="#80125FEA">
<text>item aa</text>
<items>
<item id="449878310" type="todo" priority="1" create-date="27 Mar 2012 18:11" last-modified="27 Mar 2012 18:13" percent-complete="100" start-date="27 Mar 2012 00:00" completed-date="27 Mar 2012 00:00" pos-hint="2147483649" modified="#80101FEA">
<text>item aaa</text>
</item>
<item id="449878378" type="todo" priority="1" create-date="27 Mar 2012 18:12" last-modified="27 Mar 2012 18:13" percent-complete="0" pos-hint="2147483649" modified="#80121FC2">
<text>item aab</text>
</item>
<item id="449878381" type="todo" priority="3" create-date="27 Mar 2012 18:13" last-modified="27 Mar 2012 18:19" percent-complete="0" pos-hint="2147483649" modified="#80325FC2">
<text>item aac</text>
<note>Some sample notes</note>
</item>
</items>
</item>
<item id="449878314" type="todo" priority="1" create-date="27 Mar 2012 18:11" last-modified="27 Mar 2012 18:13" percent-complete="0" due-date="27 Mar 2012 00:00" pos-hint="2147483649" modified="#80101BD2">
<text>item ab</text>
</item>
</items>
</item>
<item id="449878317" type="todo" priority="1" create-date="27 Mar 2012 18:11" last-modified="27 Mar 2012 18:13" percent-complete="0" pos-hint="2147483649" modified="#80125FC2">
<text>item b</text>
</item>
</items>
</bonsai-outline>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment