package BookPub::RDAS::Parser::ProductSearch::Sony;

use lib '/app/tools/bookpub/lib';
use base 'BookPub::RDAS::Parser::ProductSearch';

use lib '/app/tools/Common/lib';
use Common::FormObject;

sub _fieldConfig {
    {
        URL => {
            tag       => 'h3',
            class     => 'item',
            container => 'BookPub::RDAS::Parser::ProductSearch::Sony::URL'
        },

        Title => {
            tag   => 'h3',
            class => 'item',
        },

        Author => {
            tag    => 'li',
            class  => 'vcard author',
            filter => sub {
                my $res = shift || return;
                $res =~ s/^by\s+//gi;
                return $res;
            }
        }
    };
}

1;
