SlideShare une entreprise Scribd logo
1  sur  34
The SWORD Course Module4 SWORDclients
Module objectives By the end of this module you will: Understand the need for SWORD clients Have seen a variety of SWORD clients Have had the opportunity to try using some SWORD clients Know what tools are available to help with the creation of SWORD clients
A quick recap ,[object Object],You can find out about a repository’s SWORD interface by requesting a Service Document You can deposit an item by POSTing a package
User friendly? Interaction with SWORD is via XML documents XML is good for machine to machine interfaces Do users want to read / write XML?
User friendly?
The answer? SWORD clients
An analogy Using the web: Do we read and write HTML? No! We use a web client / browser.
SWORD clients Three types of SWORD client: Machine to machine custom client E.g. custom code to deposit from lab equipment General client Deposit any item type to any repository Specific client Tailored for an individual use (e.g. e-thesis deposit to repository X, journal article (with DOI) deposit to repository Y)
SWORD clients Machine to machine custom client E.g. JISC-funded ROAD project Robot-generated Open Access Data Automated laboratory undertaking investigations into gene functions Specific client for specific project / equipment
Online demo client
Desktop demo client
Problems with general clients Do users know their repository URL? Do users know the URL of their repository’s service document? Do users have pre-compiled packages?
Another example The Facebook SWORD deposit tool http://apps.facebook.com/swordapp/
Facebook client
Facebook client
Facebook client The application performs the packaging (metadata + file)
Facebook client
Specific clients Specific clients overcome the previous problems: URLs embedded (or hidden behind easy choices) Usernames and passwords may be embedded Local language can be used
An example E-thesis deposit at The University of Auckland http://deposit.library.auckland.ac.nz/ Uses local language (e.g. ‘UPI’ for login) Specific Creative Commons questions Email receipt
An example
An example
An example
An example
An example
Deposit by email Email deposit@swordapp.org Script reads mailbox From name -> Author Subject -> Title Message body -> Abstract Deposit made Reply sent to user with deposited item URL Another example
Article Authoring Add-in for Word 2007 http://research.microsoft.com/en-us/projects/authoring/ .docx files are actually ‘packages’ Zip file containing XML files Embed SWORD details in the XML <article ms:DepositURL=”http://localhost:8080/sword/deposit/123456789/2″ ms:JournalName=”test” ms:SignupURL=”http://localhost:8080/jspui/” ms:PasswordRequired=”True” ms:PreferredFormat=”docx” ms:SupportedFormats=”docx” ms:Category=”" ms:SubCategory=”"> Deposit from within Microsoft Word
Create a template using fields E.g. title / abstract / conclusion Repository can be programmed to extract these fields programmatically into metadata elements Deposit from within Microsoft Word
Deposit from within Microsoft Word
Want to create your own custom client? No need to re-invent the wheel Code libraries / APIs available Creating your own client
PHP http://github.com/stuartlewis/swordapp-php-library/ Good for web-based or scripted clients Includes a METS/SWAP packager Java http://sourceforge.net/projects/sword-app/develop Good for web-based, scripted or desktop clients SWORD code libraries / APIs
Review SWORD clients are required to perform deposits There are some generic clients available Generic clients require a level of technical knowledge Specific clients can be created to shield the user from details There are code libraries available to help you write your own clients
Want to learn more? If SWORD is the answer, what is the question? Use of the Simple Web service Offering Repository Deposit protocol http://dx.doi.org/10.1108/00330330910998057 http://hdl.handle.net/2292/5315
Credits This course has been produced by: Stuart Lewis The SWORD project http://swordapp.org/ Funded by JISC http://www.jisc.ac.uk/ Licence Creative commons
Photo Credits Lecture hall: http://www.flickr.com/photos/iamthebestartist/2008790/ It’s a No!: http://www.flickr.com/photos/biscuitsmlp/2247299538/

Contenu connexe

Tendances

CV - 2nd Officer DPO - FREDERIK LIEBENBERG
CV - 2nd Officer  DPO - FREDERIK LIEBENBERGCV - 2nd Officer  DPO - FREDERIK LIEBENBERG
CV - 2nd Officer DPO - FREDERIK LIEBENBERG
Derik Liebenberg
 
Rails Request & Middlewares
Rails Request & MiddlewaresRails Request & Middlewares
Rails Request & Middlewares
Santosh Wadghule
 

Tendances (16)

CV - 2nd Officer DPO - FREDERIK LIEBENBERG
CV - 2nd Officer  DPO - FREDERIK LIEBENBERGCV - 2nd Officer  DPO - FREDERIK LIEBENBERG
CV - 2nd Officer DPO - FREDERIK LIEBENBERG
 
Html
HtmlHtml
Html
 
Node.js Express Framework
Node.js Express FrameworkNode.js Express Framework
Node.js Express Framework
 
