duckduckgo implemented

7 views
Skip to first unread message

Matthew Phillips

unread,
Feb 13, 2011, 10:46:23 PM2/13/11
to CPAN-API
Hey guys, just a small heads up : !mcpan is now a search bang operator
on duckduckgo.

any query like `!mcpan string` gets redirected to search.metacpan
automatically.

Cheers,
Matt

David E. Wheeler

unread,
Feb 13, 2011, 11:16:47 PM2/13/11
to cpan...@googlegroups.com

David E. Wheeler

unread,
Feb 13, 2011, 11:17:25 PM2/13/11
to cpan...@googlegroups.com
On Feb 13, 2011, at 8:16 PM, David E. Wheeler wrote:

>> Hey guys, just a small heads up : !mcpan is now a search bang operator
>> on duckduckgo.
>>
>> any query like `!mcpan string` gets redirected to search.metacpan
>> automatically.
>

Please ignore. My fingers are trigger-happy tonight. That's the second email I hadn't meant to send. I think I need more to drink.

Cheers,

David

David E. Wheeler

unread,
Feb 13, 2011, 11:22:04 PM2/13/11
to cpan...@googlegroups.com
On Feb 13, 2011, at 7:46 PM, Matthew Phillips wrote:

I just tried it, and was redirected to

http://search.metacpan.org/#/search/module/DBIx%3A%3AConnector

But there are no results. :-(

Best,

David


Olaf Alders

unread,
Feb 14, 2011, 12:13:20 AM2/14/11
to cpan...@googlegroups.com

That's strange. I'm seeing 8 results. Is this still the case for you? Are you able to see results for other searches?

Best,

Olaf

David E. Wheeler

unread,
Feb 14, 2011, 12:43:19 AM2/14/11
to cpan...@googlegroups.com
On Feb 13, 2011, at 9:13 PM, Olaf Alders wrote:

> That's strange. I'm seeing 8 results. Is this still the case for you? Are you able to see results for other searches?

Yes, still the case. No results in Safari or Chrome. Searching for DBI turns up 570 entries.

I get the 8 entries if I search for DBIx::Connector, though. It only fails with a search for DBIx%3A%3AConnector.

Best,

David

Mark Jubenville

unread,
Feb 14, 2011, 5:13:18 AM2/14/11
to cpan...@googlegroups.com
I just tried it as well, and the link you listed worked for me too. Shows 8
results.

Mark Jubenville
ionc...@gmail.com

Mark Jubenville

unread,
Feb 14, 2011, 5:26:58 AM2/14/11
to cpan...@googlegroups.com
Ok apparently it's the escaped html in the url. Firefox has no problem with
them, but webkit, Opera and IE all do.

I've just changed the controller to decode the queries before sending them
to ElasticSearch. It seems to have fixed the problem on my Windows machine
here in non-Firefox browsers.

Please give it another try and let me know.

Thanks,

Mark

Mark Jubenville
ionc...@gmail.com


-----Original Message-----
From: cpan...@googlegroups.com [mailto:cpan...@googlegroups.com] On Behalf
Of David E. Wheeler
Sent: Monday, February 14, 2011 12:43 AM
To: cpan...@googlegroups.com
Subject: Re: [cpan-api] duckduckgo implemented

David E. Wheeler

unread,
Feb 14, 2011, 11:44:00 AM2/14/11
to cpan...@googlegroups.com
On Feb 14, 2011, at 2:26 AM, Mark Jubenville wrote:

> Ok apparently it's the escaped html in the url. Firefox has no problem with
> them, but webkit, Opera and IE all do.
>
> I've just changed the controller to decode the queries before sending them
> to ElasticSearch. It seems to have fixed the problem on my Windows machine
> here in non-Firefox browsers.
>
> Please give it another try and let me know.

http://search.metacpan.org/#/search/module/DBIx%3A%3AConnector

Still returns 0 results for me. :-(

Best,

David

Mark Jubenville

unread,
Feb 14, 2011, 8:02:05 PM2/14/11
to cpan...@googlegroups.com
Hmm strange. I just tried it in Opera, Chrome, Safari, IE and Firefox.
Worked for me in all of them.

Could you try clearing out your cache and trying again? Maybe it's just old
javascript being run. We have really short expiry times turned on for
content right now I think so I wouldn't have thought this would be a problem
but one never knows.

Mark Jubenville
ionc...@gmail.com


-----Original Message-----
From: cpan...@googlegroups.com [mailto:cpan...@googlegroups.com] On Behalf
Of David E. Wheeler
Sent: Monday, February 14, 2011 11:44 AM
To: cpan...@googlegroups.com
Subject: Re: [cpan-api] duckduckgo implemented

David E. Wheeler

unread,
Feb 14, 2011, 8:04:43 PM2/14/11
to cpan...@googlegroups.com
On Feb 14, 2011, at 5:02 PM, Mark Jubenville wrote:

> Hmm strange. I just tried it in Opera, Chrome, Safari, IE and Firefox.
> Worked for me in all of them.
>
> Could you try clearing out your cache and trying again? Maybe it's just old
> javascript being run. We have really short expiry times turned on for
> content right now I think so I wouldn't have thought this would be a problem
> but one never knows.

Yep, shift-reload fixed it. Thanks!

David

Mark Jubenville

unread,
Feb 14, 2011, 9:11:06 PM2/14/11
to cpan...@googlegroups.com
Excellent, glad to hear it.

Mark Jubenville
ionc...@gmail.com


-----Original Message-----
From: cpan...@googlegroups.com [mailto:cpan...@googlegroups.com] On Behalf
Of David E. Wheeler
Sent: Monday, February 14, 2011 8:05 PM
To: cpan...@googlegroups.com
Subject: Re: [cpan-api] duckduckgo implemented

Reply all
Reply to author
Forward
0 new messages