diff --git a/README.html b/README.html deleted file mode 100755 index 7fe1c4b..0000000 --- a/README.html +++ /dev/null @@ -1 +0,0 @@ -
Document history with Timeline
There are lots of timeline tools on the web but they are almost all either hard on the eyes or hard to use. Create timelines that are at the same time beautiful and intuitive for users
Timeline is great for pulling in media from different sources. Just throw in a link from Twitter, YouTube, Flickr, Vimeo, Google Maps or SoundCloud and Timeline will format it to fit perfectly. More media types will be supported in the future.
Creating one is as easy as filling in a Google spreadsheet or as detailed as JSON.
Add it to your site
Include these lines in the <head> of your site.
<!-- CSS -->
<link href="timeline.css" rel="stylesheet">
<!-- JavaScript -->
<script type="text/javascript" src="jquery-min.js"></script>
<script type="text/javascript" src="timeline-min.js"></script>
Add a <div> with an id called “timeline” in the <body> of your site.
<div id="timeline"></div>
Initialize the data source in either the <head> or the <body>
<script>
$(document).ready(function() {
timeline = new VMM.Timeline();
timeline.init("your_data.json");
});
</script>
File Formats
JSON:
JSON is the native data format of Timeline. It is easy to work with and even people non-coders can create timelines with this method.
JSON is picky though. Pay special attention to the small details. A misplaced comma or quotation mark can prevent the timeline from loading properly.
Instructions on actually using the JSON file are included in the example data.JSON file.
A few hints about working with JSON files.
Google Docs:
If you don’t want to mess with JSON, grab a spreadsheet in Google Docs to build your timeline. It’s as simple as dropping a date, text, and links into the appropriate columns in Timeline’s template.
You can find the template here: https://docs.google.com/a/digitalartwork.net/previewtemplate?id=0AppSVxABhnltdEhzQjQ4MlpOaldjTmZLclQxQWFTOUE&mode=public
There are only four things you need to know in order to create a timeline using Google Docs:
Getting Timeline onto the web
The zipped folder contains all of the files that you need in order to get Timeline working on your site. Upload the entire folder to your server and then you can play with the example timelines.
To create a new timeline, decide which file format you would like to use. Check out the examples folder of your chosen format.
For a google spreadsheet:
Media
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.
Twitter: Just copy and paste the address of the tweet from the browser bar into the media parameter. Timeline will auto-magically pull in the tweet and format it so that it looks beautiful.
For Flickr, Google Maps, SoundCloud, YouTube and Vimeo, just copy the URL and paste it into the media parameter.
Best practices
Tips and tricks to best utilize Timeline