On Sat, Dec 18, 2010 at 4:37 AM, taa, Leo Newbie <[email protected]> wrote: > Do I know what I'm doing? No. Do I know Python? No. But I can study the code > to try to figure things out as best I can. Then holler for help on this > forum. :D
Always a good plan :-) So you want '~' to denote a clone? I suppose this would work, but it's not "safe" in the sense that it will use the headline text, rather than a unique gnx, to identify nodes that should be clones. Before getting into details, I think it might be best to step back and think of some alternatives. Rather than create a new file format, and complex code to parse same, my inclination would be to create a python script that would import the information directly into a Leo outline. It that works it will be much simpler than the way you are proposing. In other words, creating an intermediate file which you then import creates a very complex unnecessary step. If you have information you want to import, it will probably be much easier to open that information in a Leo script, which then creates nodes using p.insertAsNthChild or p.insertAfter. HTH. Please feel free to continue this conversation. It's interesting. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
