OfficeIMO.Opml 3.4.2

Prefix Reserved
dotnet add package OfficeIMO.Opml --version 3.4.2
                    
NuGet\Install-Package OfficeIMO.Opml -Version 3.4.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OfficeIMO.Opml" Version="3.4.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.Opml" Version="3.4.2" />
                    
Directory.Packages.props
<PackageReference Include="OfficeIMO.Opml" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OfficeIMO.Opml --version 3.4.2
                    
#r "nuget: OfficeIMO.Opml, 3.4.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OfficeIMO.Opml@3.4.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OfficeIMO.Opml&version=3.4.2
                    
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Opml&version=3.4.2
                    
Install as a Cake Tool

OfficeIMO.Opml

OfficeIMO.Opml creates, reads, edits, validates, converts, and writes OPML 1.0 and 2.0 documents without a third-party parser. A declared OPML 1.1 document is read using the 1.0 profile, as specified by OPML 2.0.

Install

dotnet add package OfficeIMO.Opml
using OfficeIMO.Opml;

OpmlDocument document = OpmlDocument.Create(OpmlVersion.Opml20);
document.Head.Title = "Subscriptions";

OpmlOutline folder = document.AddOutline("Technology");
OpmlOutline feed = folder.AddChild("OfficeIMO");
feed.Type = "rss";
feed.XmlUrl = "https://example.com/feed.xml";
feed.HtmlUrl = "https://example.com/";

document.Validate();
document.Save("subscriptions.opml");

Standard subscription attributes are typed, while GetAttribute and SetAttribute accept XName for namespaced extensions. Unknown attributes, elements, comments, processing instructions, and namespace declarations remain in the backing XDocument. An unchanged file or stream is written byte-for-byte; after an edit, preserved XML is serialized around the changed values.

ToOfficeDocumentModel() and FromOfficeDocumentModel() map nested outlines through OfficeDocumentModel.Structure; subscription and outline URLs are also published through OfficeDocumentModel.Links. Independent flat blocks or links are appended as top-level outlines when recursive structure does not already represent them, with a placement-loss diagnostic. Tables, assets, pages, forms, and structured visuals have no OPML outline equivalent, so reverse conversion omits each populated item with a loss diagnostic. Both conversion directions enforce OpmlConversionOptions.MaxStructureDepth and MaxStructureNodes; reverse conversion also rejects cyclic structures. Conversion results implement IOfficeConversionReport, so callers can inspect diagnostics or call RequireNoLoss().

Safety and profile limits

  • XML DTDs and external entity resolution are disabled.
  • Default limits are 16 MiB encoded input, 16 million XML characters, 128 levels, 250,000 total elements, 100,000 outlines, and 500,000 attributes. Override them with OpmlReadOptions.
  • Validation covers the OPML root/head/body contract, declared version, required text, RSS xmlUrl, and link/include url.
  • Validation and conversion retain at most 100 detailed diagnostics per code by default, followed by one occurrence summary. Override the budget with OpmlValidationOptions or OpmlConversionOptions.
  • Reader integration is provided by OfficeIMO.Reader.Opml.

The implemented vocabulary follows the OPML 2.0 specification. Targets: netstandard2.0, net8.0, net10.0, and net472 on Windows.

Dependency footprint

  • External: None.
  • OfficeIMO: OfficeIMO.Core.

See the complete OfficeIMO package map for related formats and conversion paths.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OfficeIMO.Opml:

Package Downloads
OfficeIMO.Reader.Opml

Modular OfficeIMO.Reader adapter for bounded OPML ingestion.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.4.2 54 9/9/2026
3.4.1 212 9/7/2026
3.4.0 169 9/6/2026
3.3.0 150 9/2/2026