[Mediawiki-api] Getting 1st line of article

Prateek prateek at knoesis.org
Fri Oct 15 20:34:37 UTC 2010


Hello all,

I want to get just the first line of an article.

For example, for  the article
http://en.wikipedia.org/wiki/Article_(grammar)

I want to obtain  "An article (abbreviated art) is a word that combines with
a noun to indicate the type of reference being made by the noun."

Is there any way in which I can do that elegantly?

Best Regards

Prateek
-- 
Prateek Jain
Research Assistant, Kno.e.sis Center
Wright State University
Fairborn,Ohio 45435
http://knoesis.wright.edu/students/prateek/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20101015/b6c1f5c5/attachment.htm 


More information about the Mediawiki-api mailing list