# README
feedfinder
A tiny Go package and executable to find RSS and Atom feed URLs from the content of a Web page.
Package usage example
package main
import (
"fmt"
"github.com/SpecializedGeneralist/feedfinder"
"log"
)
func main() {
feeds, err := feedfinder.FindFeeds("https://go.dev", 2)
if err != nil {
log.Fatal(err)
}
for _, feed := range feeds {
fmt.Println(feed)
}
}
Command line example
feedfinder -url https://go.dev -depth 2
License
Feedfinder is licensed under the BSD 2-Clause "Simplified" License.
# Packages
No description provided by the author
# Functions
FindFeeds searches for RSS or Atom Feed URLs, starting from initialURL and recursively following links, up to maxDepth levels.
# Variables
HostBlacklist is a list of host names to be excluded from the process of searching for feeds.
URLPrefixBlacklist allows discarding invalid or undesired URLs based on their prefix.