Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-07 Thread James Howison

On May 7, 2008, at 5:00 PM, Adam R. Maxwell wrote:

> In article <[EMAIL PROTECTED]>,
> Christiaan Hofman <[EMAIL PROTECTED]> wrote:
>
>> On 7 May 2008, at 10:33 PM, Adam R. Maxwell wrote:
>>
>>> In article <[EMAIL PROTECTED]>,
>>> James Howison <[EMAIL PROTECTED]> wrote:
>>>
 On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:

>
> On May 6, 2008, at 6:17 PM, James Howison wrote:
>
>> I usually use Copy as RIS to exchange references with the poor  
>> sods
>> using Endnote.  However recently (I think) I've noticed that
>> BibDesk
>> doesn't include the TY (type) of reference, which confuses
>> Endnote no
>> end.  I'm pretty sure that RIS should always have that filled  
>> out:
>>
>> http://www.refman.com/support/risformat_tags_01.asp
>
> You are absolutely right, and I just checked in a fix for it; it's
> been broken for several months.  I only tested it with your  
> example,
> so more testing is welcome.  Incidentally, I fixed another random
> bug
> in RIS export that's been around since March 2006, due to a change
> to
> support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
> use...

 Hi,  using today's daily I tried this with my correspondent.  I see
 that TY is now included but he still had issues.  We both realize
 that
 RIS is poorly defined, and it might be an Endnote importing thing.
>>>
>>> RIS at least has a published spec; unfortunately, BibDesk is doing a
>>> crappy job exporting it.  I never noticed this because BibDesk can
>>> read
>>> its own output back in (and I never tried Endnote).
>>>
>>> Basically the problem is that BibDesk has a dictionary mapping RIS
>>> tags
>>> to BibTeX, so TI = title; T1 = title; T2 = title; and does a reverse
>>> dictionary lookup to find that title = (TI, T1, T2), and picks the
>>> first
>>> one.  However, those are actually in random order, so the result
>>> varies
>>> wildly.
>>>
>>> What really needs to be done:
>>>
>>> 1) create a dictionary mapping BibTeX field->RIS tag
>>
>> Just added this one, so that should be better now. Though I'm not  
>> sure
>> I've done it right.
>>
>> PubMedTagsForBibTeXFieldNames = {
>> Abstract = AB;
>> Address = AD;
>> Annote = N1;
>> Author = AU;
>> Booktitle = BT;
>> Editor = ED;
>> Isbn = SN;
>> Journal = JO;
>> Keywords = KW;
>> Language = LA;
>> "Local-Url" = L1;
>> Medlineref = UI;
>> Pages = PG;
>> Title = TI;
>> Publisher = PB;
>> Status = PS;
>> Url = UR;
>> Volume = VL;
>> Year = PY;
>> };
>
> I'm not sure either, but that will at least give consistent  
> results :).
> Hopefully someone has the Copious Free Time to check against the spec.
> We have a mix of PubMed and RIS in the type dictionaries,  
> unfortunately,
> and that adds some extra confusion.

I'm having a look at the spec (at refman.com) and it seems that there  
are some slightly different mappings depending on the TY.  eg:

> Title Primary. Note that the BT tag maps to this field only for  
> Whole Book and Unpublished Work references. This field can contain  
> alphanumeric characters; there is no practical length limit to this  
> field.

Meh, re-reading that I'm not sure that it matters.  I think that if  
one always Title = T1 and Booktitle = T2 then we might be ok (although  
that's assuming that Endnote follows that convention, it doesn't in  
the sample code, but it might parse it ok).

Definitely need to add

Number = IS;
Month = Y2;

Actually the specification for PY is kinda intense:

/MM/DD/other info

http://www.refman.com/support/risformat_tags_03.asp

Not even sure if Endnote users it.  I think the examples my colleague  
provided suggest that Year = Y1; Month = Y2 is a better plan.

btw, do you guys think that all the output formats should be  
standardized as templates?  I find it a bit confusing, for example,  
that you get BibTeX or RIS in the Save As, some different ones in  
Export and different set still in the Copy As context menu.

