Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownFeed = &FeedError{"unknown or unsupported RSS/Atom format"}
Functions ¶
This section is empty.
Types ¶
type Feed ¶
Feed represents a normalized RSS/Atom feed.
type FeedError ¶
type FeedError struct {
Msg string
}
FeedError is an implementation of error for feed parsing.
type FeedType ¶
type FeedType string
func DetectFeedType ¶
DetectFeedType performs a lightweight sniff-test on raw bytes to determine the likely feed format (RSS 2.0, RSS 1.0, or Atom).
This does *not* perform any XML unmarshalling — it is strictly a string-based prefix and tag-name check.
Click to show internal directories.
Click to hide internal directories.