layout | title | product | product_title | product_subtitle | product_icon | download | downloadtitle | repo | buttons | advert | meta_title | meta_keywords | meta_description | meta_image | build_tabs | ogmeta | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
product |
Restatic pumps Google spreadsheet content to static sites |
restatic |
Restatic |
Pumps spreadsheet data to your static web! |
/shared/img/icons/restatic-256.png |
Download v0.2 |
<a href="http://restatic-example.herokuapp.com" class="button product-button-thumbup"><div><div>Visit Demo Page<div class="product-specs">And get some inspiration...</div></div></div></a> |
After installation and Firefox restart you can visit the <a href="/test/index.html">FireQuery test page</a> |
Restatic pumps Google spreadsheet content to static sites |
restatic,static-site,osx,google-docs,google,binaryage,software,tool |
Restatic is a command-line utitlity for parsing google spreadsheet content to your static sites |
1 |
|
{% contentfor product-buttons %}
{% endcontentfor %}Do you build static web sites for your clients? Do they call you back when they need some changes?
With Restatic you may leave them editing their data in Google Spreadsheet and regenerate the site when needed. You will provide them with environment which they know and love - we hope your clients are smart enough to love Google Docs :-)
Just put to your html markup pointing to your data, for example /-Posts-B2-/
- '/-' and '-/' are separators (delimiters)
- 'Posts' is a sheet name (gdocs spreadsheet page name)
- 'B2' is the cell address
- '-' is a separator between sheet name and the cell specification
Turn on "Publish to the web" (In File->Publish to the web) and you get the spreadsheet key.
apiKey: 0AtkoCAIRJ7BPdGM2Y2tYdV9XRXNsNVVrVnFPeFIwb0E
delimiter: /-, -/
restatic /path/to/source/dir /path/to/target/dir'
Your freshly built site will be generated into target dir.
Or alternatively go to the source directory and run restatic -d
and your site will be generate to _site
directory in source dir.
npm install restatic -g
We have this feature in roadmap - tell us that you need it!
We're thinking about it. Want you have hosting service for your restatic powered sites? Let us know!
Restatic is not tested on windows, but it doesn't use any linux specific scripts - so try it.
Easilly - You could run restatic on jekyll generated site.
You can run restatic /source /target fetch
more times with another input data.
You could write your own extractor. Just create your Extractor (anywhere you want) and specify it in config using "extractor" : "/path/to/FooExtractor.js" - it should contain function extract which will return the associative array with markup in key and data in value - eg. {"/-Posts-2B-/" : "Hello world"}