OPML .Net Object Model

[This is the second time I typed this because IE7 suddenly closed down whilst I was typing the original post.]

I have been playing around with the .Net XML Serialization over the past couple of days. I thought it would be a good idea to create an object based roughly around the OPML 2.0 DRAFT spec. With the intent of being able to serialize and deserialize OPML files with ease.

I had some successes with Serializing the OPML Object. I had developed the OPML Object model with constraints in which are defined in the spec, so the OPML file was correctly formed when it was serialized.

I had problems with the de-serializing. I could not get the XML Deserializer to enforce some of the constraints that I had placed on public propertties, so it was infact possible to load an incorrectly constructed OPML file.

I will post the code later. But I will keep playing with the code.

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.