Feeds finder is Go package that provides functions for finding RSS/Atom feeds in a web page.
go get github.com/gilliek/go-feedsfinder/feeds
Typical usage:
package main
import (
"fmt"
"log"
"github.com/gilliek/go-feedsfinder/feeds"
)
func main() {
links, err := feeds.FindFromURL("http://www.example.com")
if err != nil {
log.Fatal(err)
}
fmt.Println(links)
//...
}
Output:
[{http://blog.golang.org/feed.atom atom}]
See the document for more details.
Document can be found on GoWalker or GoDoc
BSD 3-clauses