SlideShare a Scribd company logo
Storytelling
using Javascript, HTML5, CSS3



              with

        Storify
       @xdamman - March 2011
http://storify.com/nzherald/reaction-to-japanese-tsunami




                                                           http://dl.dropbox.com/u/1702667/sites/kenburns/index.html
JSON/CSS3/JavaScript
   is the new Model/View/Controller
Model: JSON
Story url + ‘.json’ - e.g. http://storify.com/nzherald/reaction-to-japanese-tsunami.json




            ...
http://storify.com/nzherald/reaction-to-japanese-tsunami.json

                   position index
           of the story element (string)



 Details of the
   editor who
    added this
element to the
         story




image attached
to the element
        (if any)


  Normalized
 details of the
story element
          (title,
    thumbnail,
   description,
       author)



  Timestamps                                                      Number of seconds since January 1st 1970
(epoch time in                                                    To convert to Javascript date:
     seconds)                                                     new Date(parseInt(story.elements[“3”].created_at,10)*1000);
http://storify.com/nzherald/reaction-to-japanese-tsunami

                Story header
           title, author,
published_at, description




               Story element
             source: ‘twitter’
         elementClass: ‘tweet’




               Story element
            source: ‘facebook’
        elementClass: ‘fbpost’




               Story element
             source: ‘twitter’
         elementClass: ‘tweet’
image: src: ‘http://(...).jpg’
http://storify.com/nzherald/reaction-to-japanese-tsunami

               Story element
             source: ‘twitter’
         elementClass: ‘tweet’
image: src: ‘http://(...).jpg’




               Story element
            source: ‘storify’
         elementClass: ‘text’




               Story element
            source: ‘twitter’
        elementClass: ‘tweet’
View: HTML5+CSS3
CSS3
Controller: JavaScript

1. Fetch the model
  jQuery> $.getJSON(storyurl+’.json?
  callback=?’,function(storyurl) { });

2. Fill the HTML template with the story
  jQuery> $(‘#story h1’).html(story.title);

3. Add extra behaviors, animations, ...
We fetch the model
                       $.getJSON




            We render the story
            $(domElement).html();




    We walkthrough each story
    element to gather all images
          story.elements[i].image
    and all twitter users ‘ avatars
  story.elements[i].author.avatar




      We render the images in a
     slideshow with a Ken Burns
                          effect
              jQuery library from
http://willmcgugan.com/2011/2/26/
ken-burns-effect-with-javascript-
                       and-canvas
Sources available on
http://github.com/storify/templates



             Storify
             Social media stories


            @xdamman - March 2011

More Related Content

Viewers also liked

ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
Mario Heiderich
 
Enforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident responseEnforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident response
Audrey Eschright
 
Danger Of Free
Danger Of FreeDanger Of Free
Danger Of Free
Alex Iskold
 
Aristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the WebAristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the Web
Jeroen van Geel
 
Stuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuffStuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuff
Cezary Podkul
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Mario Heiderich
 
The Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesThe Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesMario Heiderich
 
Towards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing PolicyTowards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing Policy
Mike Linksvayer
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis Atencio
Luis Atencio
 
An Abusive Relationship with AngularJS
An Abusive Relationship with AngularJSAn Abusive Relationship with AngularJS
An Abusive Relationship with AngularJS
Mario Heiderich
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional World
Debasish Ghosh
 
Green Building Final Presentation
Green Building Final PresentationGreen Building Final Presentation
Green Building Final PresentationQatar LEEDers
 
Монады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон ХоломьёвМонады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон Холомьёв
Юрий Сыровецкий
 
Intro to Functional Programming
Intro to Functional ProgrammingIntro to Functional Programming
Intro to Functional Programming
Hugo Firth
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017
NVIDIA
 
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015) Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Interbrand Madrid
 
What the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year LaterWhat the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year Later
Martafy!
 
ng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applicationsng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applications
Kevin Hakanson
 
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IABmembership
 
Fostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation EcosystemFostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation Ecosystem
Techstars
 

Viewers also liked (20)

ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
ECMAScript 6 from an Attacker's Perspective - Breaking Frameworks, Sandboxes,...
 
Enforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident responseEnforcing Your Code of Conduct: effective incident response
Enforcing Your Code of Conduct: effective incident response
 
Danger Of Free
Danger Of FreeDanger Of Free
Danger Of Free
 
Aristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the WebAristotle's Storytelling Framework for the Web
Aristotle's Storytelling Framework for the Web
 
Stuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuffStuff I've said to FOIA officers to get them to give me ... well, stuff
Stuff I've said to FOIA officers to get them to give me ... well, stuff
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
 
The Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG FilesThe Image that called me - Active Content Injection with SVG Files
The Image that called me - Active Content Injection with SVG Files
 
Towards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing PolicyTowards License Interoperability: Patterns of Sustainable Sharing Policy
Towards License Interoperability: Patterns of Sustainable Sharing Policy
 
Functional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis AtencioFunctional Programming in JavaScript by Luis Atencio
Functional Programming in JavaScript by Luis Atencio
 
An Abusive Relationship with AngularJS
An Abusive Relationship with AngularJSAn Abusive Relationship with AngularJS
An Abusive Relationship with AngularJS
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional World
 
Green Building Final Presentation
Green Building Final PresentationGreen Building Final Presentation
Green Building Final Presentation
 
Монады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон ХоломьёвМонады для барабанщиков. Антон Холомьёв
Монады для барабанщиков. Антон Холомьёв
 
Intro to Functional Programming
Intro to Functional ProgrammingIntro to Functional Programming
Intro to Functional Programming
 
Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017Artificial Intelligence: Predictions for 2017
Artificial Intelligence: Predictions for 2017
 
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015) Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
Rebecca Robins in La Zagaleta magazine (Autumn-Winter 2015)
 
What the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year LaterWhat the F**K is Social Media: One Year Later
What the F**K is Social Media: One Year Later
 
