#9 ✓resolved
Henrique

Pesquisar soluções para a formatação do conteúdo da Notícia

Reported by Henrique | September 16th, 2008 @ 03:21 PM | in Alpha

Deve ser possível formatar o título e corpo da notícia com negrito, itálico, sublinhado, subtítulos (fonte maior), links e listas. Para essa função, existem algumas soluções, como o Textile, Markdown, Redcloth ou HTML puro.

O propósito deste ticket é investigar as soluções possíveis, assim como vantagens e desvantagens de cada uma.

Comments and changes to this ticket

  • Ícaro L. da Motta

    Ícaro L. da Motta September 16th, 2008 @ 04:49 PM

    De acordo com o site oficial da RedCloth (http://redcloth.org/) o RedCloth é um módulo para utilizar o Textile em Ruby.

    Acho que podemos ficar tranqüilos quanto à escolha do RedCloth, já que pela documentação oficial é possível notar o quão simples (mas customizável e poderoso) é o Textile.

    Official Textile Reference Manual for RedCloth 4 http://redcloth.org/textile

    O Markdown parece ser fácil de usar, mas carece de recursos.

    Acho que HTML puro não seria uma alternativa para os jornalistas.

  • Ícaro L. da Motta

    Ícaro L. da Motta September 16th, 2008 @ 05:06 PM

    • State changed from “new” to “resolved”

    No próprio site do Textile são oferecidas 3 alternativas


    acts_as_textiled Plugin that makes using Textile as simple as it can be. The specified model field is always interpreted as Textile when displayed, except when in a form (for editing).

    Textile Editor Helper Plugin that shows a simple toolbar over Textile text-entry areas, so you can, for example, click a Word-like “B” icon for bold and it will wrap the selected text in asterisks. (Display is still not wysiwyg, however.)

    RedCloth [Textile Humane Web Text for Ruby] Ruby gem for translating Textile markup to HTML.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Pages