Skip Menu |

This queue is for tickets about the Net-Topsy CPAN distribution.

Report information
The Basics
Id: 68995
Status: open
Priority: 0/
Queue: Net-Topsy

People
Owner: Nobody in particular
Requestors: aviyaar [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Search Method returning error message "400 Bad Request at perl/site/lib/Net/Topsy.pm line 99."
Date: Tue, 21 Jun 2011 10:24:51 -0400
To: bug-Net-Topsy [...] rt.cpan.org
From: Avi Yaar <aviyaar [...] gmail.com>
The search method no longer seems to be working (per email subject line). Here are the details of my system, and a small program to reproduce the effect: Net-Topsy-0.03 Perl Version: 5.12.3 (Strawberry Perl) OS: Windows 7 x64 (6.1.7600) ===TEST PROGRAM=== #!/usr/bin/perl use Net::Topsy; my $topsy = Net::Topsy->new(); my $search = $topsy->search( { q => 'perl', window => 'd' } ); my $iter = $result->iter; print $item->{content} while ($iter->has_next); Hope this helps! Avi
RT-Send-CC: jonathan [...] leto.net
On Tue Jun 21 10:25:04 2011, aviyaar@gmail.com wrote:
Show quoted text
> The search method no longer seems to be working (per email subject line).

The module hasn't been updated since 2009 and Topsy's API changed when it went out of beta.

I committed to GitHub a patch that makes it work again:
https://github.com/dandv/Net-Topsy/compare/master...patch-1

To update the API, apply this patch as well:
https://github.com/dandv/Net-Topsy/compare/master...patch-2