On Dec 29, 8:34 pm, Ralf Schmitt <[email protected]> wrote: > Nazarius Kappertaal <[email protected]> writes: > > Is there an extended tutorial showing one how to actually use mwlib? > > sorry, no. > > > > > As fun as running through the inline documentation is... > > > I'd much rather be looking at commented, practical examples. So that I > > can get using/loving mwlib, without having to figure out myself how it > > works. > > > If this kind of documentation already exists please direct me towards > > it, as I can't seem to find anything except for simpleparse on the > > mwlib page @ pediapress. > > > If it doesn't, don't suppose some of the guys on this list could > > pastie some practical examples of mwlib in use? > > do you have something concrete in mind?
I mostly just need to see how to parse and extract data from the tree that is created when one parses a mediawiki article - links/images/ tables -> currently doing it with a variety of regexes (multi-pass is bad). A concrete tutorial/walkthrough would be akin to dive into python, centred around some type of complex, featured article -> en.wikipedia - > DNA/World War II. And just run down the most used aspects of mwlib, using the featured article. Nothing long, just some code that works, and shows (via comments/ descriptions) how one can use mwlib in real life. Make it easier for outsiders. Kind of like a repository of working snippets, commented and described with an article. I'd maintain/host it, if the developers didn't want to. -- 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.
