Beautifully crafted timelines that are easy and intuitive to use. http://timeline.knightlab.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Zach Wise ac5c3cdfeb Updated Documentation 13 years ago
examples First Commit 13 years ago
source First Commit 13 years ago
.gitignore ignore .DS_Store 13 years ago
README.html Updated Documentation 13 years ago
jquery-min.js First Commit 13 years ago
timeline-min.js First Commit 13 years ago
timeline.css First Commit 13 years ago
timeline.png First Commit 13 years ago

README.html

<html><head><title>Storytim.es Documentation</title><style type="text/css">@import url('https://themes.googleusercontent.com/fonts/css?kit=lhDjYqiy3mZ0x6ROQEUoUw');ol{margin:0;padding:0}p{margin:0}.c14{list-style-type:lower-roman;margin:0;padding:0}.c1{list-style-type:lower-latin;margin:0;padding:0}.c2{list-style-type:decimal;margin:0;padding:0}.c4{padding-left:0pt;margin-left:72pt}.c0{height:11pt;direction:ltr}.c9{color:#1155cc;text-decoration:underline}.c12{padding-left:0pt;margin-left:108pt}.c16{max-width:468pt;padding:72pt 72pt 72pt 72pt}.c18{color:inherit;text-decoration:inherit}.c5{padding-left:0pt;margin-left:36pt}.c17{font-size:14pt}.c13{background-color:#ffffff}.c6{font-family:Consolas}.c10{font-weight:bold}.c15{color:#980000}.c3{direction:ltr}.c7{text-indent:36pt}.c11{font-size:18pt}.c8{font-size:10pt}.title{padding-top:24pt;line-height:1.15;text-align:left;color:#000000;font-size:36pt;font-family:Arial;font-weight:bold;padding-bottom:6pt}.subtitle{padding-top:18pt;line-height:1.15;text-align:left;color:#666666;font-style:italic;font-size:24pt;font-family:Georgia;padding-bottom:4pt}body{color:#000000;font-size:11pt;font-family:Arial}h1{padding-top:24pt;line-height:1.15;text-align:left;color:#000000;font-size:18pt;font-family:Arial;font-weight:bold;padding-bottom:6pt}h2{padding-top:18pt;line-height:1.15;text-align:left;color:#000000;font-size:14pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h3{padding-top:14pt;line-height:1.15;text-align:left;color:#666666;font-size:12pt;font-family:Arial;font-weight:bold;padding-bottom:4pt}h4{padding-top:12pt;line-height:1.15;text-align:left;color:#666666;font-style:italic;font-size:11pt;font-family:Arial;padding-bottom:2pt}h5{padding-top:11pt;line-height:1.15;text-align:left;color:#666666;font-size:10pt;font-family:Arial;font-weight:bold;padding-bottom:2pt}h6{padding-top:10pt;line-height:1.15;text-align:left;color:#666666;font-style:italic;font-size:10pt;font-family:Arial;padding-bottom:2pt}</style></head><body class="c13 c16"><p class="c3"><span class="c11">Document history with Storytim.es</span></p><p class="c3"><span>There are lots of timeline tools on the web but they are almost all either hard on the eyes or hard to use. Storytim.es creates beautiful timelines that are actually easy and intuitive to use.</span></p><p class="c0"><span></span></p><p class="c3"><span>Storytim.es is also great for pulling in media from different sources. It has built in support for pulling in Tweets and media from Twitter, YouTube, Flickr, Vimeo, GoogleMaps and SoundCloud. More media types will be supported in the future.</span></p><p class="c0"><span></span></p><p class="c3"><span>Creating one is as easy as filling in a Google spreadsheet or as detailed as JSON.</span></p><p class="c0"><span></span></p><p class="c3"><span class="c11">Add it to your site</span></p><p class="c3"><span>Include these lines in the </span><span class="c6">&lt;head&gt;</span><span>&nbsp;of your site.</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- CSS --&gt;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link href=&quot;timeline.css&quot; rel=&quot;stylesheet&quot;&gt;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!-- JavaScript --&gt;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-min.js&quot;&gt;&lt;/script&gt;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script type=&quot;text/javascript&quot; src=&quot;timeline-min.js&quot;&gt;&lt;/script&gt;</span></p><p class="c0"><span class="c6"></span></p><p class="c3"><span>and add a </span><span class="c6">&lt;div&gt;</span><span>&nbsp;with and id called &ldquo;timeline&rdquo; in the </span><span class="c6">&lt;body&gt;</span><span>&nbsp;of your site.</span></p><p class="c0"><span></span></p><p class="c3 c7"><span class="c6">&lt;div id=&quot;timeline&quot;&gt;&lt;/div&gt;</span></p><p class="c0"><span class="c6"></span></p><p class="c3"><span>Then all you have to do is initialize it with the data source. You can do this is in the </span><span class="c6">&lt;head&gt;</span><span>&nbsp;or the </span><span class="c6">&lt;body&gt;</span></p><p class="c0"><span></span></p><p class="c3 c7"><span class="c6">&lt;script&gt;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$(document).ready(function() {</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;timeline = new VMM.Timeline();</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;timeline.init(&quot;your_data.json&quot;);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p class="c3"><span class="c6">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});</span></p><p class="c3 c7"><span class="c6">&lt;/script&gt;</span></p><p class="c0"><span></span></p><p class="c0"><span></span></p><p class="c3"><span class="c11">File Formats</span></p><p class="c3"><span class="c17">JSON:</span></p><p class="c3"><span>JSON is the native data format of Storytim.es. It is easy to work with and even people who do not work with code can create timelines with this method.</span></p><p class="c0"><span></span></p><p class="c3"><span>JSON is picky however. Pay special attention to the small details. A misplaced comma or quotation mark can prevent the timeline from loading properly.</span></p><p class="c0"><span></span></p><p class="c3"><span>Instructions on actually using the JSON file are included in the example data.JSON file.</span></p><p class="c0"><span></span></p><p class="c3"><span>A few hints about working with JSON files. </span></p><ol class="c2" start="1"><li class="c5 c3"><span>JSON works in pairs. In the file you will notice &ldquo;parameters&rdquo;:&rdquo;specific attributes&rdquo;</span></li></ol><ol class="c1" start="1"><li class="c4 c3"><span>The part you will want to change goes in the specific attributes section.</span></li></ol><ol class="c2" start="2"><li class="c5 c3"><span>Pay special attention to the formatting notes in the json-guide/data.json file.</span></li></ol><p class="c0"><span></span></p><p class="c0"><span></span></p><p class="c3"><span class="c17">Google Docs:</span></p><p class="c3"><span>If you don&rsquo;t want to mess with JSON, grab a spreadsheet in Google Docs to build your timeline. It&rsquo;s as simple as dropping a date, text, and links into the appropriate columns in Storytim.es&rsquo;s template. </span></p><p class="c3"><span>You can find the template here: </span><span class="c9"><a class="c18" href="https://docs.google.com/a/digitalartwork.net/previewtemplate?id=0AppSVxABhnltdEhzQjQ4MlpOaldjTmZLclQxQWFTOUE&amp;mode=public">https://docs.google.com/a/digitalartwork.net/previewtemplate?id=0AppSVxABhnltdEhzQjQ4MlpOaldjTmZLclQxQWFTOUE&amp;mode=public</a></span></p><p class="c0"><span></span></p><p class="c3"><span>There are only four things you need to know in order to create a timeline using Google Docs:</span></p><p class="c0"><span></span></p><ol class="c2" start="1"><li class="c5 c3"><span class="c10">Make the spreadsheet public: </span><span><br>Google Docs are automatically set to private but the spreadsheet must be public.<br><br>Click the blue &ldquo;Share&rdquo; button on the top right-hand corner. In the &ldquo;Share settings&rdquo; window, you&rsquo;ll see the private setting of the spreadsheet: click &ldquo;Change...&rdquo;. In the Visibility options window, choose &ldquo;Public on the Web&rdquo; and save.</span></li></ol><p class="c0"><span></span></p><p class="c0"><span></span></p><ol class="c2" start="2"><li class="c3 c5"><span class="c10">Publish to the Web</span><span><br>Under the File menu, select &ldquo;Publish to the Web.&rdquo; <br><br>In the next window, check the box next to &ldquo;</span><span class="c13">Automatically republish when changes are made.&rdquo; Uncheck all other boxes. Click &ldquo;start publishing.&rdquo; This will give you the URL to embed in your HTML file.</span></li></ol><p class="c0"><span></span></p><p class="c0"><span></span></p><ol class="c2" start="3"><li class="c5 c3"><span class="c10">Copy/paste the Web URL into your Storytim.es HTML file</span><span><br><br>After you publish the spreadsheet, Google Docs will generate a link to the file. Copy the link for the Web Page option (as opposed to PDF, HTML, XLS, etc.), then paste it into the timeline&rsquo;s HTML file:<br><br></span><span class="c6 c8">timeline.init(&ldquo;</span><span class="c6 c8 c15">URL goes here</span><span class="c6 c8">&rdquo;)</span></li></ol><p class="c0"><span></span></p><ol class="c2" start="4"><li class="c5 c3"><span class="c10">Designate the &ldquo;start&rdquo; slide</span><span><br>This indicates which event is the title slide, the one that begins the timeline. <br><br>Only one should be labeled &quot;start&quot; (generally, the first one). The title slide must have a start date, headline and text to appear properly.</span></li></ol><p class="c0"><span></span></p><p class="c3"><span class="c11">Getting a Storytim.es timeline onto the web</span></p><p class="c3"><span>The zipped folder contains all of the files that you need in order to get the timeline working on your site. Upload the entire folder to your server and then you can play with the example timelines.</span></p><p class="c0"><span></span></p><p class="c3"><span>To create a new timeline, decide which file format you would like to use. Check out the examples folder of your chosen format. </span></p><p class="c0"><span></span></p><p class="c3"><span>For a google spreadsheet:</span></p><ol class="c2" start="1"><li class="c5 c3"><span>Start by dropping in a placeholder, like &ldquo;Timeline title goes here.&rdquo;</span></li></ol><ol class="c1" start="1"><li class="c4 c3"><span>Save, make the spreadsheet public and publish it.</span></li></ol><ol class="c14" start="1"><li class="c12 c3"><span>To publish: File &gt; Publish to the Web</span></li><li class="c3 c12"><span>Copy/paste the link into HTML page</span></li><li class="c12 c3"><span>Save, upload to server</span></li></ol><ol class="c1" start="2"><li class="c4 c3"><span>After making changes in the spreadsheet, reload the page in the browser to make sure everything is working well.</span></li></ol><p class="c3"><span class="c11">Media</span></p><p class="c3"><span>Included in the zip file is a kitchen sink example. This timeline shows how to incorporate the different media types from different services like Twitter, YouTube, Flickr and Vimeo. </span></p><p class="c0"><span></span></p><p class="c3"><span>Twitter: Just copy and paste the address of the tweet from the browser bar into the media parameter. Storytim.es will automagically pull in the tweet and format it so that it looks beautiful.</span></p><p class="c0"><span></span></p><p class="c3"><span>For Flickr, Google Maps, SoundCloud, YouTube and Vimeo, just copy the url and paste it into the media parameter.</span></p><p class="c0"><span></span></p><p class="c0"><span></span></p><p class="c3"><span class="c11">Best practices</span></p><p class="c3"><span>T</span><span>ips and tricks to best utilize Storytim.es</span></p><p class="c0"><span></span></p><ol class="c2" start="1"><li class="c5 c3"><span>Timelines look best when they flow well and maintain a good pace. Some ideas to keep in mind:</span></li></ol><ol class="c1" start="1"><li class="c4 c3"><span>Keep it light - don&rsquo;t get bogged down by text or other elements</span></li><li class="c3 c4"><span>Include compelling media that help</span></li></ol><ol class="c2" start="2"><li class="c5 c3"><span>Chronology</span></li></ol><ol class="c1" start="1"><li class="c4 c3"><span>The best timeline stories have a strong chronological flow to the story. It does not &nbsp;work well for stories that do not have a strong timeline element or that need to jump around in the timeline.</span></li><li class="c4 c3"><span>Chronological order is inherent in a timeline, but we&rsquo;re human: Sometimes we forget a date. Luckily, Storytim.es will sort events by date regardless of what order they are in on the spreadsheet.</span></li></ol><ol class="c2" start="3"><li class="c5 c3"><span>Include more than just the major events</span></li></ol><ol class="c1" start="1"><li class="c4 c3"><span>It is generally a more compelling story to include important smaller events that lead up to major events than just showing the major events.</span></li></ol></body></html>