nbn urn generator and resolver n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
NBN:URN Generator and Resolver PowerPoint Presentation
Download Presentation
NBN:URN Generator and Resolver

Loading in 2 Seconds...

play fullscreen
1 / 23

NBN:URN Generator and Resolver - PowerPoint PPT Presentation


  • 120 Views
  • Uploaded on

NBN:URN Generator and Resolver. ERPANET Workshop on Persistent Identifiers Cork, 17-18 June, 2004. Ádám Horváth National Széchényi Library Hungary. Contents. Preparation Protocol Design principles NBN:URN generation NBN:URN resolution The web interface Technical background

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'NBN:URN Generator and Resolver' - yovela


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
nbn urn generator and resolver
NBN:URN Generator and Resolver

ERPANET Workshop on Persistent Identifiers

Cork, 17-18 June, 2004.

Ádám Horváth

National Széchényi Library

Hungary

contents
Contents

Preparation

Protocol

Design principles

NBN:URN generation

NBN:URN resolution

The web interface

Technical background

Intended users

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

preparation
Preparation
  • Studied the relevant standards

http://www.uri.net/

Studied the existing implementations

    • Finnish
    • Norwegian
    • German

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

protocol
Protocol
  • THTTP protocol (RFC 2169)
  • Implemented features
    • N2L
    • N2LS
    • L2N

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

design principles
Design principles
  • Simplicity
    • User friendly generation
    • Administration free
  • Reliability
    • The uniqueness of URN is guaranteed
    • Only the owner of the document can request a URN

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

the owner of the document
The owner of the document
  • Who is the owner?
    • Who has the right to write into the document
  • Advantages
    • Simple
    • Can be automated
    • There is no problem with passwords

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

requesting urn step 1
Requesting URN - Step 1
  • HTTP request
    • http://nbn.oszk.hu/GetNBN?url=http://solanum.oszk.hu/proba.html
  • The server checks
    • Does the document exist?
    • Is it an HTML document?
    • Is there already a URN for this document?
    • Has anyone placed a transaction for it?

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

requesting urn step 1 cont d
Requesting URN - Step 1 (cont’d)
  • Answer
    • The server place the request
    • OK:0:urn:nbn:hu-3006tid:3291d4fcf5b5fce1d0
    • Error:-9: Error message

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

requesting urn step 2
Requesting URN - Step 2
  • Writing the URN into the document
    • It is the requester’s task
    • <head> ...<meta name="dc.identifier” scheme="urn” content="urn:nbn:hu-3006">...</head>

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

requesting urn step 3
Requesting URN - Step 3
  • Finalizing the request
    • http://nbn.oszk.hu/GetNBN?url=http://solanum.oszk.hu/proba.html&urn=urn:nbn:hu-3006&tid=3291d4fcf5b5fce1d0

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

requesting urn step 3 cont d
Requesting URN - Step 3 (cont’d)
  • The server checks
    • Has the request already been placed
    • Does the document exist
    • Is it an HTML document
    • Does it contain the URN
  • Answer
    • OK
    • Error message

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

resolving urn
Resolving URN
  • N2L (URN to URL)
    • HTTP request
      • http://nbn.oszk.hu/N2L?urn:nbn:hu-3006
    • HTTP coded answer
      • 303 (SEE OTHER): redirects to the appropriate URL.
      • 404 (NOT FOUND): if the URN does not exist

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

resolving urn cont d
Resolving URN (cont’d)
  • L2N (URL to URN)
    • HTTP request
      • http://nbn.oszk.hu/L2N?http://solanum.oszk.hu/proba.html
    • HTTP coded answer
      • Text (eg. urn:nbn:hu-3006).
      • 404 ( FOUND): if it does not exist.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

resolving urn cont d1
Resolving URN (cont’d)
  • N2Ls (URN to URLs)
    • HTTP request
      • http://nbn.oszk.hu/N2Ls? urn:nbn:hu-3006
    • HTTP coded answer
      • HTML page with a list of URLs
      • text/uri-list MIME type (if explicitly requested).
      • 404 ( FOUND): if it does not exist.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

other functions
Other functions
  • Changing the URN - URL assignment
    • This is also a three step process
      • The document must exist in both the old and the new URL
  • Deleting the URN - URL assignment
    • This is also a three step process
      • The document itself can only be deleted after the deletion of the URN - URL assignment

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

other functions cont d
Other functions (cont’d)
  • Request and modification for dynamic pages
    • http://nbn.oszk.hu/GetNBN?url=http://solanum.oszk.hu/proba.html&nocheck=1
  • Server
    • Does not check the existence of the document

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

other functions cont d1
Other functions (cont’d)
  • Bulk generation of URN’s is also possible
    • Sample scripts written in Python are provided for the users

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

web interface
Web interface
  • The functions can be invoked from a web interface
    • Test request is also possible
    • The interface is bilingual: Hungarian and English
  • The web interface also contains background material: user guide, the source of the application, sample script etc.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

technical background
Technical background
  • PHP for the interface
  • Java servlets for the functions
  • PostgreSql is the database
  • It is an open source application

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

intended users
Intended users
  • Hungarians
    • How can we ensure this
      • Only the Hungarian interface works on the production database
      • The English interface works on the development database. The purpose of the English interface is to make our results more widely available.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

guidelines for the request
Guidelines for the request
  • Copies of the same object should have the same URN
  • Different versions of the same object, e.g. in MS Word and HTML shall have different URNs.
  • If an object is changed, a new URN only needs to be assigned if the intellectual content of the object changes. Editorial changes (e.g. changes to fonts etc.) do not necessitate a change of URN.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

resolving urn in the opac
Resolving URN in the OPAC
  • We build a database on the THTTP resolvers.
    • The OPAC display program consults with this database and sends the URN to the appropriate resolver.

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth

thank you for your attention
Thank you for your attention

adam@oszk.hu

NBN:URN Generator and Resolver - ERPANET Workshop, Cork - Ádám Horváth