marco tanzi wrote: > > Hi guys, > > I am writing a ruby application to retrieve the wikipedia data: the main > description and the main image (the one on the box in the left side). > As parameter I have the cruid of the wiki page, so I call the wiki API > to get the data, now start the problems:
You're probably better asking for http://en.wikipedia.org/w/index.php?title=Foo&action=render or http://en.wikipedia.org/w/index.php?oldid=52780&action=render Treat the first image as the one you want. You can get plain text by removing anything between < > (and undoing entitites). _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
