OPML JavaScript Object Model Updates

Paul Kinlan

There have been some minor updates to the OPML JavaScript Object Model. I have added support for an OPML Attribute which are attached to an Outline. This was done so that it is much more flexible and allows developers to add proper attribute combinations to an Outline. Furthermore, I borrowed an instanceOf method from some site (if you know the site let me know) which enforce some sort of type checking when inserting OPMLOutlineAttributes to the attribute array.

The javascript I borrowed was this:
function instanceOf(object, constructor) while (object != null) { if (object == constructor.prototype) return true; object = object.proto; } return false; }

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium