opml

package
v2.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler handles the logic for OPML import/export.

func NewHandler

func NewHandler(store *storage.Storage) *Handler

NewHandler creates a new handler for OPML files.

func (*Handler) Export

func (h *Handler) Export(userID int64) (string, error)

Export exports user feeds to OPML.

func (*Handler) Import

func (h *Handler) Import(userID int64, data io.Reader) error

Import parses and create feeds from an OPML import.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL