PDA

View Full Version : XML export


zav
2007-05-04, 02:25 PM
I find it rather baffling that you can not export your data as very vanilla XML. An outline is a tree structure and so is XML.

I'd simply like to export my tree structure as XML without loads of extra tags for Excel or for items I didn't enter.

I guess I'd assumed that this would be built in but since it's not, I'm currently reentering all the data I put in OmniOutliner and manually converting to XML. Grumble.

Cheers
- Zav

xiamenese
2007-05-04, 06:20 PM
I find it rather baffling that you can not export your data as very vanilla XML. An outline is a tree structure and so is XML.

I'd simply like to export my tree structure as XML without loads of extra tags for Excel or for items I didn't enter.

I guess I'd assumed that this would be built in but since it's not, I'm currently reentering all the data I put in OmniOutliner and manually converting to XML. Grumble.

Cheers
- Zav
This should be in the OmniOutliner forum, not OmniWeb!

Mark

Nomad
2007-08-23, 05:42 PM
I am also baffled that there is no XML export.... I just asumed it would be there. I would seem totally natural for OO. I thought the DHTML export was going to do the trick for my project.... but the show/hide triangle metaphor was lost on older group of PC users.

I can hack up the resultant code to make it usable.... but then updating the page is a bitch.

XML is missing... I'd bet there would be many who agree... but you can't search for XML in these forums (v bulletin won't search for three charcter terms... ) (Maybe XLST will help? )

Anyways my extensive support issue outline is a dead-end oo3 document without XML

XML export would be way way more useful.

Lizard
2007-08-27, 03:04 PM
Outliner files are already XML files. If you right-click on an OO3 file and choose "Show Package Contents" you'll see a contents.xml file.

Nomad
2007-09-06, 08:49 PM
Outliner files are already XML files. If you right-click on an OO3 file and choose "Show Package Contents" you'll see a contents.xml file.

Makes sense having it as a XML file... I opened the "contents.xml" file in BBedit and it came up as gibberish. How is the file encoded? Is the file proprietary? Am I missing something here?

Really what I want is an HTML export that isn't bloated with table tags and inline styles. OO3 HTML output reminds me of the HTML that MS Word belches out. (not that bad but... ) The resultant web page looks nice... but the styles can't be adjusted as they are imbedded (inline?).

I don't need a web page that looks like my OO3 document. I need a web page that matches my existing site's style.

I would asume that it relatively simple task to add a "clean and simple HTML" export to OO3's export options. Right?

Thanks!

LSlugger
2007-09-07, 03:38 PM
Although the file is named contents.xml, it is compressed, unless you have deselected "Compress on disk" in the Advanced section of the Document inspector. If you want a simpler XML version, export as OPML.

gmckenzi
2007-09-10, 01:53 PM
Just grab the contents.xml, rename it to contents.zip, uncompress it, and you've got the XML. At least that's what I do.

Gavin.

dbyler
2008-02-29, 10:26 AM
I'm trying to find a good means of integrating OmniOutliner with DEVONthink Pro. (I know, many have tried with varying levels of success; a quick visit to the DEVONthink forums will confirm this)

I'm not very familiar with the workings of XML, but a DEVON developer commented here (http://www.devon-technologies.com/phpBB2/viewtopic.php?t=4934&highlight=omnioutliner&sid=1aac6f52a93c4d679e53b567aa7eef2b) on the XML import process:

Speaking as a developer, it would be great if companies who create an XML specification for their document format also create an XSLT transform to make a sane HTML representation of that document. That way third parties can easily access and display the information the company thinks is most important.


Is there any chance of said XSLT transform making a difference in this situation?

RobTrew
2008-03-01, 11:45 PM
Omni does provide XSL templates for transformation to HTML.

That is how the HTML export works. If you did want to find the XSL files, you could take a deep breath, exercise caution, ctrl-click the OO application file, choose Show Package Contents, and drill down through the Plugins sub-folder inside the package. I don't really advise this, incidentally.

Or, more sanely, you could develop a work flow that involved exporting to something like HTML, RTF, or PDF (arguably the best for Devonthink), perhaps automating some of the steps with Applescript.