0.4.12 • Published 2 years ago

feedrat v0.4.12

Weekly downloads
28
License
SEE LICENSE FILE
Repository
-
Last release
2 years ago

Feedrat

Search, find and report a web page's RSS feed


pipeline status coverage website Liberapay Liberapay Ko-Fi

Features

Searches for a feed using two strategies: usual suspects (url/feed, url/rss.xml, etc.) and DOM scraping in two places : The very URL, and then the domain thereof.

  • Parse the DOM of the URL for a link rel
  • Parse the DOM of the domain for a link rel
  • Check the URL for usual suspects
  • Check the domain for usual suspects

And returns an array containing the URLs found.

Installation

npm install feedrat

Testing

npm test

Usage

const feedrat = require('feedrat');

feedrat('https://www.reddit.com/r/news', function(err, feeds) {

    if (feeds) {
        res.send(feeds)
    } else {
        res.status(500).send('No feed found')
    }

});

Brought to you ♫ by yPhil Please consider ♥ helping icon by Mattahan (Paul Davey)

0.4.10

2 years ago

0.4.11

2 years ago

0.4.12

2 years ago

0.4.8

2 years ago

0.4.7

3 years ago

0.5.0

3 years ago

0.4.6

3 years ago

0.4.5

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.1.54

5 years ago

0.1.53

5 years ago

0.1.52

5 years ago

0.1.51

5 years ago

0.1.48

6 years ago

0.1.47

6 years ago

0.1.46

6 years ago

0.1.45

6 years ago

0.1.44

6 years ago

0.1.43

6 years ago

0.1.42

6 years ago

0.1.41

6 years ago

0.1.40

6 years ago

0.1.39

6 years ago

0.1.38

6 years ago

0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.34

6 years ago

0.1.33

6 years ago

0.1.32

6 years ago

0.1.31

6 years ago

0.1.30

6 years ago

0.1.29

6 years ago

0.1.28

6 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

6 years ago

0.1.23

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.16

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago