Hi,

I've been using xhtmlwriter to extract wikipedia content and I cannot
see how to get proper internal links. They are all translated to <a
class="mwx.link.article" href="#"> and I cannot see how to get the
proper href link.

Here's the code I used

        r = parseString(title='', raw=wikitext,
wikidb=self.MyWikiDb())
        preprocess(r)
        dbw = MWXHTMLWriter()
        dbw.writeBook(r)
        return dbw.asstring()

Where wikitext is the original raw wiki content

Any hint ?

Thanks

Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" 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/mwlib?hl=en.

Reply via email to