MCPcopy Index your code
hub / github.com/SlyMarbo/rss

github.com/SlyMarbo/rss @v2.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.1 ↗ · + Follow
84 symbols 227 edges 19 files 36 documented · 43% updated 7mo ago★ 411

Browse by type

Functions 56 Types & classes 28
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

rss

GoDoc

RSS is a small library for simplifying the parsing of RSS and Atom feeds. The package conforms to the RSS 1.0, RSS 2.0, and Atom 1.0 specifications.

If you encounter any problems with feeds being parsed incorrectly, please open an issue on GitHub.

Example usage:

package main

import (
    "context"

    "github.com/SlyMarbo/rss/v2"
)

func main() {
    reader, err := rss.NewReader()
    if err != nil {
        // handle error.
    }

    feed, err := reader.Fetch(context.Background(), "https://example.com/rss")
    if err != nil {
        // handle error.
    }

    // ... Some time later ...

    err = reader.UpdatePatiently(feed)
    if err != nil {
        // handle error.
    }
}

The library does its best to follow the appropriate specifications and not to set the NextUpdate time too soon. It currently follows all update time management methods in the RSS 1.0, 2.0, and Atom 1.0 specifications. If one is not provided, it defaults to 12 hour intervals. If you are having issues with feed providors dropping connections, use WithDefaultUpdateInterval to set the default update interval.

The project is not proactively maintained, but I'll respond to issues and PRs as soon as I can.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 33
Struct 26
Method 23
FuncType 1
Interface 1

Languages

Go100%

Modules by API surface

rss.go20 symbols
rss2/rss2.go8 symbols
atom1/atom1.go7 symbols
time_test.go6 symbols
rss1/rss1.go6 symbols
feed.go6 symbols
internal/testar/testar_test.go5 symbols
internal/testar/testar.go5 symbols
time.go4 symbols
rss_test.go3 symbols
cmd/rss-new-test/main.go3 symbols
rss2.go2 symbols

For agents

$ claude mcp add rss \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page