--J


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-07 Thread Adam R. Maxwell
In article <[EMAIL PROTECTED]>,
 Christiaan Hofman <[EMAIL PROTECTED]> wrote:

> On 7 May 2008, at 10:33 PM, Adam R. Maxwell wrote:
> 
> > In article <[EMAIL PROTECTED]>,
> > James Howison <[EMAIL PROTECTED]> wrote:
> >
> >> On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:
> >>
> >>>
> >>> On May 6, 2008, at 6:17 PM, James Howison wrote:
> >>>
>  I usually use Copy as RIS to exchange references with the poor sods
>  using Endnote.  However recently (I think) I've noticed that  
>  BibDesk
>  doesn't include the TY (type) of reference, which confuses  
>  Endnote no
>  end.  I'm pretty sure that RIS should always have that filled out:
> 
>  http://www.refman.com/support/risformat_tags_01.asp
> >>>
> >>> You are absolutely right, and I just checked in a fix for it; it's
> >>> been broken for several months.  I only tested it with your example,
> >>> so more testing is welcome.  Incidentally, I fixed another random  
> >>> bug
> >>> in RIS export that's been around since March 2006, due to a change  
> >>> to
> >>> support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
> >>> use...
> >>
> >> Hi,  using today's daily I tried this with my correspondent.  I see
> >> that TY is now included but he still had issues.  We both realize  
> >> that
> >> RIS is poorly defined, and it might be an Endnote importing thing.
> >
> > RIS at least has a published spec; unfortunately, BibDesk is doing a
> > crappy job exporting it.  I never noticed this because BibDesk can  
> > read
> > its own output back in (and I never tried Endnote).
> >
> > Basically the problem is that BibDesk has a dictionary mapping RIS  
> > tags
> > to BibTeX, so TI = title; T1 = title; T2 = title; and does a reverse
> > dictionary lookup to find that title = (TI, T1, T2), and picks the  
> > first
> > one.  However, those are actually in random order, so the result  
> > varies
> > wildly.
> >
> > What really needs to be done:
> >
> > 1) create a dictionary mapping BibTeX field->RIS tag
> 
> Just added this one, so that should be better now. Though I'm not sure  
> I've done it right.
> 
>  PubMedTagsForBibTeXFieldNames = {
>  Abstract = AB;
>  Address = AD;
>  Annote = N1;
>  Author = AU;
>  Booktitle = BT;
>  Editor = ED;
>  Isbn = SN;
>  Journal = JO;
>  Keywords = KW;
>  Language = LA;
>  "Local-Url" = L1;
>  Medlineref = UI;
>  Pages = PG;
>  Title = TI;
>  Publisher = PB;
>  Status = PS;
>  Url = UR;
>  Volume = VL;
>  Year = PY;
>  };

I'm not sure either, but that will at least give consistent results :).  
Hopefully someone has the Copious Free Time to check against the spec.  
We have a mix of PubMed and RIS in the type dictionaries, unfortunately, 
and that adds some extra confusion.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-07 Thread Christiaan Hofman

On 7 May 2008, at 10:33 PM, Adam R. Maxwell wrote:

> In article <[EMAIL PROTECTED]>,
> James Howison <[EMAIL PROTECTED]> wrote:
>
>> On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:
>>
>>>
>>> On May 6, 2008, at 6:17 PM, James Howison wrote:
>>>
 I usually use Copy as RIS to exchange references with the poor sods
 using Endnote.  However recently (I think) I've noticed that  
 BibDesk
 doesn't include the TY (type) of reference, which confuses  
 Endnote no
 end.  I'm pretty sure that RIS should always have that filled out:

 http://www.refman.com/support/risformat_tags_01.asp
