Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

jlobos/gulp-blogger-save-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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