The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   text-based export format requests (http://forums.omnigroup.com/showthread.php?t=9468)

philgross 2008-08-19 08:24 AM

text-based export format requests
 
There are some handy text-based output formats I'd love to be able to use which I'm guessing your devs can implement without much trouble:

First, and most useful, would be a couple of LaTeX styles, one that goes directly to LaTeX lists ([url]http://www.image.ufl.edu/help/latex/lists.shtml[/url]), and one that maps to the LaTeX section hierarchy ([url]http://www.image.ufl.edu/help/latex/intext.shtml[/url]).

It would also be nice to have some Wiki styles, again, one for list-style output and one for heading-style. The problem there is that Wikis are not fully standardized, but either MediaWiki or Twiki syntax would be great.

Even crude/beta/experimental export for LaTeX and Wiki would be helpful, as right now it's an annoyance to get my beautiful outlines into a form that's semantically meaningful to these text-based systems

Patrickw 2009-04-07 03:01 PM

I second the motion for a Twiki export feature!

[QUOTE=philgross;45162]
It would also be nice to have some Wiki styles, again, one for list-style output and one for heading-style. The problem there is that Wikis are not fully standardized, but either MediaWiki or Twiki syntax would be great.[/QUOTE]

MarkH 2009-04-09 11:33 AM

Another second for MediaWiki, I was looking at the SDK to do this, but a proper export addin for the format would be excellent.

peterfs 2009-09-21 04:18 PM

Another vote for exporting MediaWiki ready output. This would be an extremely useful way to share meeting notes and other structured documents. Perhaps multi-column outline files could be output as wiki tables (which for me, would be a nice time-saver).

DerekM 2009-09-21 05:26 PM

I was actually looked at this awhile ago and wasn't sure how it would work. I'd have to look at the specs again as I can't remember any specifics but I think I wasn't sure what would be headers versus list items.

Sandman 2009-09-24 02:22 PM

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]
#!/usr/bin/perl

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

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.

whpalmer4 2009-09-24 03:06 PM

[QUOTE=Sandman;67368]3) pbpaste > project.input
4) cat project.input | ./convert.pl > project.twiki
5) cat project.twiki | pbcopy[/QUOTE]

You could simplify that to

pbpaste | ./convert.pl | pbcopy

and save some typing and housekeeping...


All times are GMT -8. The time now is 05:17 AM.

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