View Single Post
Being a new (and basic) user of OmniOutliner and immediately searching for a Twiki export feature I created a super quick perl script to take care of most of the conversion. This does require that you're not afraid of opening a terminal :-)

PHP Code:
#!/usr/bin/perl

while (<>) {
  
s/^                - \[ \]/            */;
  
s/^            - \[ \]/         */;
  
s/^        - \[ \] /         * /;
  
s/^    - \[ \] /   * /;
  
s/^- \[ \] /---++ /; 
  print;

This probably doesn't make a lot of sense unless you know perl and/or regular expressions, but it does the job, more or less.

The approach I use:

1) Click top-left corner of open project in OmniOutliner and click CMD-A to mark everything, then CMD-C to copy to clipboard
2) Open a terminal
3) pbpaste > project.input
4) cat project.input | ./convert.pl > project.twiki
5) cat project.twiki | pbcopy

... where convert.pl is the script included in this port.
This will generate a Twiki source code that you can copy into a twiki editor. Step 5) places the content in your clipboard so you can just CMD-V it into a browser editor window.

Hope this helps someone.