Skip to content

Latest commit

 

History

History
101 lines (77 loc) · 3.48 KB

index.md

File metadata and controls

101 lines (77 loc) · 3.48 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
parsing google spreadsheet content to static sites
Download v0.2
Requires OS X 10.6 or higher
https://JPalounek@github.com/JPalounek/restatic.git
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
support@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

Installation

You can install whole tool with just a row of code to execute in your terminal.

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

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
sheetsIds: 1, 2
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). Sheet ids - means numbers of sheets which you are going to use - don't put there sheet names use just numbers. - it's optional variable Delimiter - means separator of cell specification in html - it's optional variable

How to write page content?

Just put to html something like

/-Posts-B2-/

Where '/-' and '-/' are separators (delimiters), 'Posts' is page name (gdocs spreadsheet page name), '-' is separator between page name and cell specification, 'B2' is 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.

Inspire in our Restatic bootstrap

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

Changelog

This project is too young to have a changelog. And in too progressive development - so wait while we will stabilize it.

Links

Source code