[Mediawiki-api] Question about querying

Richard Moore rich at kde.org
Wed Feb 11 13:01:52 UTC 2009


Resend from my subscribed address.

Hi All,

I've been working on a simple class for querying wikipedia (and other
media wikis) for KDE. You can see the code at the urls below. We're
planning to use the class to make KDE integrate more tightly with
wikipedia, for example we already have a prototype that integrates it
with a desktop search applet. I've had requests for a few additional
features that I'm not sure how to implement using the API, so I
wondered if anyonee could give me a hint?

1. Request the picture of the day (including both the image and the
descriptive text).

2. Get  a snippet of the pages that matched a search query.

3. Search within specific categories.

Anyone able to help?

Thanks

Rich.


http://websvn.kde.org/trunk/playground/base/plasma/applets/crystal/mediawiki.h?view=markup
http://websvn.kde.org/trunk/playground/base/plasma/applets/crystal/mediawiki.cpp?view=markup



More information about the Mediawiki-api mailing list