rssfinder

package module
v0.0.0-...-35f5c86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: MIT Imports: 2 Imported by: 0

README

rssfinder

Install the rssfinder using the following command:

go get github.com/numb95/rssfinder

Import it in the project:

import "github.com/numb95/rssfinder"

Index

func FindRSSFeeds

func FindRSSFeeds(url string) ([]string, error)

FindRSSFeeds finds the RSS feeds in a webpage.

Example Code

package main

import (
	"fmt"
	"github.com/numb95/rssfinder"
)

func main() {
	url := "https://goodarzi.net"
	rss, err := rssfinder.FindRSSFeeds(url)
	if err != nil {
		panic(err)
	}
	for _, feed := range rss {
		fmt.Println(feed)
	}
}

License

This project is licensed under the MIT license

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindRSSFeeds

func FindRSSFeeds(url string) ([]string, error)

FindRSSFeeds finds the RSS feeds in a webpage.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL