0.1.19 • Published 10 years ago

detectfeed v0.1.19

Weekly downloads
55
License
-
Repository
-
Last release
10 years ago

detectfeed

Detect RSS/Atom feed for an URL

Install

Install with npm

npm install detectfeed

Usage

Use detectFeedUrl() for discovering the RSS/Atom feed for an URL

var detectFeedUrl = require("detectfeed").detectFeedUrl;

detectFeedUrl("http://techcrunch.com", function(error, info){
    console.log(info);
});

Outputs

{
    url: 'http://techcrunch.com/',
    feed: 'http://techcrunch.com/feed/',
    type: 'wordpress',
    icon: {
        url: "http://techcrunch.com/favicon.ico",
        contentType: "image/x-icon"
    }
}

License

MIT

0.1.19

10 years ago

0.1.17

11 years ago

0.1.16

11 years ago

0.1.15

11 years ago

0.1.14

11 years ago

0.1.13

11 years ago

0.1.12

11 years ago

0.1.11

11 years ago

0.1.10

11 years ago

0.1.9

11 years ago

0.1.7

12 years ago

0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago