layout | title | product | product_title | product_subtitle | note | download | downloadtitle | downloadsubtitle | repo | meta_title | meta_keywords | meta_description | meta_image | 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 |
|
|
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.
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: /-, -/
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.
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).
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.
https://JPalounek@github.com/JPalounek/restatic-example.git
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)
We don't have any questions - ask me on email jan@binaryage.com :) and your question may be here...
- [Spyc] (http://code.google.com/p/spyc/)
- [NFinder] (http://phpfashion.com/pohodlne-prochazeni-filesystemem)