Excerpts from Harshad RJ's message of 2013-06-01 08:36:47 -0400:
> Mark, do you have any plans to share the RoR app?

Eventually.  I had to stop work on it for a while, but I will get back
to it eventually.

Sorry about the confusion about this.  My original email didn't go to
the mailing list because I forgot that Google Groups requires your
"From:" address to be your gmail address.  What I said was that I have
been working on a simple Ruby on Rails app that provides a read-only
view of ledger data.  I wrote this because I wanted my spouse to be
able to look at that data, but she uses a Mac and I use Linux, and I
didn't want to have to train her to ssh to the Linux box and use the
command line.  But I can easily point her to the URL for the Rails
app.

So far I have views for accounts and register views.  These simply run
'ledger bal' and 'ledger register' with format specifiers that make
the output easy to parse.

I also wanted to develop a transaction view, but ran into problems.
First, the XML output was invalid (lots of end tags with no matching
start tag), so my attempt to use libxml to parse it failed.  Then I
tried using the python interface, but couldn't figure out from the
examples and documentation how to iterate over the transactions.  So I
started writing a ledger reader in Ruby: it parses the output of
'ledger print'.  This is not ideal, but it was the best I could do.
I'll abandon this approach if I can get the python to work.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to