According to this page: http://aubib.wikidot.com/ris-format the BT tag is the primary title for a book or unpublished work, but for any other type it's the secondary title. Currently biblio always treats it as the primary title.

Comments

Kador’s picture

I've changed this to only use BT as primary title for books (not sure where the Unpublished Work type is handled) in ris_parser.inc:

 160             case 'TI':
 161             case 'T1':
 162             case 'CT':
 163               $node_array[$node_id]['title'] = $value;
 164               break;
 165             case 'BT':
 166                 if ( $node_array[$node_id]['biblio_type'] == 100 ) {
 167                     $node_array[$node_id]['title'] = $value; 
 168                 } else {
 169                     $node_array[$node_id]['biblio_secondary_title'] = $value;
 170                 }
 171                 break;
rjerome’s picture

Thanks, I'll incorporate that.

Ron.

bekasu’s picture

Status: Active » Closed (fixed)

Incorporated in Biblio now.
closing the issue.
bekasu

zserno’s picture

Version: 5.x-1.9 » 6.x-1.10
Status: Closed (fixed) » Active

I downloaded latest D6 version (6.x-1.10) but can't find code from #1 in ris_parser.inc
I'd need this to move publications from another open source system called Refbase to Drupal using Biblio. Unfortunately I get incorrect node titles after successful import, because book title is simply concatenated to chapter title without a whitespace.

So is it possible that above patch has not been incorporated into Biblio properly?

Thanks,
Erno

zserno’s picture

Updated code from #1 and rolled into a proper patch.
Please review.

zserno’s picture

Status: Active » Needs review
rjerome’s picture

Status: Needs review » Fixed

I've committed the patch: http://drupal.org/cvs?commit=344424

Ron.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.