SlideShare a Scribd company logo
1 of 24
Apps for Science Elsevier | Developer Network
WorkShop – OpenSocial Gadgets for Science Web 2.0 – Much to do about … a lot   Gadgets Widgets IFrame HTML5 Browser Add-ons Plugins Facebook Apps Mobile Apps Web2.0 Open API Open Data Open Gov JavaScript Linked Data
WorkShop – OpenSocial Gadgets for Science  Web 2.0 – iGoogle is Apps
1 billion downloads 350,000 Apps WorkShop – OpenSocial Gadgets for Science Web 2.0 - Mobile Apps  is Apps
WorkShop – OpenSocial Gadgets for Science Web 2.0 – Browser Plugins is Apps  Opera Browser – 2.5% IE – 26%  Mozilla – 42.8% Chrome – 23.8% Safari -  4%
WorkShop – OpenSocial Gadgets for Science Web 2.0 - Facebook is Apps  Facebook Apps 500 million users
WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial - Facebook versus OpenSocial
WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial  Facebook versus OpenSocial   500 million versus 900 million users
WorkShop – OpenSocial Gadgets for Science SciVerse is Innovation in STM Publishing  Gutenberg Printing Press 1440 Lodewijk Elsevir 1580
WorkShop – OpenSocial Gadgets for Science World Wide Web  Tim Berners-Lee  - first Web Server (EVER) 1990
WorkShop – OpenSocial Gadgets for Science ScienceDirect Online – more than 10 million scientific articles
WorkShop – OpenSocial Gadgets for Science Scopus online – 40 million abstracts
WorkShop – OpenSocial Gadgets for Science SciVerse Apps – HTML, JavaScript, APIs What is an App? The IFRAME Revolution <iframe src=&quot;iframe1.html&quot; width=“400&quot; height=“200&quot;> </iframe> <script type=‘text/javascript’>  Function fnWrite() { getElementById(‘content-div’).innerHTML =  “ HelloWorld”; } </script> <div id=‘content-div’></div>
WorkShop – OpenSocial Gadgets for Science  What are APIs? What is a Mashup? API API SciVerse APIs <script type=‘text/javascript’> url1 = ‘http://api.sciverse.com/search’; data1 = makeUrlRequest(url1); param1=data1[0]; url2 = ‘http://api.nytimes.com/search’; data2 =  makeUrlRequest(url2, param1); mashup = data2; getElementById(‘div1’) = mashup; </script> sciencedirect scopus
WorkShop – OpenSocial Gadgets for Science  SciVerse
WorkShop – OpenSocial Gadgets for Science  SciVerse Content API Content API - Search http://api.elsevier.com/content/search/index:CLUSTER?query=xx&view=VIEW CLUSTER HUB, SCIDIR, SCOPUS, AUTHOR, AFFILIATION VIEW STANDARD, COMPLETE query date  Content API - Retrieval http://api.elsevier.com/content/CONTENT-CATEGORY/LABEL:ID?view=VIEW CONTENT-CATEGORY article, abstract, author, affiliation LABEL EID, PII, DOI, SCOPUS_ID, AUTHOR_ID, AFFIL_ID, PUBMED_ID VIEW META, REF, FULL, LIGHT, STANDARD
WorkShop – OpenSocial Gadgets for Science  SciVerse – Framework API SciVerse – Framework API gadgets.sciverse.getAllResults(callback) gadgets.sciverse.getArticleContent(callback) gadgets.sciverse.getContextInfo(callback) gadgets.sciverse.getPageUrl(callback) gadgets.sciverse.getResults(requestedResults, callback) gadgets.sciverse.invokeResultsView(resultIndex, viewParams) gadgets.sciverse.makeContentApiRequest(url, callback, requestHeaders) gadgets.sciverse.makeRequest(url, callback, params) gadgets.hub.executeSearch(searchTerms)
WorkShop – OpenSocial Gadgets for Science  SciVerse – Framework API - ContextInfo accountId, artNum, au1, au1First, au1Init, au1Suffix, au1Sur, auCorp,  authorKeywords, date, docTitle, doi, entitlement, genre,  indexTerms, individualUser, isbn, issn, issue, keywords, offset, originPage,  otherKeywords, pageContentDivTagName, pages, pageType, part, partTitle,  partValue, pii, platform, scDocId, scopusFlag, searchQuery, searchTerms,  secureAuthToken , sortOrder, sPage, srcTitle, ssn, timestamp, volume, year function getContextInfoCallback(result){ // get authtoken for content API call var authtoken = result.secureAuthtoken; var searchterm = result.searchTerms; } <script type=&quot;text/javascript&quot;> var prefs = new gadgets.Prefs(); var authToken = prefs.getString(&quot;secureAuthtoken&quot;);                                </script>
WorkShop – OpenSocial Gadgets for Science  SciVerse – Content API var requestHeaders = {}; requestHeaders['X-ELS-APIKey'] = your-API-key; requestHeaders['X-ELS-Authtoken'] = authtoken; requestHeaders['Accept'] = &quot;application/json&quot;; var params = {}; params[gadgets.io.RequestParameters.HEADERS] = requestHeaders; // only necessary when using gadgets.io.makeRequest //params[gadgets.io.RequestParameters.AUTHORIZATION] =  gadgets.io.AuthorizationType.NONE; //params[gadgets.io.RequestParameters.CONTENT_TYPE] =  gadgets.io.ContentType.JSON; gadgets.sciverse.makeContentApiRequest(url, callback, params);
WorkShop – OpenSocial Gadgets for Science  SciVerse – Mashup <script type=‘text/javascript’> Var myapikey = ‘aaaass223ssss’; Function fnCreateMashup(){ gadgets.sciverse.getContextInfo(fnContextInfoCallback); } Funtion fnContentInfoCallback(response){ var search = response.searchQuery; var url = ‘http://api.nytimes.com/svc/search/v1/article?query=‘+search+’&api-key=‘+myapikey+ ‘ format=json’; var params = { ‘ href’ : url, ‘ format’ : ‘json’, ‘ authz’ : ‘none’ }; osapi.http.get(params1).execute(fnNyTimesCallback); } Function fnNyTimesCallback(nytimesResponse) { var output = ‘’; // using jquery $.each(nytimesResponse.content.results, function(I, result){ output = output + result.data + ‘ – ‘ + result.title; } } Gadgets.util.registerOnLoadHandler(fnCreateMashup); </script>
WorkShop – OpenSocial Gadgets for Science  SciVerse – OpenSocial Definition File <?xml version= &quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <Module> <ModulePrefs title= &quot;SciVerseExamples-ContentAPICall1&quot; author_email=&quot;CaprioR@your.domain&quot;> <Require feature= &quot;opensocial-0.9&quot; /> <Require feature= &quot;sciverse&quot; /> <Require feature= &quot;hub&quot; /> <Require feature= &quot;org.jquery.core-1.4.2&quot; /> </ModulePrefs> <Content type= &quot;html&quot; view=&quot;canvas&quot;><![CDATA[ <!-- The code for Canvas view is here. --> ]]></Content> <Content type= &quot;html&quot; view=&quot;profile&quot;><![CDATA[ Profile View ]]></Content> <Content type= &quot;html&quot; view=&quot;sciverseResultsView&quot;><![CDATA[ <!-- The code for Sciverse Results View view is here. --> <div>Sciverse Results View view for SciVerseExamples-ContentAPICall1.</div> ]]></Content> </Module>
WorkShop – OpenSocial Gadgets for Science  SciVerse – Integration Points view Integration point profile Hub - Home page, Search Results page ScienceDirect-  Full Text Article page, Search Results page Scopus - Record page canvas New full page sciverseResultsView Hub - Search Results page (under each result) ScienceDirect - Search Results page (under each result)
WorkShop – OpenSocial Gadgets for Science  SciVerse – Resources SciVerse – SDK plugin for Eclipse http://developer.sciverse.com/sdk   SciVerse – Content API http://developer.sciverse.com/api   SciVerse – Framework API http://developer.sciverse.com/framework Follow @SciVerseDev http://twitter.com/sciversedev Developer Blog http://developer.sciverse.com/blog Apps For Science  http://www.appsforscience.com Developer Events - Hack For Science http://www.hackforscience.com
The End

More Related Content

Viewers also liked

Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Annex Publishers
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?IoT User Group Hamburg
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemLars Juhl Jensen
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopVivek Krishnakumar
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer ScientistJustin Brunelle
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its toolsGaurav Diwakar
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big DataWilfried Hoge
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsPersistent Systems Ltd.
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and BioinformaticsSharif Shuvo
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorLevi Waldron
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformRising Media Ltd.
 
MongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceMongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceB1 Systems GmbH
 
The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4turingfan
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems BiologyMike Hucka
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringAgnieszka J.
 
Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Harald Erb
 

Viewers also liked (20)

Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)Computational Systems Biology (JCSB)
Computational Systems Biology (JCSB)
 
Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?Data Scientist - The Sexiest Job of the 21st Century?
Data Scientist - The Sexiest Job of the 21st Century?
 
Systems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological systemSystems biology: Bioinformatics on complete biological system
Systems biology: Bioinformatics on complete biological system
 
Tutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer WorkshopTutorial 1: Your First Science App - Araport Developer Workshop
Tutorial 1: Your First Science App - Araport Developer Workshop
 
Day in the Life of a Computer Scientist
Day in the Life of a Computer ScientistDay in the Life of a Computer Scientist
Day in the Life of a Computer Scientist
 
System biology and its tools
System biology and its toolsSystem biology and its tools
System biology and its tools
 
IBM - Big Value from Big Data
IBM - Big Value from Big DataIBM - Big Value from Big Data
IBM - Big Value from Big Data
 
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent SystemsAlan Turing Scientist Unlimited | Turing100@Persistent Systems
Alan Turing Scientist Unlimited | Turing100@Persistent Systems
 
COMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGYCOMPUTATIONAL BIOLOGY
COMPUTATIONAL BIOLOGY
 
Computational Biology and Bioinformatics
Computational Biology and BioinformaticsComputational Biology and Bioinformatics
Computational Biology and Bioinformatics
 
Multi-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/BioconductorMulti-omics infrastructure and data for R/Bioconductor
Multi-omics infrastructure and data for R/Bioconductor
 
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-PlattformAnalytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
Analytics meets Big Data – R/Python auf der Hadoop/Spark-Plattform
 
MongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open SourceMongoDB - Big Data mit Open Source
MongoDB - Big Data mit Open Source
 
The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4The Computer Scientist and the Cleaner v4
The Computer Scientist and the Cleaner v4
 
Computational Approaches to Systems Biology
Computational Approaches to Systems BiologyComputational Approaches to Systems Biology
Computational Approaches to Systems Biology
 
Zwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
Zwischen Browser, Code & Photoshop - aus dem Leben eines WebworkersZwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
Zwischen Browser, Code & Photoshop - aus dem Leben eines Webworkers
 
Python for Data Science
Python for Data SciencePython for Data Science
Python for Data Science
 
LSESU a Taste of R Language Workshop
LSESU a Taste of R Language WorkshopLSESU a Taste of R Language Workshop
LSESU a Taste of R Language Workshop
 
PO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan TuringPO WER - XX LO Gdańsk - Alan Turing
PO WER - XX LO Gdańsk - Alan Turing
 
Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen Do you know what k-Means? Cluster-Analysen
Do you know what k-Means? Cluster-Analysen
 

Similar to Apps for Science - Elsevier Developer Network Workshop 201102

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challengeremko caprio
 
Jaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebJaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebPatrick Chanezon
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial IntroPamela Fox
 
Google Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialGoogle Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialPatrick Chanezon
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overviewmarpierc
 
Future of Web Development
Future of Web DevelopmentFuture of Web Development
Future of Web DevelopmentZeno Rocha
 
Java y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day EcuadorJava y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day Ecuadorjorgaf
 
BarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social HackathonBarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social Hackathonmarvin337
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.comJUG Genova
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdatePatrick Chanezon
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdatePatrick Chanezon
 
Mashups & APIs
Mashups & APIsMashups & APIs
Mashups & APIsPamela Fox
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical WritingSarah Maddox
 

Similar to Apps for Science - Elsevier Developer Network Workshop 201102 (20)

China Science Challenge
China Science ChallengeChina Science Challenge
China Science Challenge
 
Jaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social WebJaoo - Open Social A Standard For The Social Web
Jaoo - Open Social A Standard For The Social Web
 
OpenSocial Intro
OpenSocial IntroOpenSocial Intro
OpenSocial Intro
 
Google Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocialGoogle Devfest Singapore - OpenSocial
Google Devfest Singapore - OpenSocial
 
OGCE Project Overview
OGCE Project OverviewOGCE Project Overview
OGCE Project Overview
 
Future of Web Development
Future of Web DevelopmentFuture of Web Development
Future of Web Development
 
Open social
Open socialOpen social
Open social
 
SEA Open Hack - YAP
SEA Open Hack - YAPSEA Open Hack - YAP
SEA Open Hack - YAP
 
Hi5 Open Social
Hi5   Open SocialHi5   Open Social
Hi5 Open Social
 
YAP / Open Mail Overview
YAP / Open Mail OverviewYAP / Open Mail Overview
YAP / Open Mail Overview
 
Java y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day EcuadorJava y Ciencia de Datos - Java Day Ecuador
Java y Ciencia de Datos - Java Day Ecuador
 
BarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social HackathonBarCamp KL H20 Open Social Hackathon
BarCamp KL H20 Open Social Hackathon
 
Playing with parse.com
Playing with parse.comPlaying with parse.com
Playing with parse.com
 
Goodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social UpdateGoodle Developer Days Munich 2008 - Open Social Update
Goodle Developer Days Munich 2008 - Open Social Update
 
Opensocial
OpensocialOpensocial
Opensocial
 
Goodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social UpdateGoodle Developer Days London 2008 - Open Social Update
Goodle Developer Days London 2008 - Open Social Update
 
Mashups & APIs
Mashups & APIsMashups & APIs
Mashups & APIs
 
API Technical Writing
API Technical WritingAPI Technical Writing
API Technical Writing
 
Swift meetup22june2015
Swift meetup22june2015Swift meetup22june2015
Swift meetup22june2015
 
Spring Surf 101
Spring Surf 101Spring Surf 101
Spring Surf 101
 

Recently uploaded

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Recently uploaded (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Apps for Science - Elsevier Developer Network Workshop 201102

  • 1. Apps for Science Elsevier | Developer Network
  • 2. WorkShop – OpenSocial Gadgets for Science Web 2.0 – Much to do about … a lot Gadgets Widgets IFrame HTML5 Browser Add-ons Plugins Facebook Apps Mobile Apps Web2.0 Open API Open Data Open Gov JavaScript Linked Data
  • 3. WorkShop – OpenSocial Gadgets for Science Web 2.0 – iGoogle is Apps
  • 4. 1 billion downloads 350,000 Apps WorkShop – OpenSocial Gadgets for Science Web 2.0 - Mobile Apps is Apps
  • 5. WorkShop – OpenSocial Gadgets for Science Web 2.0 – Browser Plugins is Apps Opera Browser – 2.5% IE – 26% Mozilla – 42.8% Chrome – 23.8% Safari - 4%
  • 6. WorkShop – OpenSocial Gadgets for Science Web 2.0 - Facebook is Apps Facebook Apps 500 million users
  • 7. WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial - Facebook versus OpenSocial
  • 8. WorkShop – OpenSocial Gadgets for Science SciVerse is OpenSocial Facebook versus OpenSocial 500 million versus 900 million users
  • 9. WorkShop – OpenSocial Gadgets for Science SciVerse is Innovation in STM Publishing Gutenberg Printing Press 1440 Lodewijk Elsevir 1580
  • 10. WorkShop – OpenSocial Gadgets for Science World Wide Web Tim Berners-Lee - first Web Server (EVER) 1990
  • 11. WorkShop – OpenSocial Gadgets for Science ScienceDirect Online – more than 10 million scientific articles
  • 12. WorkShop – OpenSocial Gadgets for Science Scopus online – 40 million abstracts
  • 13. WorkShop – OpenSocial Gadgets for Science SciVerse Apps – HTML, JavaScript, APIs What is an App? The IFRAME Revolution <iframe src=&quot;iframe1.html&quot; width=“400&quot; height=“200&quot;> </iframe> <script type=‘text/javascript’> Function fnWrite() { getElementById(‘content-div’).innerHTML = “ HelloWorld”; } </script> <div id=‘content-div’></div>
  • 14. WorkShop – OpenSocial Gadgets for Science What are APIs? What is a Mashup? API API SciVerse APIs <script type=‘text/javascript’> url1 = ‘http://api.sciverse.com/search’; data1 = makeUrlRequest(url1); param1=data1[0]; url2 = ‘http://api.nytimes.com/search’; data2 = makeUrlRequest(url2, param1); mashup = data2; getElementById(‘div1’) = mashup; </script> sciencedirect scopus
  • 15. WorkShop – OpenSocial Gadgets for Science SciVerse
  • 16. WorkShop – OpenSocial Gadgets for Science SciVerse Content API Content API - Search http://api.elsevier.com/content/search/index:CLUSTER?query=xx&view=VIEW CLUSTER HUB, SCIDIR, SCOPUS, AUTHOR, AFFILIATION VIEW STANDARD, COMPLETE query date Content API - Retrieval http://api.elsevier.com/content/CONTENT-CATEGORY/LABEL:ID?view=VIEW CONTENT-CATEGORY article, abstract, author, affiliation LABEL EID, PII, DOI, SCOPUS_ID, AUTHOR_ID, AFFIL_ID, PUBMED_ID VIEW META, REF, FULL, LIGHT, STANDARD
  • 17. WorkShop – OpenSocial Gadgets for Science SciVerse – Framework API SciVerse – Framework API gadgets.sciverse.getAllResults(callback) gadgets.sciverse.getArticleContent(callback) gadgets.sciverse.getContextInfo(callback) gadgets.sciverse.getPageUrl(callback) gadgets.sciverse.getResults(requestedResults, callback) gadgets.sciverse.invokeResultsView(resultIndex, viewParams) gadgets.sciverse.makeContentApiRequest(url, callback, requestHeaders) gadgets.sciverse.makeRequest(url, callback, params) gadgets.hub.executeSearch(searchTerms)
  • 18. WorkShop – OpenSocial Gadgets for Science SciVerse – Framework API - ContextInfo accountId, artNum, au1, au1First, au1Init, au1Suffix, au1Sur, auCorp, authorKeywords, date, docTitle, doi, entitlement, genre, indexTerms, individualUser, isbn, issn, issue, keywords, offset, originPage, otherKeywords, pageContentDivTagName, pages, pageType, part, partTitle, partValue, pii, platform, scDocId, scopusFlag, searchQuery, searchTerms, secureAuthToken , sortOrder, sPage, srcTitle, ssn, timestamp, volume, year function getContextInfoCallback(result){ // get authtoken for content API call var authtoken = result.secureAuthtoken; var searchterm = result.searchTerms; } <script type=&quot;text/javascript&quot;> var prefs = new gadgets.Prefs(); var authToken = prefs.getString(&quot;secureAuthtoken&quot;);                                </script>
  • 19. WorkShop – OpenSocial Gadgets for Science SciVerse – Content API var requestHeaders = {}; requestHeaders['X-ELS-APIKey'] = your-API-key; requestHeaders['X-ELS-Authtoken'] = authtoken; requestHeaders['Accept'] = &quot;application/json&quot;; var params = {}; params[gadgets.io.RequestParameters.HEADERS] = requestHeaders; // only necessary when using gadgets.io.makeRequest //params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.NONE; //params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.JSON; gadgets.sciverse.makeContentApiRequest(url, callback, params);
  • 20. WorkShop – OpenSocial Gadgets for Science SciVerse – Mashup <script type=‘text/javascript’> Var myapikey = ‘aaaass223ssss’; Function fnCreateMashup(){ gadgets.sciverse.getContextInfo(fnContextInfoCallback); } Funtion fnContentInfoCallback(response){ var search = response.searchQuery; var url = ‘http://api.nytimes.com/svc/search/v1/article?query=‘+search+’&api-key=‘+myapikey+ ‘ format=json’; var params = { ‘ href’ : url, ‘ format’ : ‘json’, ‘ authz’ : ‘none’ }; osapi.http.get(params1).execute(fnNyTimesCallback); } Function fnNyTimesCallback(nytimesResponse) { var output = ‘’; // using jquery $.each(nytimesResponse.content.results, function(I, result){ output = output + result.data + ‘ – ‘ + result.title; } } Gadgets.util.registerOnLoadHandler(fnCreateMashup); </script>
  • 21. WorkShop – OpenSocial Gadgets for Science SciVerse – OpenSocial Definition File <?xml version= &quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <Module> <ModulePrefs title= &quot;SciVerseExamples-ContentAPICall1&quot; author_email=&quot;CaprioR@your.domain&quot;> <Require feature= &quot;opensocial-0.9&quot; /> <Require feature= &quot;sciverse&quot; /> <Require feature= &quot;hub&quot; /> <Require feature= &quot;org.jquery.core-1.4.2&quot; /> </ModulePrefs> <Content type= &quot;html&quot; view=&quot;canvas&quot;><![CDATA[ <!-- The code for Canvas view is here. --> ]]></Content> <Content type= &quot;html&quot; view=&quot;profile&quot;><![CDATA[ Profile View ]]></Content> <Content type= &quot;html&quot; view=&quot;sciverseResultsView&quot;><![CDATA[ <!-- The code for Sciverse Results View view is here. --> <div>Sciverse Results View view for SciVerseExamples-ContentAPICall1.</div> ]]></Content> </Module>
  • 22. WorkShop – OpenSocial Gadgets for Science SciVerse – Integration Points view Integration point profile Hub - Home page, Search Results page ScienceDirect- Full Text Article page, Search Results page Scopus - Record page canvas New full page sciverseResultsView Hub - Search Results page (under each result) ScienceDirect - Search Results page (under each result)
  • 23. WorkShop – OpenSocial Gadgets for Science SciVerse – Resources SciVerse – SDK plugin for Eclipse http://developer.sciverse.com/sdk SciVerse – Content API http://developer.sciverse.com/api SciVerse – Framework API http://developer.sciverse.com/framework Follow @SciVerseDev http://twitter.com/sciversedev Developer Blog http://developer.sciverse.com/blog Apps For Science http://www.appsforscience.com Developer Events - Hack For Science http://www.hackforscience.com