ng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applicationsng-owasp: OWASP Top 10 for AngularJS Applications
ng-owasp: OWASP Top 10 for AngularJS Applications
 
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
IAB: An Inside Look at Demand Side Perceptions of Digital Video Advertising (...
 
Fostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation EcosystemFostering a Startup and Innovation Ecosystem
Fostering a Startup and Innovation Ecosystem
 

More from Xavier Damman

#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week
Xavier Damman
 
Embracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: WalloniaEmbracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: Wallonia
Xavier Damman
 
#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0
Xavier Damman
 
The Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorThe Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorXavier Damman
 
Feweb
FewebFeweb
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Xavier Damman
 
Storify - amplify the voices that matter
Storify - amplify the voices that matterStorify - amplify the voices that matter
Storify - amplify the voices that matter
Xavier Damman
 
IBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaborationIBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaboration
Xavier Damman
 
Storify news:rewired
Storify news:rewiredStorify news:rewired
Storify news:rewired
Xavier Damman
 
ReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of StorytellingReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of Storytelling
Xavier Damman
 
Présentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 mondePrésentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 monde
Xavier Damman
 
Publitweet presentation
Publitweet presentationPublitweet presentation
Publitweet presentation
Xavier Damman
 
From Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24hFrom Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24h
Xavier Damman
 
Tweetag Plug And Play
Tweetag Plug And PlayTweetag Plug And Play
Tweetag Plug And Play
Xavier Damman
 
Tweetag Browse The Twittosphere
Tweetag Browse The TwittosphereTweetag Browse The Twittosphere
Tweetag Browse The Twittosphere
Xavier Damman
 
How to make people commenting on your blog?
How to make people commenting on your blog?How to make people commenting on your blog?
How to make people commenting on your blog?
Xavier Damman
 
Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007
Xavier Damman
 
CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08
Xavier Damman
 
Make Or Fund Mockup
Make Or Fund MockupMake Or Fund Mockup
Make Or Fund Mockup
Xavier Damman
 

More from Xavier Damman (20)

#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week#BrusselsTogether at Crowdsourcing Week
#BrusselsTogether at Crowdsourcing Week
 
Embracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: WalloniaEmbracing the digital revolution at a regional level: Wallonia
Embracing the digital revolution at a regional level: Wallonia
 
#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0#BEStartupManifesto presentation v1.0
#BEStartupManifesto presentation v1.0
 
The Digital Marketer Is The New Curator
The Digital Marketer Is The New CuratorThe Digital Marketer Is The New Curator
The Digital Marketer Is The New Curator
 
Feweb
FewebFeweb
Feweb
 
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
Social Media is a human p2p network. And Uber and AirBnb are the Napster of t...
 
Storify - amplify the voices that matter
Storify - amplify the voices that matterStorify - amplify the voices that matter
Storify - amplify the voices that matter
 
IBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaborationIBBT iMinds 2011 - Story of Storify, a story of collaboration
IBBT iMinds 2011 - Story of Storify, a story of collaboration
 
Storify news:rewired
Storify news:rewiredStorify news:rewired
Storify news:rewired
 
Storify #iOSDevCamp
Storify #iOSDevCampStorify #iOSDevCamp
Storify #iOSDevCamp
 
ReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of StorytellingReadWriteWeb 2way summit: Future of Storytelling
ReadWriteWeb 2way summit: Future of Storytelling
 
Présentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 mondePrésentation de Storify au séminaire de TV5 monde
Présentation de Storify au séminaire de TV5 monde
 
Publitweet presentation
Publitweet presentationPublitweet presentation
Publitweet presentation
 
From Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24hFrom Twitter App idea to Mashable.com in 24h
From Twitter App idea to Mashable.com in 24h
 
Tweetag Plug And Play
Tweetag Plug And PlayTweetag Plug And Play
Tweetag Plug And Play
 
Tweetag Browse The Twittosphere
Tweetag Browse The TwittosphereTweetag Browse The Twittosphere
Tweetag Browse The Twittosphere
 
How to make people commenting on your blog?
How to make people commenting on your blog?How to make people commenting on your blog?
How to make people commenting on your blog?
 
Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007Yucam - Presentation at QEC2007
Yucam - Presentation at QEC2007
 
CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08CommenTag presentation at London Minibar / Feb08
CommenTag presentation at London Minibar / Feb08
 
Make Or Fund Mockup
Make Or Fund MockupMake Or Fund Mockup
Make Or Fund Mockup
 

Recently uploaded

一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
9a93xvy
 
PDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in NoidaPDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in Noida
PoojaSaini954651
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
708pb191
 
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for DesignersBook Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
Confidence Ago
 
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Mansi Shah
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
ameli25062005
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
eloprejohn333
 
ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
Knight Moves
 
Connect Conference 2022: Passive House - Economic and Environmental Solution...
Connect Conference 2022: Passive House -  Economic and Environmental Solution...Connect Conference 2022: Passive House -  Economic and Environmental Solution...
Connect Conference 2022: Passive House - Economic and Environmental Solution...
TE Studio
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
h7j5io0
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
millarj46
 
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
pmgdscunsri
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
cy0krjxt
 
20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf
ameli25062005
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
h7j5io0
 
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
smpc3nvg
 
Moldes de letra 3D Alfabeto completo esp
Moldes de letra 3D Alfabeto completo espMoldes de letra 3D Alfabeto completo esp
Moldes de letra 3D Alfabeto completo esp
Hess9
 
Impact of Fonts: in Web and Apps Design
Impact of Fonts:  in Web and Apps DesignImpact of Fonts:  in Web and Apps Design
Impact of Fonts: in Web and Apps Design
contactproperweb2014
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
smpc3nvg
 

Recently uploaded (20)

一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
一比一原版(RHUL毕业证书)伦敦大学皇家霍洛威学院毕业证如何办理
 
PDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in NoidaPDF SubmissionDigital Marketing Institute in Noida
PDF SubmissionDigital Marketing Institute in Noida
 
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
一比一原版(UAL毕业证书)伦敦艺术大学毕业证成绩单如何办理
 
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for DesignersBook Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
 
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design ProcessStorytelling For The Web: Integrate Storytelling in your Design Process
Storytelling For The Web: Integrate Storytelling in your Design Process
 
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
Коричневый и Кремовый Деликатный Органический Копирайтер Фрилансер Марке...
 
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdfSECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
SECURING BUILDING PERMIT CITY OF CALOOCAN.pdf
 
ARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdfARENA - Young adults in the workplace (Knight Moves).pdf
ARENA - Young adults in the workplace (Knight Moves).pdf
 
Connect Conference 2022: Passive House - Economic and Environmental Solution...
Connect Conference 2022: Passive House -  Economic and Environmental Solution...Connect Conference 2022: Passive House -  Economic and Environmental Solution...
Connect Conference 2022: Passive House - Economic and Environmental Solution...
 
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
一比一原版(BU毕业证书)伯恩茅斯大学毕业证成绩单如何办理
 
Virtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburghVirtual Tour Application Powerpoint for museum of edinburgh
Virtual Tour Application Powerpoint for museum of edinburgh
 
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page
 
Design Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinkingDesign Thinking Design thinking Design thinking
Design Thinking Design thinking Design thinking
 
20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf20 slides of research movie and artists .pdf
20 slides of research movie and artists .pdf
 
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
一比一原版(Bolton毕业证书)博尔顿大学毕业证成绩单如何办理
 
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
一比一原版(Brunel毕业证书)布鲁内尔大学毕业证成绩单如何办理
 
Moldes de letra 3D Alfabeto completo esp
Moldes de letra 3D Alfabeto completo espMoldes de letra 3D Alfabeto completo esp
Moldes de letra 3D Alfabeto completo esp
 
Impact of Fonts: in Web and Apps Design
Impact of Fonts:  in Web and Apps DesignImpact of Fonts:  in Web and Apps Design
Impact of Fonts: in Web and Apps Design
 
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
一比一原版(Bristol毕业证书)布里斯托大学毕业证成绩单如何办理
 

Storytelling using Javascript HTML5 CSS3

  • 1. Storytelling using Javascript, HTML5, CSS3 with Storify @xdamman - March 2011
  • 2. http://storify.com/nzherald/reaction-to-japanese-tsunami http://dl.dropbox.com/u/1702667/sites/kenburns/index.html
  • 3. JSON/CSS3/JavaScript is the new Model/View/Controller
  • 4. Model: JSON Story url + ‘.json’ - e.g. http://storify.com/nzherald/reaction-to-japanese-tsunami.json ...
  • 5. http://storify.com/nzherald/reaction-to-japanese-tsunami.json position index of the story element (string) Details of the editor who added this element to the story image attached to the element (if any) Normalized details of the story element (title, thumbnail, description, author) Timestamps Number of seconds since January 1st 1970 (epoch time in To convert to Javascript date: seconds) new Date(parseInt(story.elements[“3”].created_at,10)*1000);
  • 6. http://storify.com/nzherald/reaction-to-japanese-tsunami Story header title, author, published_at, description Story element source: ‘twitter’ elementClass: ‘tweet’ Story element source: ‘facebook’ elementClass: ‘fbpost’ Story element source: ‘twitter’ elementClass: ‘tweet’ image: src: ‘http://(...).jpg’
  • 7. http://storify.com/nzherald/reaction-to-japanese-tsunami Story element source: ‘twitter’ elementClass: ‘tweet’ image: src: ‘http://(...).jpg’ Story element source: ‘storify’ elementClass: ‘text’ Story element source: ‘twitter’ elementClass: ‘tweet’
  • 10. Controller: JavaScript 1. Fetch the model jQuery> $.getJSON(storyurl+’.json? callback=?’,function(storyurl) { }); 2. Fill the HTML template with the story jQuery> $(‘#story h1’).html(story.title); 3. Add extra behaviors, animations, ...
  • 11. We fetch the model $.getJSON We render the story $(domElement).html(); We walkthrough each story element to gather all images story.elements[i].image and all twitter users ‘ avatars story.elements[i].author.avatar We render the images in a slideshow with a Ken Burns effect jQuery library from http://willmcgugan.com/2011/2/26/ ken-burns-effect-with-javascript- and-canvas
  • 12. Sources available on http://github.com/storify/templates Storify Social media stories @xdamman - March 2011