Documentation ¶
Overview ¶
Package feeds provides functions for finding RSS/Atom feeds in a web page.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { // URL contains the reference to the RSS/Atom feed. URL string // Type is the type of the feed. It can be either "rss" or "atom". Type string }
Link holds information about a link to a RSS or Atom feed.
func Find ¶
Find finds RSS/Atom feeds in a web page given as a byte slice.
baseURL is the URL of the web page. This is used to deal with absolute path.
func FindFromFile ¶
FindFromFile finds RSS/Atom feeds in a web page given as a file path.
baseURL is the URL of the web page. This is used to deal with absolute path.
func FindFromURL ¶
FindFromURL finds RSS/Atom feeds in a web page given as an URL.
Click to show internal directories.
Click to hide internal directories.