☺唐鳳☻

NAME

WWW::SherlockSearch::Results - Sherlock search results

SYNOPSIS

    use WWW::SherlockSearch::Results;

    my $resultStruct = WWW::SherlockSearch::Results->new;

    $resultStruct->setServiceName($name);
    $resultStruct->setServiceDescription($description);
    $resultStruct->setBaseHREF($base_href);
    $resultStruct->setHost($host);
    $resultStruct->setPictureUrl($picture_url);
    $resultStruct->setChannelUrl($channel_url);
    $resultStruct->setQueryAttr($query_attr);
    $resultStruct->setBannerImage($banner_image_url);
    $resultStruct->setBannerLink($banner_url);

    $resultStruct->add($itemurl, $content, $relev, $rest, $fulltext, $date);
    # ... add some more entries

    my $text = $results->asString;
    my $atom = $results->asAtomString;
    my $rss  = $results->asRssString;
    my $html = $results->asHtmlString;

DESCRIPTION

This module represents the result set returned by a Sherlock query.

SEE ALSO

WWW::SherlockSearch

AUTHORS

  • Damian Steer <D.M.Steer@lse.ac.uk>

  • Kang-min Liu <gugod@gugod.org<gt>

  • Autrijus Tang <autrijus@autrijus.org>

COPYRIGHT

Copyright 1999, 2000, 2001 by Damian Steer.

Copyright 2002, 2003 by Kang-min Liu.

Copyright 2002, 2003, 2004 by Autrijus Tang.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html