Setting up your development environment
Setting up your development environmentSetting up your development environment
Setting up your development environment
 
How to learn HTML in 10 Days
How to learn HTML in 10 DaysHow to learn HTML in 10 Days
How to learn HTML in 10 Days
 
CV REDHO YAHDIE
CV REDHO YAHDIECV REDHO YAHDIE
CV REDHO YAHDIE
 
ORM in Django
ORM in DjangoORM in Django
ORM in Django
 
JavaScript - Chapter 10 - Strings and Arrays
 JavaScript - Chapter 10 - Strings and Arrays JavaScript - Chapter 10 - Strings and Arrays
JavaScript - Chapter 10 - Strings and Arrays
 
Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1
 
javaScript.ppt
javaScript.pptjavaScript.ppt
javaScript.ppt
 
Web fundamentals - part 1
Web fundamentals - part 1Web fundamentals - part 1
Web fundamentals - part 1
 
Rails Request & Middlewares
Rails Request & MiddlewaresRails Request & Middlewares
Rails Request & Middlewares
 
Web Components and Security
Web Components and SecurityWeb Components and Security
Web Components and Security
 
Jsp(java server pages)
Jsp(java server pages)Jsp(java server pages)
Jsp(java server pages)
 
javascript objects
javascript objectsjavascript objects
javascript objects
 
An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST An Overview of Web Services: SOAP and REST
An Overview of Web Services: SOAP and REST
 

En vedette (6)

Module 2 - SWORD Use Cases
Module 2 - SWORD Use CasesModule 2 - SWORD Use Cases
Module 2 - SWORD Use Cases
 
Module 1 - An Introduction To SWORD
Module 1 - An Introduction To SWORDModule 1 - An Introduction To SWORD
Module 1 - An Introduction To SWORD
 
Module 5 - Create your own SWORD client
Module 5 - Create your own SWORD clientModule 5 - Create your own SWORD client
Module 5 - Create your own SWORD client
 
SWORD v2 debut at Open Repositories 2011
SWORD v2 debut at Open Repositories 2011SWORD v2 debut at Open Repositories 2011
SWORD v2 debut at Open Repositories 2011
 
Simple Web service Offering Repository Deposit (SWORD)‏
Simple Web service Offering Repository Deposit (SWORD)‏Simple Web service Offering Repository Deposit (SWORD)‏
Simple Web service Offering Repository Deposit (SWORD)‏
 
Module 6 - introducing sword v2
Module 6 - introducing sword v2Module 6 - introducing sword v2
Module 6 - introducing sword v2
 

Similaire à Module 4 - SWORD clients

Open writing-cloud-collab
Open writing-cloud-collabOpen writing-cloud-collab
Open writing-cloud-collab
Karen Vuong
 
Developing a Struts & Tiles application using WebSphere Studio
Developing a Struts & Tiles application using WebSphere StudioDeveloping a Struts & Tiles application using WebSphere Studio
Developing a Struts & Tiles application using WebSphere Studio
elliando dias
 
A Brief Introduce to WSGI
A Brief Introduce to WSGIA Brief Introduce to WSGI
A Brief Introduce to WSGI
Mingli Yuan
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
chomas kandar
 
OData Across Boundaries
OData Across BoundariesOData Across Boundaries
OData Across Boundaries
Sam Basu
 

Similaire à Module 4 - SWORD clients (20)

Code Documentation. That ugly thing...
Code Documentation. That ugly thing...Code Documentation. That ugly thing...
Code Documentation. That ugly thing...
 
Lightweight Deposit using SWORD
Lightweight Deposit using SWORDLightweight Deposit using SWORD
Lightweight Deposit using SWORD
 
AIDA/Scribo
AIDA/ScriboAIDA/Scribo
AIDA/Scribo
 
Dojo - from web page to web apps
Dojo - from web page to web appsDojo - from web page to web apps
Dojo - from web page to web apps
 
epicenter2010 Open Xml
epicenter2010   Open Xmlepicenter2010   Open Xml
epicenter2010 Open Xml
 
SWORD v2 at JISC Depo meeting
SWORD v2 at JISC Depo meetingSWORD v2 at JISC Depo meeting
SWORD v2 at JISC Depo meeting
 
Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2
 
Making Repository Easier With SWORD
Making Repository Easier With SWORDMaking Repository Easier With SWORD
Making Repository Easier With SWORD
 
Sword Bl 0903[1]
Sword Bl 0903[1]Sword Bl 0903[1]
Sword Bl 0903[1]
 
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
Open Writing! Collaborative Authoring for CloudStack Documentation by Jessica...
 
Open writing-cloud-collab
Open writing-cloud-collabOpen writing-cloud-collab
Open writing-cloud-collab
 
Developing a Struts & Tiles application using WebSphere Studio
Developing a Struts & Tiles application using WebSphere StudioDeveloping a Struts & Tiles application using WebSphere Studio
Developing a Struts & Tiles application using WebSphere Studio
 
