opml

package
v0.0.0-...-56114fe Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportOpml

func ExportOpml(tree *models.Folder, filename string) error

ExportOpml exports the given folder (with associated feeds and child folders) to a file of the given filename in OPML format. The file is created with 0777 mode if it does not exist.

Types

type Opml

type Opml struct {
	Header  header
	Folders models.Folder
}

Opml is a nested tree of folders.

func ParseOpml

func ParseOpml(filename string) (*Opml, error)

ParseOpml open a file and returns a parsed OPML object.

Jump to

Keyboard shortcuts

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