go-rss/README

24 lines
402 B
Plaintext
Raw Normal View History

Simple RSS parser, tested with various feeds.
2012-08-02 09:43:05 +00:00
License: Public Domain
## Installation
go get github.com/ungerik/go-rss
## Usage
import "github.com/ungerik/go-rss"
channel, err := rss.Read("https://en.blog.wordpress.com/feed/")
if err != nil {
fmt.Println(err)
}
fmt.Println(channel.Title)
for _, item := range channel.Item {
fmt.Println(item.Title)
}