>>>
>>> You are absolutely right, and I just checked in a fix for it; it's
>>> been broken for several months.  I only tested it with your example,
>>> so more testing is welcome.  Incidentally, I fixed another random  
>>> bug
>>> in RIS export that's been around since March 2006, due to a change  
>>> to
>>> support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
>>> use...
>>
>> Hi,  using today's daily I tried this with my correspondent.  I see
>> that TY is now included but he still had issues.  We both realize  
>> that
>> RIS is poorly defined, and it might be an Endnote importing thing.
>
> RIS at least has a published spec; unfortunately, BibDesk is doing a
> crappy job exporting it.  I never noticed this because BibDesk can  
> read
> its own output back in (and I never tried Endnote).
>
> Basically the problem is that BibDesk has a dictionary mapping RIS  
> tags
> to BibTeX, so TI = title; T1 = title; T2 = title; and does a reverse
> dictionary lookup to find that title = (TI, T1, T2), and picks the  
> first
> one.  However, those are actually in random order, so the result  
> varies
> wildly.
>
> What really needs to be done:
>
> 1) create a dictionary mapping BibTeX field->RIS tag

Just added this one, so that should be better now. Though I'm not sure  
I've done it right.

 PubMedTagsForBibTeXFieldNames = {
 Abstract = AB;
 Address = AD;
 Annote = N1;
 Author = AU;
 Booktitle = BT;
 Editor = ED;
 Isbn = SN;
 Journal = JO;
 Keywords = KW;
 Language = LA;
 "Local-Url" = L1;
 Medlineref = UI;
 Pages = PG;
 Title = TI;
 Publisher = PB;
 Status = PS;
 Url = UR;
 Volume = VL;
 Year = PY;
 };

Christiaan

>
> 2) create a dictionary mapping BibTeX type->RIS TY
>
> They should look like this:
>
> RISTagsForBibTeXFields = {
>  Author = AU;
>  Title = TI;
>  ...
> };
>
> which is part of an ASCII property list.  If someone can develop that
> mapping, we can fix the bugs properly.  I'd only worry about the basic
> BibTeX fields; we have a way to fake the others.
>
> -- 
> adam



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-07 Thread Adam R. Maxwell
In article <[EMAIL PROTECTED]>,
 James Howison <[EMAIL PROTECTED]> wrote:

> On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:
> 
> >
> > On May 6, 2008, at 6:17 PM, James Howison wrote:
> >
> >> I usually use Copy as RIS to exchange references with the poor sods
> >> using Endnote.  However recently (I think) I've noticed that BibDesk
> >> doesn't include the TY (type) of reference, which confuses Endnote no
> >> end.  I'm pretty sure that RIS should always have that filled out:
> >>
> >> http://www.refman.com/support/risformat_tags_01.asp
> >
> > You are absolutely right, and I just checked in a fix for it; it's
> > been broken for several months.  I only tested it with your example,
> > so more testing is welcome.  Incidentally, I fixed another random bug
> > in RIS export that's been around since March 2006, due to a change to
> > support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
> > use...
> 
> Hi,  using today's daily I tried this with my correspondent.  I see  
> that TY is now included but he still had issues.  We both realize that  
> RIS is poorly defined, and it might be an Endnote importing thing.

RIS at least has a published spec; unfortunately, BibDesk is doing a 
crappy job exporting it.  I never noticed this because BibDesk can read 
its own output back in (and I never tried Endnote).

Basically the problem is that BibDesk has a dictionary mapping RIS tags 
to BibTeX, so TI = title; T1 = title; T2 = title; and does a reverse 
dictionary lookup to find that title = (TI, T1, T2), and picks the first 
one.  However, those are actually in random order, so the result varies 
wildly.

What really needs to be done:

1) create a dictionary mapping BibTeX field->RIS tag
2) create a dictionary mapping BibTeX type->RIS TY

They should look like this:

RISTagsForBibTeXFields = {
  Author = AU; 
  Title = TI;
  ...
};

which is part of an ASCII property list.  If someone can develop that 
mapping, we can fix the bugs properly.  I'd only worry about the basic 
BibTeX fields; we have a way to fake the others.

-- 
adam


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-07 Thread James Howison

On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:

