Skip to content

Commit 72b39d4

Browse files
author
Jan Palounek
committed
Content update.
1 parent f7262fc commit 72b39d4

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

index.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ product_title: Restatic
66
product_subtitle: Pumps spreadsheet data to your static web!
77
download: https://github.com/binaryage/restatic
88
downloadtitle: Download v0.2
9-
downloadsubtitle: Requires a POSIX system with PHP
9+
downloadsubtitle: Requires a POSIX system with NodeJS
1010
repo: https://github.com/binaryage/restatic
1111
buttons: <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>
1212
advert: After installation and Firefox restart you can visit the <a href="/test/index.html">FireQuery test page</a>
1313
meta_title: Restatic pumps Google spreadsheet content to static sites
1414
meta_keywords: restatic,static-site,osx,google-docs,google,binaryage,software,tool
15-
meta_description: Restatic is a command-line utitlity for parsing google spreadsheet content and using it for generating a static site
15+
meta_description: Restatic is a command-line utitlity for parsing google spreadsheet content to your static sites
1616
meta_image: http://www.binaryage.com/shared/img/icons/restatic-256.png
1717
facebook: 1
1818
#retweet: 0
@@ -59,10 +59,10 @@ Here is small visualization
5959

6060
Turn on "Publish to the web" (In File->Publish to the web) and you get the spreadsheet key.
6161

62-
### Configure restatic with restatic.yml
62+
### Configure restatic with restatic.json
6363

64-
* `googleSpreadSheetKey: 0AtkoCAIRJ7BPdGM2Y2tYdV9XRXNsNVVrVnFPeFIwb0E`
65-
* `delimiter: /-, -/` (optional)
64+
* `apiKey: 0AtkoCAIRJ7BPdGM2Y2tYdV9XRXNsNVVrVnFPeFIwb0E`
65+
* `delimiter: /-, -/`
6666

6767
### Call restatic to regenerate your site
6868

@@ -73,31 +73,34 @@ Or alternatively go to the source directory and run `restatic -d` and your site
7373

7474
## Installation
7575

76-
`sudo bash < <(curl -s https://raw.github.com/binaryage/restatic/master/install.sh)`
76+
`npm install restatic -g`
7777

7878
## FAQ
7979
### How user can update site after spreadsheet change?
80-
It is definitely possible - see the tool Remote https://github.com/JPalounek/restatic-tools and this blogpost - http://jpalounek.github.com/posts/2012/03/19/serverside-restatic-sites-actualization/
80+
We have this feature in roadmap - <a href="mailto:jan@binaryage.com">tell us</a> that you need it!
8181

8282
### Do we plan a hosting solution?
8383
We're thinking about it. Want you have hosting service for your restatic powered sites? <a href="mailto:jan@binaryage.com">Let us know!</a>
8484

8585
### Do we plan windows version?
86-
No, we don't.
86+
Restatic is not tested on windows, but it doesn't use any linux specific scripts - so try it.
8787

8888
### How to integrate Restatic with Jekyll?
8989
Easilly - You could run restatic on jekyll generated site.
9090

9191
### How to use multiple spreadsheets?
92-
We dont have now support for multiple spreadsheets.
92+
You can run `restatic /source /target fetch` more times with another input data.
9393

9494
### Can I use another data sources?
95-
You could write your own extractor. Extend the class Extractor and create function extract which will return the associative array with markup in key and data in value - eg. array('/-Posts-2B-/' => 'Hello world')
95+
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"}
9696

9797
## Links
98-
#### 3rd-party libraries used in restatic:
99-
* [Spyc](http://code.google.com/p/spyc)
100-
* [NFinder](http://phpfashion.com/pohodlne-prochazeni-filesystemem)
98+
#### Packages used it restatic
99+
* rimraf (~2.0.1) - [Github](https://github.com/isaacs/rimraf)
100+
* wrench (~1.3.8) - [Github](https://github.com/ryanmcgrath/wrench-js)
101+
* mocha (~1.0.1) - [Github](https://github.com/visionmedia/mocha)
102+
* should (~0.6.1) - [Github](https://github.com/visionmedia/should.js)
103+
* ansi (~0.1.0) - [Github](https://github.com/TooTallNate/ansi.js)
101104

102105
#### Source code
103106
* [Sources are hosted on GitHub](https://github.com/binaryage/restatic)

0 commit comments

Comments
 (0)