Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO(adding the article type) #438

Merged
merged 2 commits into from
Jun 6, 2022
Merged

SEO(adding the article type) #438

merged 2 commits into from
Jun 6, 2022

Conversation

rodrigoKulb
Copy link
Contributor

@rodrigoKulb rodrigoKulb commented Jun 5, 2022

🤔 Por que você está abrindo esse Pull Request?

🧐 Descreva sua solução:

Primeiro verifico se a página é um content, caso positivo retorno os parâmetros necessários para o novo tipo.

Segundo adicionei o prefixo Em resposta a se o content for uma resposta de um outro content.

Antes Depois
Captura de tela em 2022-06-05 18-46-46 Captura de tela em 2022-06-05 18-46-56

@vercel
Copy link

vercel bot commented Jun 5, 2022

@rodrigoKulb is attempting to deploy a commit to the TabNews Team on Vercel.

To accomplish this, @rodrigoKulb needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account.

@rodrigoKulb rodrigoKulb changed the title Tags seo SEO(adding the article type) Jun 5, 2022
@filipedeschamps
Copy link
Owner

Show @rodrigoKulb ! Vou dar um squash nos commits, atualizar com a main e modificar uma coisinha 🤝 assim que conseguir, eu dou um push -f aqui para essa mesma branch 👍

@vercel
Copy link

vercel bot commented Jun 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
tabnews ✅ Ready (Inspect) Visit Preview Jun 6, 2022 at 2:38PM (UTC)

@filipedeschamps
Copy link
Owner

@rodrigoKulb veja como ficou 🤝 eu fiz aquela ideia de usar parte do corpo do conteúdo caso não exista um título. Isso no resultado de uma busca (quando aparece o título), acaba sendo uma informação mais relevante sobre a resposta em sí 👍

@rodrigoKulb
Copy link
Contributor Author

@filipedeschamps maravilha assim não ficamos limitados somente no primeiro nível de comentários.

Sobre deixar somente TabNews na primeira página acredito que podemos avaliar melhor, porque o Title é muito importante para o SEO e não utilizar alguma palavra chave nele é um pecado hehehe!!

Exemplo abaixo github:

GitHub: Where the world builds software

Captura de tela em 2022-06-05 22-43-38

@filipedeschamps
Copy link
Owner

@rodrigoKulb sensacional, você está 100% certo! Alterei para:

TabNews: Conteúdos para quem trabalha com Programação e Tecnologia

Por ter as palavras Programação e Tecnologia. O que acha?

@rodrigoKulb
Copy link
Contributor Author

Show, adorei a sugestão! 🚀️

gabrnunes
gabrnunes previously approved these changes Jun 6, 2022
@rodrigoKulb
Copy link
Contributor Author

rodrigoKulb commented Jun 6, 2022

@filipedeschamps aproveitando que já resolveu a limpeza do body, acha válido adicionar o og:description nessa PR ?

Sugestão: Talvez pegar 150 caracteres do body.

og: description
A brief description of the content, which, in essence, is similar to the traditional meta-description for the site page. The main task of the description is to arouse interest in the user and arouse the desire to follow the link. Do not write more than one or two short sentences. Although Facebook states that you can write up to 4 sentences in the description, SEO experts recommend that you do not go beyond the limit of 200 characters. This will increase the likelihood that users will see the entire description, rather than the passage that fits in the snippet.

https://www.seoquake.com/blog/open-graph-meta-tags-for-facebook-and-twitter/#:~:text=og%3A%20description&text=Although%20Facebook%20states%20that%20you,that%20fits%20in%20the%20snippet.

@filipedeschamps
Copy link
Owner

@rodrigoKulb boa!! Feito 👍 o BaseLayout já tinha sido preparado pelo @gabrnunes para lidar com as tags de description, daí era só mandar para o metadata 🤝

@filipedeschamps filipedeschamps merged commit d05287d into main Jun 6, 2022
@filipedeschamps filipedeschamps deleted the tags-seo branch June 6, 2022 16:07
@filipedeschamps
Copy link
Owner

Merged! Let's gooooo!!

@filipedeschamps
Copy link
Owner

@rodrigoKulb você foi citado na última publicação comemorativa: https://www.tabnews.com.br/filipedeschamps/nova-melhoria-numero-de-comentarios-nas-publicacoes 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants