jsonfeed

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package jsonfeed converts JSON Feed metadata to/from the commonmeta metadata format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read added in v0.2.1

func Read(content Content) (commonmeta.Data, error)

Read reads JSON Feed metadata and converts it into Commonmeta metadata.

Types

type Content

type Content struct {
	ID    string `json:"id"`
	Title string `json:"title"`
}

Content represents the JSON Feed metadata.

func Get added in v0.2.1

func Get(id string) (Content, error)

Get retrieves JSON Feed metadata.

Jump to

Keyboard shortcuts

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