On Mon, Mar 10, 2014 at 11:24 PM, Richa Jain <richa.jain1...@gmail.com> wrote:
> 2. Is there some existing code for this project or do I need to start the
> code from scratch?

Out of curiosity, I tried to ask about this on IRC, but my connection
has become moody today and I am unable to stay on IRC for long. So I
thought i would better ask it here.

Mediawiki.org along with PediaPress and the Commonwealth of Learning
has been working on an extension to convert from mediawiki to docbook
from quite a time. It's called Collection Extension.
http://www.mediawiki.org/wiki/Extension:Collection

The complete docs are at
http://mwlib.readthedocs.org/en/latest/collection.html

Code is at https://github.com/wikimedia/mediawiki-extensions-Collection

You might have seen it working on the wikipedia as "create a book" or
"download as pdf" options.

In configuration (LocalSettings.php) we just have to add 'DocBook XML'
array called $wgcollection and we are good to go. By default it uses
public render server (http://tools.pediapress.com/mw-serve/) for
handling high traffic we may want to install mwlib and setup our own
render server and that will generate the output in docbook format.

This was about going from mediawiki to docbook, for the other way
around our friends at blender have done some rough translation from
docbook XML to wiki

http://wiki.blender.org/index.php/Meta:Tools/Wiki_conversions/DocBook_to_Wiki

So my question is basically to mentors, can't we use these extensions
? Why do we need to build a new one ?

--
Inderpreet Singh

Ekoankar Sahai
ishwerdas.com
facebook.com/okayinder
https://kippt.com/okayinder

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to