yes I want to something like this. first get the page then parse the
definition from this page. is it something like that?

-----
Regards
Saeed Ahmed
http://saeed05.wordpress.com
-----


On Thu, Apr 8, 2010 at 4:20 PM, Conrad Irwin <[email protected]>wrote:

> 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/<http://toolserver.org/%7Eenwikt/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
>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to