Menu

#24 bp-csv.pl outputs canonical authors list

open
nobody
None
5
2001-10-18
2001-10-18
Derek Todd
No

I get

"H. A. Lehr,,,/Kress,,E.,/Menger,,M. D.,"

as a typical output from the export csv menu option.

I'm using sixpack-0.99.010831

Putting;

if (defined $entry{'Authors'}) {
local ($tAuthors);
$tAuthors =
&bp_util'canon_to_name($entry{'Authors'}, 'plain');
$entry{'Authors'} = $tAuthors;
}

(copied from bp-s-generic.pl !) into sub fromcanon in
bp-csv.pl gives;

"H. A. Lehr, E. Kress, and M. D. Menger"

I've been going through the code for this stuff,
though, and I'm not yet sure that this is the best
solution; i.e. am I missing a more fundamental problem?
Still looking...

Discussion

  • Derek Todd

    Derek Todd - 2001-10-19

    Logged In: YES
    user_id=64985

    OK, I think that the above is the 'correct' solution.

     
  • Derek Todd

    Derek Todd - 2001-10-19

    Logged In: YES
    user_id=64985

    Feature request;

    Purely as a personal preferance :)

    Could the canon_to_name option be 'reverse' instead of
    'plain', if you decide to include the suggested changes?

    (See also my comment in bug #444138)

    Thanks,

    Derek

     

Log in to post a comment.