f35a1cce68
3 features: - adds social network information in search results - adds babeltheque data in opac-detail - adds social network links in opac-detail too (google+, twitter, mail and co.)
16 lines
625 B
Perl
16 lines
625 B
Perl
#!/bin/perl
|
|
|
|
use Modern::Perl;
|
|
use C4::SocialData;
|
|
|
|
my $results = C4::SocialData::get_report;
|
|
|
|
say "==== Social Data report ====";
|
|
say "Matched : (" . scalar( @{ $results->{with} } ) . ")";
|
|
say "biblionumber = $_->{biblionumber},\toriginal = $_->{original},\tisbn = $_->{isbn}" for @{ $results->{with} };
|
|
|
|
say "No Match : (" . scalar( @{ $results->{without} } ) . ")";
|
|
say "biblionumber = $_->{biblionumber},\toriginal = $_->{original},\tisbn = $_->{isbn}" for @{ $results->{without} };
|
|
|
|
say "Without ISBN : (" . scalar( @{ $results->{no_isbn} } ) . ")";
|
|
say "biblionumber = $_->{biblionumber}" for @{ $results->{no_isbn} };
|