Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > general Wiki format question and Python Wiki markup parsing libraries

Reply
Thread Tools

general Wiki format question and Python Wiki markup parsing libraries

 
 
chris
Guest
Posts: n/a
 
      05-16-2004
hi,
i am looking for a way to structure the text in XML comments to produce
a XHTML doc format for the XMLs (in this case XSLT).
so is was thinking about using a wiki like text format. e.g. something like
<!--
!Headline

some __bold__ text in a paragraph

* a list
* another item

etc... (the markup used is only an example!)

-->

but it should be a widely used format that people do not need to learn
yet another syntax.
it will be used by people using XSLT so it should not be language (py,
perl, java, ...) specific.

is there something like a "standard" wiki format at all, or at least one
that is widely used?
in my company we use a jspwiki which e.g. uses !, !! and !!! for
headlines, __bold__ and * list markup (like the example above). is this
more or less a standard as this is the only wiki i've used yet?


i was googling for python libraries which would parse a wiki text format
to xhtml but could not find something really useful.

is there a python library to parse these text formats? i was looking a
bit into reStructuredText but was wondering if this is generally used or
maybe is too Python specific.

any hint would be great
thanks
chris
 
Reply With Quote
 
 
 
 
Jarek Zgoda
Guest
Posts: n/a
 
      05-16-2004
chris <(E-Mail Removed)> pisze:

> is there something like a "standard" wiki format at all, or at least one
> that is widely used?


Don't think so. I saw more than 10 "simplified markups", of which nearly
all was more complicated than original HTML. I wanted something like
this in my JPA, so I added possibility to use Mark Pilgrim's Python
implementation of Dean Allen's Textile (originally implemented in PHP,
Perl version also exists), but Textile is really "simplified", its
capabilities are rather limited. Go to http://diveintomark.org/ and
check if PyTextile will suit your needs.

--
Jarek Zgoda
http://jpa.berlios.de/
 
Reply With Quote
 
 
 
 
chris
Guest
Posts: n/a
 
      05-16-2004
Jarek Zgoda wrote:

> chris <(E-Mail Removed)> pisze:
>
>
>>is there something like a "standard" wiki format at all, or at least one
>>that is widely used?

>
>
> Don't think so. I saw more than 10 "simplified markups", of which nearly
> all was more complicated than original HTML. I wanted something like
> this in my JPA, so I added possibility to use Mark Pilgrim's Python
> implementation of Dean Allen's Textile (originally implemented in PHP,
> Perl version also exists), but Textile is really "simplified", its
> capabilities are rather limited. Go to http://diveintomark.org/ and
> check if PyTextile will suit your needs.
>


thanks for the hint. PyTextile is almost too much already and i agree
almost as "complex" as HTML. something simpler like a wiki syntax would
be much better...

chris
 
Reply With Quote
 
John Roth
Guest
Posts: n/a
 
      05-16-2004
"Jarek Zgoda" <(E-Mail Removed)> wrote in message
news:c87e40$mbj$(E-Mail Removed)...
> chris <(E-Mail Removed)> pisze:
>
> > is there something like a "standard" wiki format at all, or at least one
> > that is widely used?

>
> Don't think so. I saw more than 10 "simplified markups", of which nearly
> all was more complicated than original HTML.


Well, I think the "simplified" seems to be a tradeoff in
terms of fewer keystrokes, rather than any conceptual
simplicity. If you really want to simplify things, please come
up with a little WISIWIG editor rather than yet more
line noise.

John Roth

> --
> Jarek Zgoda
> http://jpa.berlios.de/



 
Reply With Quote
 
chris
Guest
Posts: n/a
 
      05-17-2004
John Roth wrote:

> "Jarek Zgoda" <(E-Mail Removed)> wrote in message
> news:c87e40$mbj$(E-Mail Removed)...
>
>>chris <(E-Mail Removed)> pisze:
>>
>>
>>>is there something like a "standard" wiki format at all, or at least one
>>>that is widely used?

>>
>>Don't think so. I saw more than 10 "simplified markups", of which nearly
>>all was more complicated than original HTML.

>
>
> Well, I think the "simplified" seems to be a tradeoff in
> terms of fewer keystrokes, rather than any conceptual
> simplicity. If you really want to simplify things, please come
> up with a little WISIWIG editor rather than yet more
> line noise.
>
> John Roth
>
>
>>--
>>Jarek Zgoda
>>http://jpa.berlios.de/

>
>
>


well, i think it is not fewer keystrokes but to be able to easily read
the text (like here in this email without the html tag noise in e.g.
javadoc) when working on the xml/xsl file but at the same time to be
able to generate a structured xhtml documentation from the same text.
so something like restructured text seems like the best option to me for
now.

chris
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What libraries should I use for MIME parsing, XML parsing, and MySQL ? John Levine Ruby 0 02-02-2012 11:15 PM
Wiki markup to HTML converter? Yourself ASP .Net 0 09-14-2006 01:39 PM
converting wiki markup to html (or xml) Tim Parkin Python 2 01-23-2006 10:11 PM
[ANN] deplate 0.7.3: A converter for wiki markup with output to HTML,LaTeX, DocBook, and more. Thomas Ruby 0 11-02-2005 10:18 AM
Extreme Markup Languages 2005 announces conference support WIKI melledge XML 0 06-21-2005 05:40 PM



Advertisments