https://github.com/y-yagi/rssfinder
https://github.com/y-yagi/rssfinder
golang rss
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/y-yagi/rssfinder
- Owner: y-yagi
- License: mit
- Created: 2021-03-28T05:09:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T07:27:44.000Z (over 3 years ago)
- Last Synced: 2025-07-14T15:54:21.016Z (12 months ago)
- Topics: golang, rss
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# rssfinder
[](https://github.com/y-yagi/rssfinder/actions/workflows/ci.yml)
[](https://pkg.go.dev/github.com/y-yagi/rssfinder)
`rssfinder` is a library that finds RSS feeds from an URL.
Example:
```go
package main
import (
"fmt"
"github.com/y-yagi/rssfinder"
)
func main() {
feeds, err := rssfinder.Find("https://github.com/y-yagi/rssfinder/releases")
if err != nil {
fmt.Printf("Find error: %v\n", err)
return
}
for _, feed := range feeds {
fmt.Printf("Type: '%v', Title: '%v', Href: '%v'\n", feed.Type, feed.Title, feed.Href)
// Type: 'application/atom+xml', Title: 'rssfinder Release Notes', Href: 'https://github.com/y-yagi/rssfinder/releases.atom'
// Type: 'application/atom+xml', Title: 'rssfinder Tags', Href: 'https://github.com/y-yagi/rssfinder/tags.atom'
}
}
```