@knight-lab/googledrive2jekyll
Grabs images and Google Docs in a designated folder marked up with ArchieML and turns them into Jekyll post files.
Last updated 4 months ago by joegermuska .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @knight-lab/googledrive2jekyll 
SYNC missed versions from official npm registry.

GoogleDrive2Jekyll

Knight Lab publishing system using Google Drive to Jekyll.

Posts example:

const path = require('path');
const GoogleDriveToJekyll = require('@knight-lab/googledrive2jekyll').GoogleDriveToJekyll;

const BASE_PATH = path.resolve('./website');
const POST_PATH = "/_results/";
const IMAGE_PATH = "/assets/results/";
const FOLDER_ID = "google_drive_unique_id_goes_here";
const OPTIONS = {
    em_bold: true,
    layout_type: null
};

const drive_to_jekyll = new GoogleDriveToJekyll(BASE_PATH, POST_PATH, IMAGE_PATH, FOLDER_ID, OPTIONS);
drive_to_jekyll.fetch();

People example:

const path = require('path');
const SpreadsheetToJekyllPeople = require('@knight-lab/googledrive2jekyll').SpreadsheetToJekyllPeople;

const BASE_PATH = path.resolve('./website');
const PEOPLE_PATH = "/_people/";
const IMAGE_PATH = "/assets/people/";
const SPREADSHEET_ID = "google_spreadsheet_unique_id_goes_here";

const spreadsheet_to_people = new SpreadsheetToJekyllPeople(BASE_PATH, PEOPLE_PATH, IMAGE_PATH);

spreadsheet_to_people.fetch(SPREADSHEET_ID, {
    check_studio_flag:true,
    image_url_prefix: "http://knightlab.northwestern.edu"
});

Current Tags

  • 1.3.3                                ...           latest (4 months ago)

21 Versions

  • 1.3.3                                ...           4 months ago
  • 1.3.2                                ...           7 months ago
  • 1.3.1                                ...           7 months ago
  • 1.3.0                                ...           7 months ago
  • 1.2.9                                ...           7 months ago
  • 1.2.7                                ...           9 months ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.9                                ...           a year ago
  • 1.1.8                                ...           a year ago
  • 1.1.7                                ...           a year ago
  • 1.1.6                                ...           a year ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 21
Last Month 24
Dependencies (13)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |