How to use the feed.feed function in feed

To help you get started, we’ve selected a few feed examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github twigjs / twig.js / demos / twitter_backbone / js / view / feedView.js View on Github external
, function (require, exports, module) {
        var feed = require("feed").feed
            , Backbone = require("backbone")
            , TweetView = require("tweetView").TweetView

            // The FeedView is a simple container of TweetViews and therefore
            // doesn't need a template. The ul element provided by the Backbone
            // View is sufficient.
            , FeedView = Backbone.View.extend({
                tagName: "ul"
                , className: "feed"

                , initialize: function() {
                    // Bind to model changes
                    feed.bind('add',   this.addTweet, this);
                    feed.bind('reset', this.addAll,   this);

                    // Load stored tweets from local storage
github twigjs / twig.js / demos / twitter_backbone / js / view / appView.js View on Github external
, function (require, exports, module) {
        var twig = require("twig").twig
            , Backbone = require("backbone")
            , feed = require("feed").feed

            // The application template
            , template = twig({
                href: 'templates/app.twig'
                , async: false
            })
            
            , FeedView = require("feedView").FeedView
            , feedView = new FeedView

            , AppView = Backbone.View.extend({
                tagName: "div"
                , className: "app"

                // Bind to the buttons in the template
                , events: {

feed

Feed is a RSS, Atom and JSON feed generator for Node.js, making content syndication simple and intuitive!

MIT
Latest version published 3 years ago

Package Health Score

64 / 100
Full package analysis