Skip to content

JereckNET/OPMLCore.NET

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPMLCore.NET

OPMLCore.NET is OPML Parser which easy to use for .NET Core Applications.

It is written in C# and with Visual Studio Code.

It supports .NET Core 2.0.

Setting

You shoud add project refference to your project.

The below is sample .csproj which is added project refference.

  <ItemGroup>
    <ProjectReference Include="..\src\OPMLCore.NET\OPMLCore.NET.csproj" />
  </ItemGroup>

And then dotnet restore.

Usage

How to use is below.

using OPMLCore.NET; //Add

Opml opml = new Opml("opmlFilePath");

foreach (Outline outline in opml.Body.Outlines) 
{
    //Output outline node
    Console.WriteLine(outline.Text);
    Console.WriteLine(outline.XMLUrl);
    
    //output child's output node
    foreach (Outline childOutline in outline.Outlines)
    {
        Console.WriteLine(childOutline.Text);
        Console.WriteLine(childOutline.XMLUrl);                    
    }
}

For more detail, show test code or source code.

License

Lisense is MIT License.

About

OPML Parser for .NET Core (C#)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%