aasmith / ofx-parser Goto Github PK
View Code? Open in Web Editor NEWParses OFX
Home Page: http://ofx-parser.rubyforge.org
Parses OFX
Home Page: http://ofx-parser.rubyforge.org
I am importing a OFX file which uses the following format for date:
20120215
This is making ofx-parser throw an error saying "invalid date"
Hi, is there someone still giving maintenance to this gem?
I'd like to have BranchID in the method self.build_bank, as below:
acct.branch_id = (doc/"STMTRS/BANKACCTFROM/BRANCHID").inner_text
I need this because I have a case where there are two accounts with the same number but in different branches for a bank.
Thanks.
Files with XML headers are not supported, as in the example below.
The OFX version given in this header is 202
, but I think this header should even be supported on OFX 1.x.
<?xml version="1.0" encoding="utf-8" ?>
<?OFX OFXHEADER="200" VERSION="202" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE"?>
Hi,
I can't call bank_accounts on the ofx object. I can call bank_account, accounts etc but bank_accounts does not work.
I am looking into it now and will let you know how I go.
Thanks,
Cameron
Hpricot is dead (thus unsupported).
Moving to Nokogiri may be possible, although the underlying SGML structure of OFX may reveal some disparities where Hpricot was more liberal.
A subset of an SGML parser may be more appropriate.
I've tried using this package to parse OFX data from three totally different banks. It seems they all generate invalid XML. It's mostly due to missing closing tags, lots of these errors:
Opening and ending tag mismatch
I noticed that the input lines get passed through a method called closeUnclosedXmlTags()
, but doesn't seem to help in my case.
Does anybody have a way of dealing with this?
I am importing a OFX file which get from minato bank.
This is making ofx-parser throw an error saying "invalid date"
ofx file is below
https://gist.github.com/rirufa/43edcd69fa4f7eeb9ade
Quite frequently I end up having to combine multiple overlapping OFX statements, which I'm doing by monkeypatching the Transaction class to add hash
and eql?
methods, then adding everything to a Set
.
Do you think it would be worthwhile adding this to the core ofx-parser class?
def eql?(other)
self.fit_id == other.fit_id
end
def hash()
self.fit_id.hash
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.