Hi Helix,

the URN should be in the following format

urn:nbn:de:[library network]*:[library seal]-[unique production  
number][check digit]

Example urn:nbn:de:bvb:m333:sab-089-3321752945

Now let me explain the different parts of it.

urn:nbn:de is fix and given by the national library
bvb is the identification number of the greater institution
m333 is the seal of our "library" actually we are a archive
sab is free chosen and stands for our library name
089-332175294 is the "filename" or resource name
5 is the calculated check digit

OK now you want to know how the check digit is generated, do you?

The string 089-332175294 will be converted to a string by replacing  
every sign with the one given in the following table

0=1             J=25
1=2             K=42
2=3             L=26
3=4             M=27
4=5             N=13
5=6             O=28
6=7             P=29
7=8             Q=31
8=9             R=12
9=41            S=32
A=18            T=33
B=14            U=11
C=19            V=34
D=15            W=35
E=16            X=36
F=21            Y=37
G=22            Z=38
H=23            +=49
I=24            :=17
_=43            -=39
.=47            /=45

After converting you get this

1112131713141317151617221434171941394432863415

Now every sign is multiplied, the first sign with 1, the second with  
2, the third with 3 and so on... for every sign you had multiplied you  
increase the multiplier with 1
So the calculation looks like this

Sum = 1*1 + 2*1 + 3*1 + 4*2 + 5*1 + 6*3 ... n*m
sum = 4027

now you take the last number (5) of the converted sting above  
(1112131713141317151617221434171941394432863415)
and divide the Sum by 5 so you get the quotient

quotient = sum / lastnumber
quotient = 4017 / 5
quotient = 805,4

Now the check digit is the number before the comma in

check digit = 5

The result is the URN + check digit

urn:nbn:de:bvb:m333:sab-089-3321752945


Do you think we get this working without a patch?


Hope i have explained all right, the informations taken from  
http://www.persistent-identifier.de/?link=316

And you wrote that @mire planing to integrate such a feature in 4.0,  
hm i think thats to much time to waiting for.


Thank you for you information in the second mail about the discussion.
Anette was asking this in 2003 but i saw that she is located in  
germany too and i got her contacts from her website and maybe she can  
tell me if they had implemented it in such a way....


Thanks a lot Helix
Marco



Zitat von helix84 <[email protected]>:

> On Mon, Oct 29, 2012 at 4:51 PM,  <[email protected]> wrote:
>> is it possible to generate URN with DSpace? If not, is it planed to
>> implement this in the next releases? In 3.0 ;-) ?
>
> Hi Marco,
>
> how exactly are these URNs generated? Maybe you can do it without any patch.
>
> Regarding the planned External Identifier Services feature by @mire,
> this is one that they didn't yet have ready for 3.0, so 4.0 would be
> my guess.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to