0.2.2 • Published 8 years ago

grunt-pubsubhubbub_publish v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

grunt-pubsubhubbub_publish

Publish a feed updates to a PubSubHubbub hub.

INSTALL

$ npm install --save-dev grunt-pubsubhubbub_publish

CONFIGURE

module.exports = function (grunt) {
  grunt.initConfig({
    pubsubhubbub_publish: {
      main: {
        options: {
          hub: "http://example.org/hub"
        },

        hubUrl: "http://example.com/feed"
      }
    }
  });
};
grunt.loadNpmTasks("grunt-pubsubhubbub_publish");

options.hub

Default: https://pubsubhubbub.appspot.com/

Optional. URL points to PubSubHubbub hub.

hubUrl

Default: homepage field value in your package.json suffixed feed

Optional. URL of your feed.

If:

  • You don’t specify this option
  • Your package.json has homepage field
  • Its value is https://example.com

this task guesses hubUrl:

https://example.com/feed

LICENSE

MIT: http://hail2u.mit-license.org/2014

0.2.2

8 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago