Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi
Tinderbox Users >> Questions and Answers >> importing atom/rdf
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi?num=1187346366

Message started by Stephen De Gabrielle on Aug 17th, 2007, 6:26am

Title: importing atom/rdf
Post by Stephen De Gabrielle on Aug 17th, 2007, 6:26am

Hi, I'm interested in importing using the atom api, as well as importing citations gathered with the zotero citation manager (zotero.org) tool.

I've seen the [tinderbox internal] templates to import RSS; are their guidelines to creating your own? and on the same track, where the data is XML(rdf), is there a facility to create a mapping to the fields in a tinderbox note (like with spreadsheet table import)

Cheers,

Stephen

Title: Re: importing atom/rdf
Post by Mark Anderson on Aug 17th, 2007, 8:30am

Further to my answer to your earlier thread on import, looking at the built-in RSS templates they seem to be using ^code^ words that are XML tags from the feed mark-up. I've not tested custom templates but I'd look to try the XML tags you want as ^-delimited codes. Although the closing ^ on a code is optional, ^code or ^code^, I'd suggest using ^code^ as the closing caret saves TB guessing where the code word ends.

As regards layout, use the existing templates as a guide. White space (true for >1 consecutive space?) and line returns between codes are respected in the template output.

Title: Re: importing atom/rdf
Post by Mark Bernstein on Aug 17th, 2007, 11:05am

Not quite yet, but Atom import *is* on the roadmap.

Title: Re: importing atom/rdf
Post by Mark Bernstein on Aug 18th, 2007, 1:28pm

We're planning a new, more powerful XML import facility.  It's likely, by its nature, to be primarily useful for expert users, with plug-ins that handle specific formats.  

Atom is one obvious target; some of the microformats might also make sense for this.

Title: Re: importing atom/rdf
Post by Stephen De Gabrielle on Aug 18th, 2007, 2:39pm

Cool!

I'm hoping you will cover document (docbook, tei, etc) as well as data flavours of xml languages?  (the first mapping to notes and their children, the second mapping tags to note attributes. )

Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com) » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.