News for hackers. Stuff that matters.
Re:Google’s robots.txt parser is now open source by jxcl on Monday July 01, 2019 @11:25AM (#20326254)
Google is also really generous with how they will let you spell "disallow": https://github.com/google/robotstxt/blob/59f3643d3a3ac88f613...

:D

Re:Google’s robots.txt parser is now open source by knorker on Monday July 01, 2019 @11:31AM (#20326345)
I'm not surprised. Some people think humans read robots.txt and get super angry when the crawler doesn't understand.
Re:Google’s robots.txt parser is now open source by c3534l on Monday July 01, 2019 @11:36AM (#20326401)
I read robots.txt, but I'm not a massive corporation.
Re:Google’s robots.txt parser is now open source by kortilla on Monday July 01, 2019 @12:43PM (#20327158)
> (absl::StartsWithIgnoreCase(key, "disallaw")))));

Ah, the southern version. :)

Re:Google’s robots.txt parser is now open source by avip on Monday July 01, 2019 @02:48PM (#20328448)
This is great. #kAllowFrequentTypos
Re:Google’s robots.txt parser is now open source by samstave on Monday July 01, 2019 @08:44PM (#20331118)
Ive never made a tpyo in my life!!!
Re:Google’s robots.txt parser is now open source by quickthrower2 on Monday July 01, 2019 @08:53PM (#20331163)
Whats a tpyo? My typo array for "typo" only has tipo, typpo and thai-pho
Re:Google’s robots.txt parser is now open source by bigiain on Monday July 01, 2019 @09:55PM (#20331468)
If you're gonna include thai-pho you also need to include thai-fur...
Re:Google’s robots.txt parser is now open source by Fnoord on Monday July 01, 2019 @12:49PM (#20327217)
Makes sense because not everyone speaks English as native language. Disalow is pretty close to disallow, phonetically.
Re:Google’s robots.txt parser is now open source by ryandrake on Monday July 01, 2019 @08:41PM (#20331109)
Yuck though! Imagine if you were writing a compiler. Would you make it accept “unsinged” “unnsigned” “unssined” and “unsined” as keywords, just to catch spelling mistakes? Not sure I like that pattern.
Re:Google’s robots.txt parser is now open source by bscphil on Monday July 01, 2019 @09:06PM (#20331228)
It's a little different in that case, since the person using the parser is also the person writing the input to the parser. So if the input fails the parser, the author of the code can simply correct it. As I understand it, there's no single standard that captures how all robots.txt files are formatted, so there's no "standard parser" that the authors of these files could be expected to pass.
Re:Google’s robots.txt parser is now open source by anoncake on Tuesday July 02, 2019 @07:59AM (#20334154)
That is not an excuse. Non-native speakers can learn to spell.