Re: Super search use DuckDuckGo link broken
by hippo (Archbishop) on May 02, 2025 at 08:46 UTC
|
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.
| [reply] |
|
| [reply] |
|
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.
| [reply] [d/l] |
|
|
|
|
|
| [reply] |
|
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
| [reply] |
|
| [reply] |
Re: Super search use DuckDuckGo link broken
by pfaut (Priest) on May 01, 2025 at 22:32 UTC
|
It appears that typing ddg://anything in the search box sends you to The Monastery Gates. I'm not sure if that's the problem the base note is complaining about.
90% of every Perl application is already written. ⇒ | dragonchild |
| [reply] [d/l] |
|
You can no longer use the search box to redirect off site. This was a security fix.
It still works in posts, however ddg://Perl, for example.
And in-site links should still work, even in the search box. id://381608, for example.
| [reply] [d/l] [select] |
|
If you still need to find out how a link will be translated by PerlMonks, you can use handlelinks xml generator with the link query parameter containing the shortcut.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
| [reply] [d/l] [select] |