>
> On May 6, 2008, at 6:17 PM, James Howison wrote:
>
>> I usually use Copy as RIS to exchange references with the poor sods
>> using Endnote.  However recently (I think) I've noticed that BibDesk
>> doesn't include the TY (type) of reference, which confuses Endnote no
>> end.  I'm pretty sure that RIS should always have that filled out:
>>
>> http://www.refman.com/support/risformat_tags_01.asp
>
> You are absolutely right, and I just checked in a fix for it; it's
> been broken for several months.  I only tested it with your example,
> so more testing is welcome.  Incidentally, I fixed another random bug
> in RIS export that's been around since March 2006, due to a change to
> support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
> use...

Hi,  using today's daily I tried this with my correspondent.  I see  
that TY is now included but he still had issues.  We both realize that  
RIS is poorly defined, and it might be an Endnote importing thing.

Sorry this testing is a little awkward, Unfortunately I don't have  
Endnote.

Here's the bibtex for three references:

@phdthesis{conley2008design-for-qual,
Address = {New York, NY},
Author = {Conley, Caryn A.},
Date-Added = {2008-05-06 23:34:07 -0400},
Date-Modified = {2008-05-06 23:35:11 -0400},
School = {New York University},
Title = {Design for quality: The case of Open Source Software  
Development},
Type = {Unpublished doctoral dissertation},
Year = {2008}}

@inproceedings{liu2007design-architec,
Author = {Liu, Xiang and Iyer, Bala},
Booktitle = {ICIS 2007. Proceedings of International Conference on  
Information Systems 2007},
Keywords = {NotreDameArchive},
Title = {Design Architecture, Developer Networks and Performance of  
Open Source Software Projects},
Year = {2007}}

@inproceedings{wu2007investigating-s,
Author = {Wu, Jing and Goh, Khim-Yong and Tang, Qian},
Booktitle = {ICIS 2007. Proceedings of International Conference on  
Information Systems 2007},
Keywords = {CollectedOwnData NoShare},
Title = {Investigating Success of Open Source Software Projects: A  
Social Network Perspective},
Year = {2007}}


Here's what BibDesk generates via "copy RIS":

TY  - PHDT
AD  - New York, NY
AU  - Conley, Caryn A.
SC  - New York University
T3  - Design for quality: The case of Open Source Software Development
TY  - Unpublished doctoral dissertation
Y1  - 2008
ER  -


TY  - CONF
AU  - Liu, Xiang
AU  - Iyer, Bala
BO  - ICIS 2007. Proceedings of International Conference on  
Information Systems 2007
KW  - NotreDameArchive
T3  - Design Architecture, Developer Networks and Performance of Open  
Source Software Projects
Y1  - 2007
ER  -


TY  - CONF
AU  - Wu, Jing
AU  - Goh, Khim-Yong
AU  - Tang, Qian
BO  - ICIS 2007. Proceedings of International Conference on  
Information Systems 2007
KW  - CollectedOwnData NoShare
T3  - Investigating Success of Open Source Software Projects: A Social  
Network Perspective
Y1  - 2007
ER  -

Here's and example of what Endnote gave him (ie lots of missing fields):

"Kim, B., Chen, P.-y., and Mukhopadhyay, T.."

Here's what Endnote's RIS export for these same references manually  
entered looks like (at least for him), quote is from him:

> Here's what Endnote exports for a few sample citations--note the  
> different field labels. TI vs. T3, BT vs. BO, PY vs. Y1. For  
> Conference proceedings though, T3 is mapped to Series Title (not  
> conference name), BO is not mapped and Y1 is to conference date (not  
> year).  Endnote's filter can be tweaked, but I don't think I've  
> changed mine, though I'm not positive about that.

Pretty sure that bibtex Title should be mapped to TI, not T3 for  
example.

TY  - THES
AU  - Conley, C.A.
PY  - 2008
TI  - Design for quality: The case of Open Source Software Development
CY  - New York, NY
PB  - New York University,
M2  - doctoral dissertation
N1  - Design for quality: The case of Open Source Software Development
N1  - conley2008design-for-qual
ID  - 23202
ER  -