A Brief Introduce to WSGI
A Brief Introduce to WSGIA Brief Introduce to WSGI
A Brief Introduce to WSGI
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Document Object Model
Document Object ModelDocument Object Model
Document Object Model
 
Intro to Web Standards
Intro to Web StandardsIntro to Web Standards
Intro to Web Standards
 
Up and Running with the Typelevel Stack
Up and Running with the Typelevel StackUp and Running with the Typelevel Stack
Up and Running with the Typelevel Stack
 
OData Across Boundaries
OData Across BoundariesOData Across Boundaries
OData Across Boundaries
 
SWORD: An Overview
SWORD: An OverviewSWORD: An Overview
SWORD: An Overview
 
Introduction to mean and mern || Event by DSC UNIDEB
Introduction to mean and mern || Event by DSC UNIDEBIntroduction to mean and mern || Event by DSC UNIDEB
Introduction to mean and mern || Event by DSC UNIDEB
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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, ...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Module 4 - SWORD clients

  • 1. The SWORD Course Module4 SWORDclients
  • 2. Module objectives By the end of this module you will: Understand the need for SWORD clients Have seen a variety of SWORD clients Have had the opportunity to try using some SWORD clients Know what tools are available to help with the creation of SWORD clients
  • 3.
  • 4. User friendly? Interaction with SWORD is via XML documents XML is good for machine to machine interfaces Do users want to read / write XML?
  • 7. An analogy Using the web: Do we read and write HTML? No! We use a web client / browser.
  • 8. SWORD clients Three types of SWORD client: Machine to machine custom client E.g. custom code to deposit from lab equipment General client Deposit any item type to any repository Specific client Tailored for an individual use (e.g. e-thesis deposit to repository X, journal article (with DOI) deposit to repository Y)
  • 9. SWORD clients Machine to machine custom client E.g. JISC-funded ROAD project Robot-generated Open Access Data Automated laboratory undertaking investigations into gene functions Specific client for specific project / equipment
  • 12. Problems with general clients Do users know their repository URL? Do users know the URL of their repository’s service document? Do users have pre-compiled packages?
  • 13. Another example The Facebook SWORD deposit tool http://apps.facebook.com/swordapp/
  • 16. Facebook client The application performs the packaging (metadata + file)
  • 18. Specific clients Specific clients overcome the previous problems: URLs embedded (or hidden behind easy choices) Usernames and passwords may be embedded Local language can be used
  • 19. An example E-thesis deposit at The University of Auckland http://deposit.library.auckland.ac.nz/ Uses local language (e.g. ‘UPI’ for login) Specific Creative Commons questions Email receipt
  • 25. Deposit by email Email deposit@swordapp.org Script reads mailbox From name -> Author Subject -> Title Message body -> Abstract Deposit made Reply sent to user with deposited item URL Another example
  • 26. Article Authoring Add-in for Word 2007 http://research.microsoft.com/en-us/projects/authoring/ .docx files are actually ‘packages’ Zip file containing XML files Embed SWORD details in the XML <article ms:DepositURL=”http://localhost:8080/sword/deposit/123456789/2″ ms:JournalName=”test” ms:SignupURL=”http://localhost:8080/jspui/” ms:PasswordRequired=”True” ms:PreferredFormat=”docx” ms:SupportedFormats=”docx” ms:Category=”" ms:SubCategory=”"> Deposit from within Microsoft Word
  • 27. Create a template using fields E.g. title / abstract / conclusion Repository can be programmed to extract these fields programmatically into metadata elements Deposit from within Microsoft Word
  • 28. Deposit from within Microsoft Word
  • 29. Want to create your own custom client? No need to re-invent the wheel Code libraries / APIs available Creating your own client
  • 30. PHP http://github.com/stuartlewis/swordapp-php-library/ Good for web-based or scripted clients Includes a METS/SWAP packager Java http://sourceforge.net/projects/sword-app/develop Good for web-based, scripted or desktop clients SWORD code libraries / APIs
  • 31. Review SWORD clients are required to perform deposits There are some generic clients available Generic clients require a level of technical knowledge Specific clients can be created to shield the user from details There are code libraries available to help you write your own clients
  • 32. Want to learn more? If SWORD is the answer, what is the question? Use of the Simple Web service Offering Repository Deposit protocol http://dx.doi.org/10.1108/00330330910998057 http://hdl.handle.net/2292/5315
  • 33. Credits This course has been produced by: Stuart Lewis The SWORD project http://swordapp.org/ Funded by JISC http://www.jisc.ac.uk/ Licence Creative commons
  • 34. Photo Credits Lecture hall: http://www.flickr.com/photos/iamthebestartist/2008790/ It’s a No!: http://www.flickr.com/photos/biscuitsmlp/2247299538/