
fulekia at denison
May 18, 2010, 10:39 AM
Post #23 of 32
(2159 views)
Permalink
|
On May 17, 2010, at 4:49 PM, Bret Dawson wrote: > But Matt's right: there's a big appetite for this out there, so even > having it in contrib (or in the template wiki) would be super useful. Totally. I spent a lot of time thinking about the UX workflow for this last fall, in regards to the "Import OpenOffice documents through SOAP" ticket: http://bricolage.lighthouseapp.com/projects/29601/tickets/16 Unfortunately I can't find my notes right now, but my thought was to create a mapping process for importing/exporting XML or other structured data, to avoid the "rigid" structure problems David alluded to earlier. The use case I imagined was XML-oriented (OpenOffice, DocBook, RSS/Atom), but something more generic would be awesome. Some thoughts on the components needed in a possible import/export scenario: 1) A bricolage object that describes an external data element (Word Style, XML element), its occurrence specifications, what it contains, etc. 2) A bricolage object that describes an external document type, mapping its data elements to bricolage elements/each other, and default/exception behaviors (e.g., ignore/die/use default value if element X is missing). 3) A method for creating, importing or referencing the element maps (create one in the UI, import them via SOAP, etc.). 4) A method for pushing content through the mapping filters (import word document, export RSS, etc.) 5) Job types for scheduling import/export jobs. Once you've done a couple of import filters, #1 would yield a pretty decent standard vocabulary of data elements, which might not be a bad thing to include in bricolage. I know we're all about the document modeling, which is very important, but a standard element vocab would help novice users a lot, I think. -Aaron --------------------------------- Aaron Fuleki Senior Web Architect Denison University 740.587.5752 ---------------------------------
|