@@ -7,7 +7,13 @@ my $builder = Module::Build->new(
license => 'mit',
dist_author => 'Shlomi Fish <shlomif@iglu.org.il>',
dist_version_from => 'lib/WWW/Search/MSN.pm',
- requires => {
+ configure_requires =>
+ {
+ 'Module::Build' => '0.36',
+ },
+ requires =>
+ {
+ 'perl' => '5.008',
'Encode' => 0,
'HTML::TreeBuilder' => 0,
'Scalar::Util' => 0,
@@ -1,35 +1,39 @@
Revision history for WWW-Search-MSN
-0.0106 Sat Apr 4 22:24:53 IDT 2009
- - Making sure we do the right thing, when a possibly non-existent
+0.0200 2014-04-12
+ - Deprecate the module in favour of Bing::Search.
+ - Various CPANTS Kwalitee fixes.
+
+0.0106 2009-04-04
+ - Making sure we do the right thing, when a possibly non-existent
element was not found and as a result was assigned undef.
- Fixes https://rt.cpan.org/Ticket/Display.html?id=43339
-0.0105 Thu Nov 27 21:29:46 IST 2008
+0.0105 2008-11-27
- Updated to the new MSN Search syntax.
-0.0104 Sat Nov 11 10:10:12 IST 2006
+0.0104 2006-11-11
- Fixed https://rt.cpan.org/Ticket/Display.html?id=21568 -
search.msn.com changed their markup.
- Thanks to PURDY for reporting it!
-0.0103 Fri Jul 28 12:08:08 IDT 2006
+0.0103 2006-07-28
- Added 02empty.t to test for an empty result set.
- Fixed bug http://rt.cpan.org/Ticket/Display.html?id=20649
- Thanks to Tomasz Chomiuk for reporting it.
-0.0102 Wed Jul 12 21:04:58 IDT 2006
- - In 01basic.t the test now matches http:// and https:// instead of
+0.0102 2006-07-12
+ - In 01basic.t the test now matches http:// and https:// instead of
just http://
- Added Encode to the pre-requisites, as it is absent in some earlier
- perl versions. See:
+ perl versions. See:
-http://rt.cpan.org/Public/Bug/Display.html?id=20210
- Thanks to PURDY for reporting it!
-0.0101 Sun Apr 16 14:40:22 IDT 2006
+0.0101 2006-04-16
- Fixed the POD from its module-starter leftovers.
- Added a note about the Subversion repository to the POD.
-0.01 Sat Apr 15 21:55:05 IDT 2006
+0.01 2006-04-15
First version, released on an unsuspecting world. Works from what
I tested.
@@ -0,0 +1,32 @@
+This software is Copyright (c) 2006 by Shlomi Fish.
+
+This is free software, licensed under:
+
+ The MIT (X11) License
+
+The MIT License
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the Software
+without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to
+whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall
+be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
+WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR
+PURPOSE AND NONINFRINGEMENT. IN NO EVENT
+SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
@@ -1,12 +1,15 @@
Build.PL
Changes
-lib/WWW/Search/MSN.pm
+LICENSE
MANIFEST
+META.json
META.yml # Will be created by "make dist"
+Makefile.PL
README
+lib/WWW/Search/MSN.pm
t/00-load.t
t/01basic.t
t/02empty.t
+t/cpan-changes.t
t/pod-coverage.t
t/pod.t
-Makefile.PL
@@ -0,0 +1,47 @@
+{
+ "abstract" : "backend for searching search.msn.com",
+ "author" : [
+ "Shlomi Fish <shlomif@iglu.org.il>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.4205",
+ "license" : [
+ "mit"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "WWW-Search-MSN",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.36"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Encode" : "0",
+ "HTML::TreeBuilder" : "0",
+ "Scalar::Util" : "0",
+ "Test::More" : "0",
+ "WWW::Search" : "2.523",
+ "WWW::Search::Test" : "2.265",
+ "perl" : "5.008"
+ }
+ }
+ },
+ "provides" : {
+ "WWW::Search::MSN" : {
+ "file" : "lib/WWW/Search/MSN.pm",
+ "version" : "0.0200"
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "http://www.opensource.org/licenses/mit-license.php"
+ ]
+ },
+ "version" : "0.0200"
+}
@@ -1,24 +1,29 @@
---
-name: WWW-Search-MSN
-version: 0.0106
+abstract: 'backend for searching search.msn.com'
author:
- 'Shlomi Fish <shlomif@iglu.org.il>'
-abstract: backend for searching search.msn.com
+build_requires: {}
+configure_requires:
+ Module::Build: '0.36'
+dynamic_config: 1
+generated_by: 'Module::Build version 0.4205, CPAN::Meta::Converter version 2.140640'
license: mit
-resources:
- license: http://www.opensource.org/licenses/mit-license.php
-requires:
- Encode: 0
- HTML::TreeBuilder: 0
- Scalar::Util: 0
- Test::More: 0
- WWW::Search: 2.523
- WWW::Search::Test: 2.265
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: WWW-Search-MSN
provides:
WWW::Search::MSN:
file: lib/WWW/Search/MSN.pm
- version: 0.0106
-generated_by: Module::Build version 0.32
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ version: '0.0200'
+requires:
+ Encode: '0'
+ HTML::TreeBuilder: '0'
+ Scalar::Util: '0'
+ Test::More: '0'
+ WWW::Search: '2.523'
+ WWW::Search::Test: '2.265'
+ perl: '5.008'
+resources:
+ license: http://www.opensource.org/licenses/mit-license.php
+version: '0.0200'
@@ -1,18 +1,20 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.32
+# Note: this file was auto-generated by Module::Build::Compat version 0.4205
+require 5.008;
use ExtUtils::MakeMaker;
WriteMakefile
(
- 'NAME' => 'WWW::Search::MSN',
- 'VERSION_FROM' => 'lib/WWW/Search/MSN.pm',
- 'PREREQ_PM' => {
- 'Encode' => 0,
- 'HTML::TreeBuilder' => 0,
- 'Scalar::Util' => 0,
- 'Test::More' => 0,
- 'WWW::Search' => '2.523',
- 'WWW::Search::Test' => '2.265'
- },
- 'INSTALLDIRS' => 'site',
- 'EXE_FILES' => []
- )
+ 'NAME' => 'WWW::Search::MSN',
+ 'VERSION_FROM' => 'lib/WWW/Search/MSN.pm',
+ 'PREREQ_PM' => {
+ 'Encode' => 0,
+ 'HTML::TreeBuilder' => 0,
+ 'Scalar::Util' => 0,
+ 'Test::More' => 0,
+ 'WWW::Search' => '2.523',
+ 'WWW::Search::Test' => '2.265'
+ },
+ 'INSTALLDIRS' => 'site',
+ 'EXE_FILES' => [],
+ 'PL_FILES' => {}
+)
;
@@ -3,6 +3,8 @@ package WWW::Search::MSN;
use warnings;
use strict;
+use 5.008;
+
require WWW::Search;
use WWW::SearchResult;
@@ -16,19 +18,23 @@ WWW::Search::MSN - backend for searching search.msn.com
=head1 VERSION
-Version 0.0105
+Version 0.0200
=cut
-our $VERSION = '0.0106';
+our $VERSION = '0.0200';
use vars qw(@ISA);
@ISA=(qw(WWW::Search));
+=head1 WARNING! THIS MODULE IS DEPRECATED
+
+You should be using L<Bing::Search> instead which uses the API.
+
=head1 SYNOPSIS
-This module provides a backend of L<WWW::Search> to search using
+This module provides a backend of L<WWW::Search> to search using
L<http://search.msn.com/>.
use WWW::Search;
@@ -108,7 +114,7 @@ sub parse_tree
if ($self->{'_MSN_first_retrieve_call'})
{
$self->{'_MSN_first_retrieve_call'} = undef;
-
+
my $header_div = $tree->look_down("_tag", "div", "id", "results_area");
if (!defined($header_div))
@@ -3,7 +3,9 @@
use strict;
use warnings;
-use Test::More tests => 108;
+# use Test::More tests => 108;
+#
+use Test::More skip_all => "This module is deprecated!";
# TEST
BEGIN { use_ok('WWW::Search'); };
@@ -23,7 +25,7 @@ my $dump = 0;
$debug = 0;
$dump = 0;
-my $count =
+my $count =
WWW::Search::Test::count_results(
'normal',
'firs' . 't co' . 'me f' . 'irst se' . 'rved',
@@ -3,7 +3,8 @@
use strict;
use warnings;
-use Test::More tests => 6;
+use Test::More skip_all => 'This module is deprecated!';
+# use Test::More tests => 6;
# TEST
BEGIN { use_ok('WWW::Search'); };
@@ -29,7 +30,7 @@ my $string2 = 'dnder34hg328vnnblkngm23';
$string2 =~ tr/a-z/bacdghuyjvbkmlllkmzxlcmlz/;
-my $count =
+my $count =
WWW::Search::Test::count_results(
'normal',
"$string1$string2",
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval 'use Test::CPAN::Changes';
+plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
+
+changes_ok();
+