Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

159
Visualizações
Alert if search query have results in another gcse

For my project I've created a few google custom search engines on certain topics. The idea is that when people search on the main (general) engine that they get an alert if there are results on the other (topical) engines.

Right now I cannot figure out how to execute this idea. At first I thought I could get the query from URL and than get the number of results using file_get_contents as described in this topic, and then create an alert if number of results != NULL, but file_get_contents doesn't seem to work on custom search engines (is this true?) .

The same thread killed the idea to get the number of results using the Custom Search JSON API because I will have to do this for every search on the main engine and 100 free queries is not enough.

Before I let go of this idea I am reaching out to see if there is really no way of getting this done.

I am using Custom Search Element API 2.0 on Wordpress. Search box is rendered in the header and the results on the page. The alert would have to appear in the sidebar.

Any help is really appreciated ! Also open to hear other creative solutions to achieve the goal (inform of results on topical engine)

Peace, Marcia

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda