Stephan Gatzka | 23 Jan 22:28 2012

DOI and edition

Hi!

I'm a somehow newbie to refdb, but I got it running and I'm impressed by 
the capabilities. I'm using the latest official version 0.9.9-1

Currently I've two questions I didn't found answers yet.

Is it possible or planned to include a
<biblioid class="doi">xxxx</biblioid>
when exporting to docbook5? I've imported RIS data sets including DO tags.

The second question is which RIS tag is the correct one for the 
"edition" of a book and is this tag already exported to an <edition> tag 
in docbook?

Kind regards,

Stephan

Attachment (smime.p7s): application/pkcs7-signature, 6651 bytes
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
(Continue reading)

markus.hoenicka | 26 Jan 23:55 2012
Picon

DOI and edition

Hi,

Stephan Gatzka writes:
 > Is it possible or planned to include a
 > <biblioid class="doi">xxxx</biblioid>
 > when exporting to docbook5? I've imported RIS data sets including DO tags.
 > 

This has been implemented in the svn version a while ago.

 > The second question is which RIS tag is the correct one for the 
 > "edition" of a book and is this tag already exported to an <edition> tag 
 > in docbook?
 > 

The RIS spec suggest "VL" for this purpose. I've noticed that this
field was exported incorrectly in the docbook output (it was exported
to volumenum regardless of the reference type). I've checked in a
fix. Editions of books and related types should now be exported
correctly as of svn revision 754.

I'd recommend to use the current svn revision if you're able to
build RefDB from the sources. I've been using this version in a
production environment for months without running into any
problems.

regards,
Markus

--

-- 
(Continue reading)

Stephan Gatzka | 27 Jan 07:17 2012

Re: DOI and edition


> I'd recommend to use the current svn revision if you're able to
> build RefDB from the sources. I've been using this version in a
> production environment for months without running into any
> problems.

That's no problem for me.

I will try it out this evening.

Many thanks!

Regards,

Stephan

Attachment (smime.p7s): application/pkcs7-signature, 6651 bytes
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Refdb-users mailing list
Refdb-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/refdb-users
(Continue reading)

Stephan Gatzka | 28 Jan 21:52 2012

Re: DOI and edition

Hello!

I've found some time to compile the svn version (754) and now I got the 
DOI correctly, Thanks a lot.

Nevertheless, I experienced some other problems.

That's the RIS entry I imported into an empty database:

TY  - BOOK
ID  - SCHOLZ_SOFTWARE_ENGINEERING_EMBEDDED
BT  - Softwareentwicklung eingebetteter Systeme
AU  - Scholz,Peter
PY  - 2005///
VL  - 2
CY  - Berlin, Heidelberg
PB  - Springer Verlag
SN  - 3-540-23405-5
M3  - DOI:10.1007/3-540-27522-3
ER  -

When I use
refdbc: getref :ID:=1 -t ris -s ALL

TY  - BOOK
ID  - SCHOLZ_SOFTWARE_ENGINEERING_EMBEDDED
AU  - Scholz,Peter
RP  - NOT IN FILE
BT  - Softwareentwicklung eingebetteter Systeme
CY  - Berlin, Heidelberg
(Continue reading)

markus.hoenicka | 31 Jan 01:17 2012
Picon

Re: DOI and edition

Hi,

Stephan Gatzka writes:
 > M3  - DOI:10.1007/3-540-27522-3
 > ER  -

Unless your mail agent unvoluntarily edited your input file, the "ER"
tag lacks a trailing space. The RIS spec is pretty clear about the
fact that each tag ends with two spaces, a dash, and another
space. The parser does not recognize "ER  -" as a tag and reads it as
another line of the preceding M3 field. This does not quite explain why
the "ER  -" string is duplicated though, but you should try again
using a correctly terminated RIS entry, i.e. "ER  - ".

 > What I'm missing is the edition tag and I also have these ER  - intermixed.
 > 

I see that the edition information is missing from the DocBook
output. I'll look into this as soon as time permits.

best regards,
Markus

--

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
(Continue reading)

Stephan Gatzka | 31 Jan 21:28 2012

Re: DOI and edition

Hi!

> Unless your mail agent unvoluntarily edited your input file, the "ER"
> tag lacks a trailing space. The RIS spec is pretty clear about the
> fact that each tag ends with two spaces, a dash, and another
> space. The parser does not recognize "ER  -" as a tag and reads it as
> another line of the preceding M3 field. This does not quite explain why
> the "ER  -" string is duplicated though, but you should try again
> using a correctly terminated RIS entry, i.e. "ER  - ".

Thanks for your hint with the trailing space, but again, I'm not really 
a RIS specialist...

> I see that the edition information is missing from the DocBook
> output. I'll look into this as soon as time permits.

I just ran the code through the debugger.

In backend-db31.c:879 is the call to get_refdb_volume which itself calls

result = dbi_result_get_string(dbires, "refdb_volume");

This call always returns NULL.

In comparison, in backend-risx.c:864 is also the call to 
get_refdb_volume. But if this call fails, it calls get_refdb_edition in 
the else clause. This call succeeds.

So for me it seems that the RIS VL tag will be found in "refdb_edition" 
and not in "refdb_volume".
(Continue reading)


Gmane