Discover Packages
github.com/pilu/feedfinder
package
module
Version:
v0.0.0-...-eca0977
Opens a new window with list of versions in this module.
Published: Jan 7, 2015
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Feedfinder
Feedfinder is a Go library that you can use to discover feed links on web pages.
package main
import (
"fmt"
"log"
"github.com/pilu/feedfinder"
)
func main() {
links, err := feedfinder.Find("http://blog.golang.org")
if err != nil {
log.Fatal(err)
}
for _, link := range links {
fmt.Printf("%s (%s): %s\n", link.Title, link.Type, link.URL.String())
}
}
Author
Expand ▾
Collapse ▴
Documentation
¶
Package feedfinder - autodiscovers feed url on web pages.
A FeedLink represents the link tag with it's main attributes, Type, Href, Title and URL.
The URL is always absolute, and it's based on the page's URL if the Href attribute is relative.
Find searches for feed links on rawurl
Source Files
¶
Directories
¶
cmd
feedfinder
Feedfinder discovers feed links on web pages.
Feedfinder discovers feed links on web pages.
Click to show internal directories.
Click to hide internal directories.