/gss

go + rss = gss :rainbow:

Primary LanguageGoMIT LicenseMIT

gss

Build Status GoDoc Go Report Card License

go + rss = gss.
gss is client to parse RSS Feed (rdf, rss, atom...).

support

Installing

$ go get github.com/naoto0822/gss/gss

Usage

Parse RSS feed

import "github.com/naoto0822/gss/gss"

Construct a new gss client, then use the Parse on the client to parse RSS feed.
Parse returned gss.Feed.

url := "https://jp.techcrunch.com/feed/"
client := gss.NewClient()
feed, err := client.Parse(url)

Model Preview

gss.Feed is original and universal feed.
refer GoDoc for details.

TODO: rewrite following table style...

feed
feed.RSSType
feed.Title
feed.Links
feed.Description
feed.Image
feed.CopyRight
feed.PubDate
feed.Updated
feed.Authors
feed.Categories
feed.Items

image
image.Title
image.URL
image.Link
image.Width
image.Height

item
item.ID
item.Title
item.Links
item.Body
item.PubDate
item.Updated
item.Authors
item.Categories

author
author.Name
author.Email

Features

License

This library is distributed under the MIT-style license found in the LICENSE file.