socmap / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

mediawiki reader #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be great to have a mediawiki reader.

Niels Aan de Brugh has started work on this:
http://groups.google.com/group/pandoc-discuss/browse_thread/thread/cf832e81a35c6
d/c61d830c5521cdbd

Original issue reported on code.google.com by fiddloso...@gmail.com on 1 Nov 2008 at 9:16

GoogleCodeExporter commented 8 years ago
who's currently working on this?  Niel said he no longer wants to work on it.  
i've
attached the file he sent.  

i tried to parse media wiki syntax with Scala (using parser combinators) but i 
didn't
get to far, mainly because of the lack of a formal grammar.

Original comment by mohban...@gmail.com on 2 Jan 2009 at 10:39

Attachments:

GoogleCodeExporter commented 8 years ago
I don't know of anyone else who is working on it, if Niels isn't.
Please go ahead if you feel like giving it a try!

Original comment by fiddloso...@gmail.com on 2 Jan 2009 at 10:50

GoogleCodeExporter commented 8 years ago
I'm just drawing attention to this slightly-misnamed Haskell project: 
WikimediaParser
http://code.google.com/p/wikimediaparser/

There may be some potential for re-use there

Original comment by eric....@gmail.com on 27 May 2009 at 12:27

GoogleCodeExporter commented 8 years ago
I've done a tiny bit of digging and in its present state, WikimediaParser does 
not
appear to be ready for integration into Pandoc. Perhaps either Niels's approach 
or
Simon Michael's MoinMoin reader could be used.

Meanwhile, here is an attempt at describing the syntax a little bit more 
formally
(one of the options being in BNF): http://www.mediawiki.org/wiki/Markup_spec

They say that it's not really feasible technically, but that what they can do 
is make
a best effort to describe at least how the Mediawiki parser works.

Original comment by eric....@gmail.com on 6 Aug 2009 at 9:28