0.0.5 • Published 12 years ago

restatic v0.0.5

Weekly downloads
5
License
-
Repository
github
Last release
12 years ago

Restatic from BinaryAge

A command-line utility which can pump spreadsheet data to your static web!

Technical information

How it works

Restatic takes your static web and replaces restatic markup with dynamic data, say fields from Google Spreadsheets.

When you launch restatic, it will:

  • copy the source to target directory
  • extract data from Google Spreadsheets and build associative array
  • process contents of target directory and replace all marks with associated fields

You may write your own extractor

Extend the class Extractor and write function extract which will return the associative array with markup in key and data in value - eg. { "/-Posts-2B-/": "Hello world" }

And its installable throught NPM

npm install https://github.com/binaryage/restatic/tarball/v0.3

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago