pybr2012-site icon indicating copy to clipboard operation
pybr2012-site copied to clipboard

News / mini-blog

Open tatiana opened this issue 13 years ago • 10 comments

  • 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.

tatiana avatar Mar 18 '12 18:03 tatiana

It's related with this mittun issue: https://github.com/flaviamissi/mittun/issues/19

andrewsmedina avatar Apr 19 '12 14:04 andrewsmedina

Me and Gileno Alves are working on it at https://github.com/pugpe/pythonbrasil8

o/

renatooliveira avatar Apr 28 '12 15:04 renatooliveira

And the django-diario? No good?

gilsondev avatar May 19 '12 00:05 gilsondev

@gilsondev django-diario don't have support for multi language

andrewsmedina avatar May 20 '12 21:05 andrewsmedina

@renatooliveira any news on this?

fsouza avatar Jun 05 '12 03:06 fsouza

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

renatooliveira avatar Jun 24 '12 21:06 renatooliveira

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

eduardostalinho avatar Nov 03 '12 03:11 eduardostalinho

there is still work to do:

  • RSS
  • Post detail page
  • Translate new translation strings

eduardostalinho avatar Nov 03 '12 03:11 eduardostalinho

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

eduardostalinho avatar Nov 05 '12 01:11 eduardostalinho

Hi @eduardostalinho, the pull request button should appear in your fork, next to watch/unwatch button.

fork

fsouza avatar Nov 06 '12 11:11 fsouza