News / mini-blog
- Title
- Date / time
- Description in RST or Markdown
- Author (name / email)
TODO: Decide how news will be implemented. A mini-blog? (including tags, comments, etc) Or a "basic" model?
The idea is to show the 3 more recent news in the index page and have a page with all the posts.
It's related with this mittun issue: https://github.com/flaviamissi/mittun/issues/19
Me and Gileno Alves are working on it at https://github.com/pugpe/pythonbrasil8
o/
And the django-diario? No good?
@gilsondev django-diario don't have support for multi language
@renatooliveira any news on this?
Sorry guys, but i'm in the end of the semester at the university and i have no time, but in the vocations i'll come back to this.
Sorry again
I was talking to @turicas anout this issue and im working on it. We are doing these things we've talked about in an email conversation that I'm no going to translate:
Atualmente as notícias estão hardcoded em HTML e, como não estou tendo
tempo para adicionar isso na aplicação Django, acabo não postando
notícias pois dá trabalho (mudar HTML, pull request, deploy). O ideal
seria ter algo que eu pudesse adicionar notícias pelo admin.
O model seria algo razoavelmente simples: um
model com título-pt, título-en, descrição-pt, descrição-en, autor e
data/hora. Eu posso migrar manualmente as notícias que já foram
postadas (se eu tiver como editar a data/hora de publicação delas). O
ideal é que a descrição aceite markdown (ou então HTML diretamente).
Teriam alguns templates para apresentá-lo:
1- a página inicial, onde mostraria somente título e um link para a
notícia completa
2- a página da notícia completa (se possível usando slug, tipo
/news/slug-in-english)
3- uma página com listagem "todas as notícias" e
4- um RSS pra galera poder seguir (seria interessante ter link para o
RSS na home e nas outras páginas de notícias).
"Não é obrigatório, mas seria legal se tivesse link de compartilhar
(twitter e facebook só) na página da notícia."
The worki in progress is at my repo: https://github.com/eduardostalinho/pythonbrasil8/tree/feature/news
there is still work to do:
- RSS
- Post detail page
- Translate new translation strings
This issue is almost close, but i cant make a pull request here. The button is not appearing. @turicas @tatiana @andrewsmedina @fsouza The branch is here: https://github.com/eduardostalinho/pythonbrasil8/tree/feature/news
Hi @eduardostalinho, the pull request button should appear in your fork, next to watch/unwatch button.
