Bing::Search::Source::Web - Search the web with Bing


Bing-Search documentation Contained in the Bing-Search distribution.

Index


Code Index:

NAME

Top

Bing::Search::Source::Web - Search the web with Bing

METHODS

Top

Market, Version, Latitude, Longitude, Options, and setOptions

See Bing::Search for documentation on these common attributes.

Web_Count and Web_Offset

The range for Web_Count is 1 to 50.

The maximum value of Web_Count and Web_Offset must not exceed 1,000.

Web_Options

Contains an arrayref for options available. See http://msdn.microsoft.com/en-us/library/dd250969.aspx for details on what each option does. You should use setWeb_Option to adjust this.

set_WebOption

Supply the name of an option, optionally prepended with a + to add it. Prepend a - to remove it.

Web_FileType

Select only certain file types. See http://msdn.microsoft.com/en-us/library/dd250876.aspx for the list of valid types.

AUTHOR

Top

Dave Houston, dhouston@cpan.org, 2010

LICENSE

Top

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


Bing-Search documentation Contained in the Bing-Search distribution.

package Bing::Search::Source::Web;
use Moose;
extends 'Bing::Search::Source';

with 'Bing::Search::Role::WebRequest::Count';

with qw(
Bing::Search::Role::SearchRequest::Market
Bing::Search::Role::SearchRequest::Version
Bing::Search::Role::SearchRequest::Latitude
Bing::Search::Role::SearchRequest::Longitude
Bing::Search::Role::SearchRequest::Options
Bing::Search::Role::WebRequest::Offset
Bing::Search::Role::WebRequest::Options
Bing::Search::Role::WebRequest::FileType
);


sub _build_source_name { 'Web' }

__PACKAGE__->meta->make_immutable;