Home

Awesome

gulp-blogger-save-theme

Build Status XO code style

Save theme of Google Blogger from Node.js

Install

npm install --save-dev gulp-blogger-save-theme

Usage

const gulp = require('gulp')
const blogger = require('gulp-blogger-save-theme')

const blogID = '4207593430912310415'
const xGWTPermutation = 'code'
const xsrf = 'code'
const cookie = {
  HSID: 'value from Blogger cookie',
  SID: 'value from Blogger cookie',
  SSID: 'value from Blogger cookie'
}

gulp.task('default', () =>
  gulp
    .src('src/theme.xml')
    .pipe(blogger({ blogID, xGWTPermutation, xsrf, cookie }))
    .pipe(gulp.dest('dist'))

)

API

blogger([options])

options

Type: Object

See the blogger options.

License

MIT © Jesus Lobos