Module 4 - SWORD clients
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Module 4 - SWORD clients

  • 7,162 views
Uploaded on

Module 4 of ’The SWORD Course’. ...

Module 4 of ’The SWORD Course’.

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

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
7,162
On Slideshare
6,804
From Embeds
358
Number of Embeds
2

Actions

Shares
Downloads
51
Comments
0
Likes
0

Embeds 358

http://www.marcusebarnes.com 356
http://prlog.ru 2

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
    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. A quick recap
    • SWORD is a web service that allows deposits to take place into a repository.
    You can find out about a repository’s SWORD interface by requesting a Service Document
    You can deposit an item by POSTing a package
  • 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?
  • 5. User friendly?
  • 6. The answer?
    SWORD
    clients
  • 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
  • 10. Online demo client
  • 11. Desktop demo client
  • 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/
  • 14. Facebook client
  • 15. Facebook client
  • 16. Facebook client
    The application performs the packaging (metadata + file)
  • 17. Facebook client
  • 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
  • 20. An example
  • 21. An example
  • 22. An example
  • 23. An example
  • 24. An example
  • 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/