- Timestamp:
- 2018-11-29T21:23:49+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugouts/GreenstoneSQLPlugout.pm
r32595 r32640 38 38 use DBI; # the central package for this plugout 39 39 40 #use unicode; 40 41 41 42 # This plugout does not output the metadata and/or fulltxt xml to a file, … … 304 305 if($proc_mode eq "all" || $proc_mode eq "meta_only" ) { 305 306 307 ##binmode(STDERR, ":utf8"); # shouldn't be necessary as we call &unicode::utf8decomp() to avoid wide-character warnings by printing wide chars as unicode codepoints 308 #print STDERR "###### dc.Title: ".&unicode::utf8decomp($doc_obj->get_metadata_element($doc_obj->get_top_section(), "dc.Title"))."\n"; 309 306 310 foreach my $data (@{$section_ptr->{'metadata'}}) { 307 311 my $meta_name = $data->[0]; … … 310 314 # going into it, unlike with doc(sql).xml 311 315 my $meta_value = $data->[1]; 312 316 313 317 # Write out the current section's meta to collection db's METADATA table 314 318
Note:
See TracChangeset
for help on using the changeset viewer.