1.0.0 • Published 8 years ago

gulp-blogger-save-theme v1.0.0

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

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