On Thu, May 20, 2010 at 9:11 AM, Terry Brown <[email protected]> wrote:
> On Thu, 20 May 2010 07:20:52 -0500
> "Edward K. Ream" <[email protected]> wrote:
>
>> I suppose I could say that running the bridge from Leo is the problem.
>>  You don't need the bridge inside Leo, usually.

I'm working on code which treats the .leo file as a datastore.
I consider leoBridge sort of an ODBC layer.
I call the code from Leo because that's where I'm developing it.

>
>
> Kent, see also http://leo.zwiki.org/LeoBridgeSubprocess for ideas.

Yeah, you are referring to the kind of use cases that interest me.

I'm using methods which return nodes of interest like:
    return {
        'headline': node.h,
        'body': node.b,
        'gnx': node.gnx,
        'key': node.key(),
        'level': node.level()
        }

also, returning the above dict as a json object.




>
> Cheers -Terry
>
> --
> 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.
>
>

-- 
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.

Reply via email to