in reply to Super search use DuckDuckGo link broken

Permit me to try to translate what our anonymous brother is reporting.

If you are logged out and visit https://www.perlmonks.org/?node=Super%20Search you are not permitted to run the on-site search (for botalanche reasons). Instead you are presented with a link to https://duckduckgo.com/?q=site%253Aperlmonks.org with link text "Use DuckDuckGo". But, following that link is problematic as the colon after "site" is not represented as such in the target search page so you would have to replace it yourself. The actual content of the search form on the target page is "site%3Aperlmonks.org" which is what DDG then auto-searches for. Not so good.

Either the link could be fixed or we could host a DDG form on the Super Search page which could just post directly to DDG. Either would be better.


🦛

  • Comment on Re: Super search use DuckDuckGo link broken

Replies are listed 'Best First'.
Re^2: Super search use DuckDuckGo link broken
by Arunbear (Prior) on May 02, 2025 at 12:34 UTC

      DDG uses Bing's results behind the scenes (I believe) and I get similar terrible / nonexistent results doing the same site:perlmonks.{com,org} search there FWIW . . . .

      Edit: which got me curious and checking google and yandex those two both give reasonable (several) returns. Huh.

      The cake is a lie.
      The cake is a lie.
      The cake is a lie.

Re^2: Super search use DuckDuckGo link broken
by Arunbear (Prior) on May 02, 2025 at 11:12 UTC
    And interestingly, perlmonks.org doesn't appear to be indexed by DDG (only the .com domain seems to indexed).

    Update: Never mind, this seems to depend on what browser I'm using.

      The site search results I'm getting with DDG are very off

      Best was with brave browser and site:www.perlmonks.com

      Which is counterintuitive regarding the robots.txt, unless they were different on the servers.

      I second your patch to switch to Google as anonymous fallback.

      FWIW: I also tested brave search (not browser) with good results, but they are probably ignoring robots.txt

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

Re^2: Super search use DuckDuckGo link broken
by LanX (Saint) on May 02, 2025 at 18:45 UTC