OPML JavaScript Object Model Updates

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; }

About Me: Paul Kinlan

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.