package parser
import "miniflux.app/reader/parser"
Index ¶
- Constants
- func DetectFeedFormat(data string) string
- func ParseFeed(baseURL, data string) (*model.Feed, *errors.LocalizedError)
Constants ¶
const ( FormatRDF = "rdf" FormatRSS = "rss" FormatAtom = "atom" FormatJSON = "json" FormatUnknown = "unknown" )
List of feed formats.
Functions ¶
func DetectFeedFormat ¶
DetectFeedFormat tries to guess the feed format from input data.
func ParseFeed ¶
func ParseFeed(baseURL, data string) (*model.Feed, *errors.LocalizedError)
ParseFeed analyzes the input data and returns a normalized feed object.
Source Files ¶
format.go parser.go
- Version
- v1.0.46 (latest)
- Published
- Jul 22, 2023
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 2 weeks ago –
Tools for package owners.