diff --git a/readme.md b/readme.md index 287969b..26e09b7 100644 --- a/readme.md +++ b/readme.md @@ -12,7 +12,17 @@ This repo only has a **gh-pages** branch, which means as soon as you **fork** it Next, create a spreadsheet with the same column headers as [the original](https://docs.google.com/spreadsheet/ccc?key=0Ao5u1U6KYND7dFVkcnJRNUtHWUNKamxoRGg4ZzNiT3c#gid=0). -Click on the `index.html` file, click edit and change **line 107**. Replace the existing spreadsheet URL key with your spreadsheet's key. You'll find that by clicking (in Google Spreadsheets) File > Publish to the Web > Start Publishing, it will then display the key in a window. ![get key](https://raw.github.com/jllord/sheetsee-cache/master/img/key.png) +Click on the `index.html` file, click edit and change **line 118** (or thereabouts) it looks like: + +```javascript + document.addEventListener('DOMContentLoaded', function() { + var gData + var URL = "0Ao5u1U6KYND7dFVkcnJRNUtHWUNKamxoRGg4ZzNiT3c" + Tabletop.init( { key: URL, callback: showInfo, simpleSheet: true } ) + }) +``` + +Replace the existing spreadsheet URL key with your spreadsheet's key. You'll find that by clicking (in Google Spreadsheets) File > Publish to the Web > Start Publishing, it will then display the key in a window. ![get key](https://raw.github.com/jllord/sheetsee-cache/master/img/key.png) Commit those changes and **LIKE WOAH** you now have a version of this website hooked to a spreadsheet that you can distrubute however you'd like.