TY  - CONF
AU  - Liu, X.
AU  - Iyer, B.
PY  - 2007
TI  - Design architecture, developer networks and performance of open  
source software projects
BT  - International Conference on Information Systems
N1  - Design architecture, developer networks and performance of open  
source software projects
KW  - NotreDameArchive
ID  - 23179
ER  -



TY  - JOUR
AU  - Liu, C.
AU  - Arnett, K.P.
PY  - 2000
TI  - Exploring the factors associated with Web site success in the  
context of electronic commerce
SP  - 23-33
JF  - Inf. Manage.
VL  - 38
IS  - 1
Y2  - Oct
N1  - ISI:8918583
N2  - Web sites are being widely deployed commercially. As the  
widespread use and dependency on Web technology increases, so does the  
need to assess factors associated with Web site success. The objective  
is to explore these factors in the context o

Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-06 Thread James Howison

On May 6, 2008, at 9:55 PM, Adam R. Maxwell wrote:

>
> On May 6, 2008, at 6:17 PM, James Howison wrote:
>
>> I usually use Copy as RIS to exchange references with the poor sods
>> using Endnote.  However recently (I think) I've noticed that BibDesk
>> doesn't include the TY (type) of reference, which confuses Endnote no
>> end.  I'm pretty sure that RIS should always have that filled out:
>>
>> http://www.refman.com/support/risformat_tags_01.asp
>
> You are absolutely right, and I just checked in a fix for it; it's
> been broken for several months.  I only tested it with your example,
> so more testing is welcome.  Incidentally, I fixed another random bug
> in RIS export that's been around since March 2006, due to a change to
> support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of
> use...

Thanks Adam, that's great.  Writing to a deadline now :) but will  
check it out with the daily build tomorrow.

Thanks also on the reminder of "selected items only" for the File- 
 >Export option.

Cheers,
James


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


Re: [Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-06 Thread Adam R. Maxwell

On May 6, 2008, at 6:17 PM, James Howison wrote:

> I usually use Copy as RIS to exchange references with the poor sods
> using Endnote.  However recently (I think) I've noticed that BibDesk
> doesn't include the TY (type) of reference, which confuses Endnote no
> end.  I'm pretty sure that RIS should always have that filled out:
>
> http://www.refman.com/support/risformat_tags_01.asp

You are absolutely right, and I just checked in a fix for it; it's  
been broken for several months.  I only tested it with your example,  
so more testing is welcome.  Incidentally, I fixed another random bug  
in RIS export that's been around since March 2006, due to a change to  
support PubMed's bastard RIS.  Apparently RIS doesn't get a lot of  
use...

-- 
adam


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users


[Bibdesk-users] Copy as RIS not including TYPEs?

2008-05-06 Thread James Howison
I usually use Copy as RIS to exchange references with the poor sods  
using Endnote.  However recently (I think) I've noticed that BibDesk  
doesn't include the TY (type) of reference, which confuses Endnote no  
end.  I'm pretty sure that RIS should always have that filled out:

http://www.refman.com/support/risformat_tags_01.asp

For example this bibtex:

@article{paskin2002digital-object-,
Author = {Paskin, Norman},
Journal = {Information Services & Use},
Number = {2/3},
Pages = {97--113},
Title = {Digital object identifiers},
Volume = {22},
Year = {2002}}

Becomes this RIS:

TY  -
AB  - Discusses developments in digital object identifier (DOI)  
system.  Fundamental design principles of information identifiers that  
influence DOI; Connection between digital preservation and DOI; Types  
of technical interoperability; Metadata system designed for stability.
AU  - Paskin, Norman
GR  - CRI2006
JA  - Information Services & Use
NU  - 2/3
PG  - 97--113
T3  - Digital object identifiers
VL  - 22
Y1  - 2002
ER  -

Notice the empty TY field?  It should, I think, be TY  - JOUR

Do others notice this? Is it perhaps something I've done to a template  
or preference to change that?

Thx,
James

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users