On Mon, Jul 6, 2009 at 8:56 AM, Olemis Lang<[email protected]> wrote:
> Hello everybody !
>
> I was implementing TracGViz version 1.3.3 (which is almost ready ;)
> and the side-effect is that I have a few doubts. I'd appreciate if
> someone either replies with the answer or with a link to the page(s)
> where I could find further info about the subjects involved ;)
>
> Here are some of them :
>
> About reStructuredText and Trac WikiFormatting:
>

JFYI

I share with you the results I found about this topic

> - Does anybody know if there is a MIME-type reserved for MoinMoin
>  wiki text ?

It seems to be `text/x.moin.wiki` [1]_

{{{
Subtype: x.moin.wiki
MoinMoin Wiki format.

Parameter: revision
gives moin wiki markup standard revision (== the moin revision supporting it)

it is still unclear whether and how we can USE the revision parameter
(e.g. for migration scripts or parsers), but maybe just having that
information is better than not having it
}}}

> - Does anybody know if there is a MIME-type reserved for
>  reStructuredText ?

It seems to be `text/x-rst` [2]_.

{{{
While there is no registered MIME type for reStructuredText, the
"official unofficial" standard MIME type is "text/x-rst". This was
invented for the build system for PEPs (Python Enhancement Proposals),
and it's used by the python.org web site build system.

(The "x-" prefix means it's an unregistered MIME type.)
}}}

> - I'd like to generate reStructuredText tables containing arbitrary
>  text in each cell. Does anybody know about a code snippet to do
>  this ? Let me explain myself better. I already implemented a
>  similar algorithm for MoinMoin wiki text, but that case is just
>  simpler (substitute line-breaks by `[[BR]]` and double bars `||`
>  by `| |`). The format used by `rst` tables makes things harder so I wanted
>  to know if there was something (code) out there to do this .
> - How could I include two bars `||` inside a cell (i.e. table) using
>  WikiFormatting (i.e. !|| doesnt work ;).
>

Please, does anyone know anything about these?

Thnx !

.. [1] MoinMoin: MimeType
       (http://moinmo.in/MimeType)

.. [2] What's the official MIME type for reStructuredText data?
       
(http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data)

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to