summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-02-08 15:39:47 +0100
committerfranck cuny <franck@lumberjaph.net>2011-02-08 15:39:47 +0100
commitc41cba58929924778cbda2c607b79151e3dddb0c (patch)
tree6bcd2bdeeff10f94e81437b57c927e0811c272ac
parentupdate code to add rank information and make it work again (diff)
downloadwebservice-google-suggest-c41cba58929924778cbda2c607b79151e3dddb0c.tar.gz
switch to dzilla
-rw-r--r--MANIFEST16
-rw-r--r--MANIFEST.SKIP15
-rw-r--r--META.yml12
-rw-r--r--Makefile.PL7
-rw-r--r--README62
5 files changed, 0 insertions, 112 deletions
diff --git a/MANIFEST b/MANIFEST
deleted file mode 100644
index 4ef624d..0000000
--- a/MANIFEST
+++ /dev/null
@@ -1,16 +0,0 @@
-Changes
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-lib/WebService/Google/Suggest.pm
-Makefile.PL
-MANIFEST			This list of files
-META.yml			Module meta-data (added by MakeMaker)
-README
-t/00_compile.t
-t/01_suggest.t
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
deleted file mode 100644
index 79e6115..0000000
--- a/MANIFEST.SKIP
+++ /dev/null
@@ -1,15 +0,0 @@
-\bRCS\b
-\bCVS\b
-\.svn/
-\.git/
-^MANIFEST\.
-^Makefile$
-~$
-\.old$
-^blib/
-^pm_to_blib
-^MakeMaker-\d
-\.gz$
-\.cvsignore
-\.shipit
-\.gitignore
diff --git a/META.yml b/META.yml
deleted file mode 100644
index 1c1183c..0000000
--- a/META.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         WebService-Google-Suggest
-version:      0.01
-version_from: lib/WebService/Google/Suggest.pm
-installdirs:  site
-requires:
-    LWP::UserAgent:                0
-    Test::More:                    0.32
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 6fc7579..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,7 +0,0 @@
-use inc::Module::Install;
-name 'Webservice-Google-Suggest';
-all_from 'lib/WebService/Google/Suggest.pm';
-requires 'LWP::UserAgent';
-build_requires 'Test::More';
-auto_set_repository;
-WriteAll;
diff --git a/README b/README
deleted file mode 100644
index 4bef20d..0000000
--- a/README
+++ /dev/null
@@ -1,62 +0,0 @@
-NAME
-    WebService::Google::Suggest - Google Suggest as an API
-
-SYNOPSIS
-      use WebService::Google::Suggest;
-
-      my $suggest = WebService::Google::Suggest->new();
-      my @suggestions = $suggest->complete("goog");
-      for my $suggestion (@suggestions) {
-          print "$suggestion->{query}: $suggestion->{results} results\n";
-      }
-
-DESCRIPTION
-    WebService::Google::Suggest allows you to use Google Suggest as a Web
-    Service API to retrieve completions to your search query or partial
-    query. This module is based on Adam Stiles' hack
-    (http://www.adamstiles.com/adam/2004/12/hacking_google_.html).
-
-METHODS
-    new
-          $suggest = WebService::Google::Suggest->new();
-
-        Creates new WebService::Google::Suggest object.
-
-    complete
-          @suggestions = $suggest->complete($query);
-
-        Sends your $query to Google web server and fetches suggestions for
-        the query. Suggestions are in a list of hashrefs, for example with
-        query "Google":
-
-          @suggestions = (
-            { query => "google", results => 122000000 },
-            { query => "google toolbar", results => 2620000 },
-            ...
-          );
-
-        Note that "results" value does NOT contain commas and "results"
-        text.
-
-    ua
-          $ua = $suggest->ua;
-
-        Returns underlying LWP::UserAgent object. It allows you to change
-        User-Agent (Windows IE by default), timeout seconds and various
-        properties.
-
-AUTHOR
-    Tatsuhiko Miyagawa <miyagawa@bulknews.net>
-
-    This library is free software; you can redistribute it and/or modify it
-    under the same terms as Perl itself.
-
-    This module gives you NO WARRANTY.
-
-SEE ALSO
-    http://www.adamstiles.com/adam/2004/12/hacking_google_.html
-
-    http://www.google.com/webhp?complete=1&hl=en
-
-    http://labs.google.com/suggest/faq.html
-