Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.96 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.96 KB

drive-in

publish a simple website from a public google drive folder without coding in HTML. Only some markdown syntax are required for bod or italic Everythiong else is driven by googledocs!

advanced usages

To be used in conjunction with editey which allow you to comment and edit collaboratively on every pieces of code!

How to install: 30 sec. installation

Drive-in uses just one (public) folder as website root and generates a one-level structure of subfolders as menu entries.

Apply for a google public API key, clone the project, copy the file settings.sample.js into settings.js and modify it according to your need... Voila the default settings :

'use strict';

var settings = {
	baseUrl: 'https://drive.google.com/folderview?id='// the google drive sharing base url
};

/*
  	Modify according to your own data ...
*/
settings.apiKey = 'your (public!) api key';
settings.defaultFolder = 'your public default folder';
settings.title = 'DRIVE-IN'

That'is

Q&A

"I want to add a bookmark (internal link) into a google document"

In Google Docs, the links between different parts of the same documents are made by bookmarks. Drive-in can recognize those links and transform them in html anchor links.

"... and if I want to use vimeo videos?"

This is a markdown magic. Just type in a google doc a line starting with ^^vimeo followed by the vimeo share link:

Oh! bla bla bla...

^^vimeo http://vimeo.com/38447770

Eh! bla bla bla...

configure google analytics

Thanks to angularytics. The google analytics script is executed directly inside index.html. Every step in every angular view is quietly recorded.