feed2.0.4 • Public • Published
jpmonette/feed - RSS 2.0, JSON Feed 1.0, and Atom 1.0 generator for Node.js
Making content syndication simple and intuitive!
👩🏻💻 Developer Ready: Quickly generate syndication feeds for your Website.
💪🏼 Strongly Typed: Developed using TypeScript / type-safe.
🔒 Tested: Tests & snapshot for each syndication format to avoid regressions.
$ yarn add feed
;const feed =title: "Feed Title"description: "This is my personal feed!"id: ""link: ""language: "en" // optional, used only in RSS 2.0, possible values:image: ""favicon: ""copyright: "All rights reserved 2013, John Doe"updated: 2013 6 14 // optional, default = todaygenerator: "awesome" // optional, default = 'Feed for Node.js'feedLinks:json: ""atom: ""author:name: "John Doe"email: "firstname.lastname@example.org"link: "";posts;feed;feed;console;// Output: RSS 2.0console;// Output: Atom 1.0console;// Output: JSON Feed 1.0
If you are migrating from a version older than
3.0.0, be sure to update your import as we migrated to ES6 named imports.
If your environment supports the ES6 module syntax, you can
import as described above:
Otherwise, you can stick with
- const Feed = require('feed');+ const Feed = require('feed').Feed;
- Follow @jpmonette on Twitter for updates
- Read my personal blog Blogue de Jean-Philippe Monette to learn more about what I do!
Copyright (C) 2013, Jean-Philippe Monette email@example.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.