Skip to content

Commit

Permalink
Update spreadsheet link
Browse files Browse the repository at this point in the history
  • Loading branch information
Glitch (veil-look) committed Jan 2, 2020
1 parent 2709dfb commit dd4b3a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/_includes/layouts/books.njk
Expand Up @@ -47,14 +47,14 @@
</div>

<h2 id="how-to-books">How this Page is Made</h2>
<p>I use <a href="https://www.goodreads.com/user/show/768192-jlord" target="_blank">Goodreads</a> to keep track of books I've read but their API is not stellar and they can't provide links to cover images which is a must-have for a shelf view. Since I don't read at breakneck speeds I just made a <a href="https://docs.google.com/spreadsheets/d/1tJtKdvCWCLLv9mZwTFjSXM6t2mMfPHgkhtWJDBdpjYc/edit#gid=0" target="_blank">spreadsheet</a> myself with information from my Goodreads data and links to cover art.</p>
<p>I use <a href="https://www.goodreads.com/user/show/768192-jlord" target="_blank">Goodreads</a> to keep track of books I've read but their API is not stellar and they can't provide links to cover images which is a must-have for a shelf view. Since I don't read at breakneck speeds I just made a <a href="https://docs.google.com/spreadsheets/d/1tJtKdvCWCLLv9mZwTFjSXM6t2mMfPHgkhtWJDBdpjYc/edit?usp=sharing" target="_blank">spreadsheet</a> myself with information from my Goodreads data and links to cover art.</p>

<p>That spreadsheet is turned into JSON via my <a href="https://spreadsheet.glitch.me" target="_blank">tool</a> that does the spreadsheet-to-JSON conversion for you. This site is built with <a href="https://www.11ty.dev" target="_blank">Eleventy</a> so there is a layout template for this Books page you are viewing, it uses the data in the JSON file. You can go directly to that template and <a href="https://glitch.com/edit/#!/veil-look?path=src/_includes/layouts/books.njk" target="_blank">see the code on Glitch</a>.</p>

<h3>Here are the steps to updating this page after finishing a book:</h3>

<ol>
<li>Add a row to <a href="https://docs.google.com/spreadsheets/d/1tJtKdvCWCLLv9mZwTFjSXM6t2mMfPHgkhtWJDBdpjYc/edit#gid=0" target="_blank">my spreadsheet</a> for the finished book.</li>
<li>Add a row to <a href="hhttps://docs.google.com/spreadsheets/d/1tJtKdvCWCLLv9mZwTFjSXM6t2mMfPHgkhtWJDBdpjYc/edit?usp=sharing" target="_blank">my spreadsheet</a> for the finished book.</li>
<li>Generate JSON for the updated spreadsheet with <code>https://spreadsheet.glitch.me/?key=SPREADSHEETKEYHERE</code>.</li>
<li>Copy and paste the updated JSON into the file <code>books.json</code>, <a href="https://glitch.com/edit/#!/veil-look?path=src/_data/books.json" target="_blank">see the file in Glitch</a>.</li>
<li>Use Git to commit the changes and push them to Glitch, or do it directly in Glitch with automatic deploys.</li>
Expand Down

0 comments on commit dd4b3a8

Please sign in to comment.