On 24/03/2008, hitesh thakkar <hiteshthakkar.h(a)gmail.com> wrote:
hello,
We am doing knowledge Harvesting project,
where we are parsing wikipedia xml pages and
there it contain wiki markup .
so we are suppose to parse that wiki too,
we got stuck here, how to parse wiki markup.
do i need to write wiki parser of its already available.
do reply if any one know about this query.
Download the MediaWiki source code from
mediawiki.org and make your
code call Parser::parse() (from Parser.php). (You don't actually need
to entire source code, but it's easiest to just grab it all - it's a
little complicated trying to separate the parser from the rest.)