On 9/3/05, Ashar Voultoiz hashar@altern.org wrote:
Jeremy Dunck wrote:
Good info, thanks. I should have asked: is there already a page text parser in Python? A grep of the source for pywikipediabot didn't turn up anything.
pywikipediabot works directly with wikitext. I think Kate Turner did a simple mediawiki using python, can't find it though.
Thanks for pointing that out. I'm just finding that the parsing logic is spread throughout the functionality of the library in the form of regex's, as opposed to having an actual parser with resulting tree.
I'm sure this was an informed choice -- I'll post to their mailing list for information on that choice.