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

Criar posts relacionados usando as tags que o usuario colocou. #39

Closed
5 of 6 tasks
RatoX opened this issue Dec 23, 2014 · 5 comments
Closed
5 of 6 tasks

Criar posts relacionados usando as tags que o usuario colocou. #39

RatoX opened this issue Dec 23, 2014 · 5 comments
Assignees

Comments

@RatoX
Copy link
Member

RatoX commented Dec 23, 2014

Atualmente os posts relacionados são de responsabilidade do Jekyll, nós queremos acabar com isso e trazer essa responsabilidade para o Marighella, fazendo esses pontos aqui:

  • 1. Criar um algoritmo de tag-frequencia para o Marighella. SHA: b8a1d3a
  • 2. Aproveitar as tags existentes para fazer um serviço de autocompletar. SHA: 8ff4256
  • 3. Utilizar de forma parametrizada o endereço para o arquivo novo.mst.org.br/tags.json
  • 4. Colocar as 6 postagens mais relevantes no markdown
  • 5. Exibir ao usuário as nóticias escolhidas pelo algoritmo.
  • 6. Permitir que o usuário diga quais as postagens que ele quer como relacionadas, utilizando primeiramente um filtro das tags.
@RatoX
Copy link
Member Author

RatoX commented Dec 23, 2014

Sobre o tag-frequencia, não chega a ser um algoritmo foda mas por enquanto ta rolando:

SHA: b8a1d3a

@RatoX
Copy link
Member Author

RatoX commented Dec 24, 2014

Eu tinha criado toda a lógica baseando na classe ReleatedPosts, só que pensei melhor a classe seria Tag e posts relacionados seria um comportamento dos tag.

------- atualização

Refatoração feita SHA: a2af537

@RatoX
Copy link
Member Author

RatoX commented Jan 26, 2015

Já preenchemos o markdown com a informação nova.

@RatoX
Copy link
Member Author

RatoX commented Jan 30, 2015

Os pontos 1 e 2 já estão em homologação no merge.

Criamos um outro branch para terminar o trabalho:
https://github.com/marighella/cms/tree/card_39

rasoliveira added a commit that referenced this issue Feb 2, 2015
rasoliveira added a commit that referenced this issue Feb 5, 2015
rasoliveira added a commit that referenced this issue Feb 5, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
RatoX added a commit that referenced this issue Feb 9, 2015
@TaiseAssis
Copy link
Collaborator

  • Para algumas tags incluídas (ex. educação), o marighella não sugere posts relacionados.
  • Está exibindo jornal nas relacionadas, está correto?

@RatoX RatoX closed this as completed Feb 11, 2015
@RatoX RatoX removed the validacao label Feb 11, 2015
RatoX added a commit that referenced this issue Feb 12, 2015
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

No branches or pull requests

2 participants