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

162
Visualizações
What is a strategy to implement this URL input analysis feature?

I found this cool feature on digg.com, where you can input a news URL and it will nearly instantaneously give you the title, the summary, and the image from the news story.

I don't need all these features but I would like to abstract out just the title.

I don't have the resources to download the entire website and say parse it for this information but was wondering if there was a way to get just the title ... using the client's machine, i.e. browser.

Is there an API available that might help with this?

The similar feature is found at digg.com/news after hitting the add button at the top:

image

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I don't have the resources to download the entire website and say parse it for this information

That would be the reliable way to do it.

You could get a performance boost by downloading only the first 𝒩 bytes of the page (by making a range request, but you risk missing the <title> element if it exists beyond those bytes.

if there was a way to get just the title ... using the client's machine, i.e. browser.

No. The same origin policy prevents this.

about 4 years ago · Juan Pablo Isaza Relatório
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