0.4.12 • Published 3 years ago

feedrat v0.4.12

Weekly downloads
28
License
SEE LICENSE FILE
Repository
-
Last release
3 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

3 years ago

0.4.11

3 years ago

0.4.12

3 years ago

0.4.8

3 years ago

0.4.7

4 years ago

0.5.0

4 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.1.54

6 years ago

0.1.53

6 years ago

0.1.52

6 years ago

0.1.51

6 years ago

0.1.48

7 years ago

0.1.47

7 years ago

0.1.46

7 years ago

0.1.45

7 years ago

0.1.44

7 years ago

0.1.43

7 years ago

0.1.42

7 years ago

0.1.41

7 years ago

0.1.40

7 years ago

0.1.39

7 years ago

0.1.38

7 years ago

0.1.37

7 years ago

0.1.36

7 years ago

0.1.35

7 years ago

0.1.34

7 years ago

0.1.33

7 years ago

0.1.32

7 years ago

0.1.31

7 years ago

0.1.30

8 years ago

0.1.29

8 years ago

0.1.28

8 years ago

0.1.27

8 years ago

0.1.26

8 years ago

0.1.25

8 years ago

0.1.24

8 years ago

0.1.23

8 years ago

0.1.22

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago