In Grafoscopio's[0] case, what we did was to store notebooks in STON format (kind of JSON for Smalltalk[1]) in a Fossil[2] repository with companion jpegs or other binary files. Fossil allows to store non-versioned binaries (like exported PDFs, where diff have not much sense) and all is stored in a single repo file. See, for example, our Data Driven Journalism Handbook, published at [3]. We have a flexible "%metadata" code node that can store value, key pairs, defining, where the canonical Fossil repository for the outline/notebook would be located and from there, automatize some sync operations.
[0] http://mutabit.com/grafoscopio/index.en.html [1] https://github.com/svenvc/ston/blob/master/ston-paper.md [2] http://fossil-scm.org/ [3] http://mutabit.com/repos.fossil/mapeda/ Maybe Leo could use also some combination with Fossil could be useful to store outlines, with companion binaries and package them into a single file. Cheers, Offray On 29/12/17 21:06, Terry Brown wrote: > I think storing blobs in the xml outline would be limited, overhead > and file size wise. Storing them in a sqlite db is a good way to go. > There are issues to deal with width moving them in tandem with the leo > file, so you select subsets, manage multiple sqlite files, etc. > > The other thing to bear in mind is storing the leo outline in the > sqlite file, I think Vitalije has that working to proof of concept > level art least. > > Cheers - Terry > > On December 29, 2017 5:25:58 PM CST, T C <tsc.v...@gmail.com> wrote: > > Welcome to the conversation. I'm still a little unclear about > this. I'm a programming > neophyte and my mind tends to come up with so many possibilities > that I find myself > asking more questions. > > I was told by Mr. Brown that Leo does not handle binary files. > How, then would it be > possible to store them in an outline (other than by importing the > hex text representation > (which I did by accident)) - I assume you could then > "reconsititute" it. I think this is a bad > idea, though, because it consumes a high level of resources and > "pauses" Leo for a few > seconds, even with an image file. > > I think I coud manage the rest of the blob filing system but I'd > need to know a good way > to store the blobs in the outline. > > Anyone? > > Thanks! > > tsc > > > On Fri, Dec 29, 2017 at 2:47 PM, Chris George > <technat...@gmail.com <mailto:technat...@gmail.com>> wrote: > > The ability to store .jpg, .zip, .mp4 etc. directly without > links to the filesystem. And organize them into a tree and > attach textual information. > > Basically everything we can now do with text, but with anything. > > Chris > > On Fri, Dec 29, 2017 at 1:16 PM, tscv11 <tsc.v...@gmail.com > <mailto:tsc.v...@gmail.com>> wrote: > > If you would, please elaborate on making a 'permanent > filing system' for blobs. I'm not > sure what you mean. > > Thanks, > > tsc > > > -- > You received this message because you are subscribed to > the Google Groups "leo-editor" group. > To unsubscribe from this group and stop receiving emails > from it, send an email to > leo-editor+unsubscr...@googlegroups.com > <mailto:leo-editor+unsubscr...@googlegroups.com>. > To post to this group, send email to > leo-editor@googlegroups.com > <mailto:leo-editor@googlegroups.com>. > Visit this group at > https://groups.google.com/group/leo-editor > <https://groups.google.com/group/leo-editor>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > You received this message because you are subscribed to a > topic in the Google Groups "leo-editor" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/leo-editor/ZjCcFql4wME/unsubscribe > > <https://groups.google.com/d/topic/leo-editor/ZjCcFql4wME/unsubscribe>. > To unsubscribe from this group and all its topics, send an > email to leo-editor+unsubscr...@googlegroups.com > <mailto:leo-editor+unsubscr...@googlegroups.com>. > To post to this group, send email to > leo-editor@googlegroups.com <mailto:leo-editor@googlegroups.com>. > Visit this group at https://groups.google.com/group/leo-editor > <https://groups.google.com/group/leo-editor>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. -- > You received this message because you are subscribed to the Google > Groups "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to leo-editor+unsubscr...@googlegroups.com > <mailto:leo-editor+unsubscr...@googlegroups.com>. > To post to this group, send email to leo-editor@googlegroups.com > <mailto:leo-editor@googlegroups.com>. > Visit this group at https://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.