On 04/08/2010 11:30 AM, saeed ahmed wrote:
> hello friends,
> 
> I'm totally new with wiki api. I want your help.
> 
> I want to get a word definition from wiki using wiki api. the system is
> below
> 
> input a word -> get the definition from wiki .
> 
> I am reading this http://en.wiktionary.org/w/api.php . but could not get it
> well. I do understand how to implement it.

The short answer is "you can't". The slightly longer answer is, "you can
download the page source, and find the first line starting with a # and
that will be the definition". The alternative solution is to download
them all from:

http://toolserver.org/~enwikt/definitions/

Conrad

> 
> -----
> Regards
> Saeed Ahmed
> http://saeed05.wordpress.com
> -----
> 
> 
> 
> 
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to