Changeset 11827


Ignore:
Timestamp:
2006-05-16T16:34:46+12:00 (18 years ago)
Author:
kjdon
Message:

moved the add FileFormat metadata bit outside of the loop so that it only gets added once

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ReferPlug.pm

    r10254 r11827  
    190190        }
    191191    }
    192     # Add FileFormat as the metadata
    193     $doc_obj->add_metadata($cursection,"FileFormat","Refer");
    194192
    195193    # Add individual keywords.
     
    265263    $doc_obj->add_text ($cursection, $text);
    266264    }
     265    # Add FileFormat as the metadata
     266    $doc_obj->add_metadata($cursection,"FileFormat","Refer");
    267267
    268268    return 1; # processed the file
Note: See TracChangeset for help on using the changeset viewer.