Ray Peat DB

Ray Peat Website Search Function Has Been Down For Awhile

2018-04 · Forum · archived copy · forum post
Where this page comes from
Copied from: archive.peatforum.com

yerrag (2018-04-21):

I can't do a search anymore on Ray Peat's website. I don't know how long it's been that way, perhaps half a year?

I get this message:

Unauthorized access to internal API. Please refer to Problems with adding a search engine to your site - Custom Search Help

Does anyone know how to arrange with Ray Peat to have that issue fixed? Site is crippled without that functionality.

Thanks!


Tenacity (2018-04-21):

You can use 'site:raypeat.com "your search query"' on Google to achieve basically the same thing.


yerrag (2018-04-21):

Tenacity said:

You can use 'site:raypeat.com "your search query"' on Google to achieve basically the same thing.

Thanks. That's a great workaround!


chimpanzee (2022-08-21):

@yerrag I know it's an old post but it's still broken. I'm a software engineer and I would be willing to help if someone wanted to arrange that. The problematic line is this: google.load('search', '1', {language : 'en'});

The google API that it's using has been deprecated as they always do, I'm confident I could fix it if provided with the source (free of charge of course).


yerrag (2022-08-21):

chimpanzee said:

@yerrag I know it's an old post but it's still broken. I'm a software engineer and I would be willing to help if someone wanted to arrange that. The problematic line is this: google.load('search', '1', {language : 'en'});

The google API that it's using has been deprecated as they always do, I'm confident I could fix it if provided with the source (free of charge of course).

I'm glad to hear from you. It's never too late. And I think Ray would appreciate you giving him a hand on this fix. A lot of people just wouldn't know how to search his articles on that site outside of knowing to use search commands.

The best way is for you to write Ray directly, and hopefully he can arrange for you to modify the source code or script to get search back in his website.

I'll pm you his email address and you can take it from there. Thank you for wanting to help.