Your SlideShare is downloading. ×
0
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Module 4 - SWORD clients
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Module 4 - SWORD clients

7,150

Published on

Module 4 of ’The SWORD Course’. …

Module 4 of ’The SWORD Course’.

For further information see http://swordapp.org/

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
7,150
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×