Skip to content

Instantly share code, notes, and snippets.

@zzolo
Last active August 29, 2015 14:26
Show Gist options
  • Save zzolo/3b2d19e7555de9f66e25 to your computer and use it in GitHub Desktop.
Save zzolo/3b2d19e7555de9f66e25 to your computer and use it in GitHub Desktop.
data! from editdata.org!
date title body
2015-03-04 This data is coming from EditData.org <a href="http://editdata.org" target="_blank">EditData.org</a> is a lightweight data editor that we can connect easily to Tik Tok. Actually, the data is coming from Github, since EditData is a simple interface that stores its data on Github. This means you will have to have a Github account to use EditData.
2015-05-05 Make your data source Go to EditData.org and create a new datasource. Then create your columns, this will probably include <code>date</code>, <code>title</code>, and <code>body</code> but might have other <a href="https://github.com/datanews/tik-tok#entries">Tik Tok fields</a>.
2015-05-06 Add some data Add rows in your spreadsheet just as you would with a CSV or a Google Spreadsheet. Feel free to use some HTML if you want.
2015-06-01 Save and export Save to a Gist (it's a Github thing). Then click on the <code>JSON</code> button to get the URL to the data that will be used in Tik Tok.
2015-07-04 Make a Tik Tok Check out the code below and simply update the JSON url with yours and you should be good to go.
2015-07-15 One caveat There is one thing worth noting. Whenever you update your EditData data source, you will get a new JSON url that you will have to update.
[{"key":1,"value":{"date":"2015-03-04","title":"This data is coming from EditData.org","body":"<a href=\"http://editdata.org\" target=\"_blank\">EditData.org</a> is a lightweight data editor that we can connect easily to Tik Tok. Actually, the data is coming from Github, since EditData is a simple interface that stores its data on Github. This means you will have to have a Github account to use EditData."}},{"key":2,"value":{"date":"2015-05-05","title":"Make your data source","body":"Go to EditData.org and create a new datasource. Then create your columns, this will probably include <code>date</code>, <code>title</code>, and <code>body</code> but might have other <a href=\"https://github.com/datanews/tik-tok#entries\">Tik Tok fields</a>."}},{"key":3,"value":{"date":"2015-05-06","title":"Add some data","body":"Add rows in your spreadsheet just as you would with a CSV or a Google Spreadsheet. Feel free to use some HTML if you want."}},{"key":4,"value":{"date":"2015-06-01","title":"Save and export","body":"Save to a Gist (it's a Github thing). Then click on the <code>JSON</code> button to get the URL to the data that will be used in Tik Tok."}},{"key":5,"value":{"date":"2015-07-04","title":"Make a Tik Tok","body":"Check out the code below and simply update the JSON url with yours and you should be good to go."}},{"key":6,"value":{"date":"2015-07-15","title":"One caveat","body":"There is one thing worth noting. Whenever you update your EditData data source, you will get a new JSON url that you will have to update. "}}]
{"properties":["date","title","body"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment