Skip to content

Latest commit

 

History

History
109 lines (82 loc) · 3.86 KB

index.md

File metadata and controls

109 lines (82 loc) · 3.86 KB
layout title product product_title product_subtitle note download downloadtitle downloadsubtitle repo meta_title meta_keywords meta_description meta_image facebook retweet buzz fbsdk ogmeta shots
product2
Restatic is lightweight tool for parsing google spreadsheet content to static sites
restatic
Restatic
Pump spreadsheet data to your static web!
Download v0.2
Requires OS X 10.6 or higher
Restatic is lightweight tool for parsing google spreadsheet content to static sites
restatic,static-site,osx,google-docs,google, binaryage,software,tool
Restatic is lightweight tool for parsing google spreadsheet content to static siteskeyboard shortcut
1
1
1
1
site_name description email type title url image
BinaryAge website
Restatic is lightweight tool for parsing google spreadsheet content to static sites
honza@binaryage.com
product
Restatic
/images/restatic64.png
title thumb full
Restatic - new way to parse google docs spreadsheet to your static site.
/shared/img/totalterminal-mainshot.png
/shared/img/totalterminal-mainshot-full.png

How and Why

Why I should use Restatic

Because it's fast way to fill your page with data from the Google documents spreadsheet and its right way how to organize your page content.

Are you creating webs for clients? So use Google Documents as CMS and provide them envronment which they know and are used to work with.

How I can parse a content to my static site?

It's quite simple. First you should do is configure it - in directory in which you decided to put your content create file

restatic.yml

and put there these lines

googleSpreadSheetKey: 0AtkoCAIRJ7BPdGM2Y2tYdV9XRXNsNVVrVnFPeFIwb0E delimiter: /-, -/

What it means?

Google spreadsheet key is key which gave you google when you turned on "Publish to the web" (In File->Publish to the web). Delimiter - means separator of cell specification in html - it's optional variable - you shouldnt specify it.

How to write page content?

Just put to html something like

/-Posts-B2-/

Where '/-' and '-/' are a separators (delimiters), 'Posts' is a sheet name (gdocs spreadsheet page name), '-' is a separator between sheet name and the cell specification, 'B2' is the cell name (cell from gdocs spreadsheet on previously specified sheet).

How to parse data to site?

Just call 'restatic /path/to/source/dir /path/to/target/dir' and you freshly built site is prepared in target dir. Or go to source directory and run 'restatic -d' and your site will be generate to '_site' directory in source dir.

Inspire in our Restatic bootstrap

https://JPalounek@github.com/JPalounek/restatic-example.git


Installation

You can install the whole tool with just executing in your terminal this: sudo bash < <(curl -s https://raw.github.com/JPalounek/restatic/master/install.sh)

And you can also update it with executing sudo bash < <(curl -s https://raw.github.com/JPalounek/restatic/master/update.sh)


FAQ

We don't have any questions - ask me on email jan@binaryage.com :) and your question may be here...

Links

These foreign libraries are used in restatic

Source code