Coder Social home page Coder Social logo

ofx-parser's People

Contributors

aasmith avatar d-ray avatar danawoodman avatar jisaac01 avatar jsmecham avatar libkazz avatar medius avatar russss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofx-parser's Issues

BranchId missing

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.

XML header support

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"?>

undefined method 'bank_accounts'

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

Remove hpricot

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.

Dealing with invalid XML, mostly missing closing tags

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?

Add hash and eql? methods to Transaction based on fit_id

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.