Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

AtomFeed

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

AtomFeed

Atom Feed (RSS) library for .NET Framework.

Source
nugetNuGet
Version
1.0.0
Version published
Maintainers
1
Created
Source

AtomFeed

The Atom Syndication Format is an XML language used for web feeds.

This project is a .NET implement of The Atom Syndication Format (RFC 4287). Follows and conforms to W3C Atom feed validation.

Installation

dotnet add package AtomFeed

Usage

Serialize:

using AtomFeed;
using AtomFeed.Element;

var feed = new Feed
{
    Id = "urn:uuid:" + Guid.NewGuid().ToString(),
    Title = "My Blog Feed",
    Updated = DateTimeOffset.UtcNow,
    Entries =
    [
        new Entry
        {
            Id = "urn:uuid:" + Guid.NewGuid().ToString(),
            Title = "My First Article",
            Updated = DateTimeOffset.UtcNow
        }
    ]
};

var xmlDocument = AtomFeed.Serialize(feed);

Deserialize:

using AtomFeed;

var feed = AtomFeed.Deserialize(xml);

License

The MIT License

Keywords

Atom

FAQs

Package last updated on 13 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts