I am developing a web page in which I am accepting input words from user and when user will submit those words then I want to display definition of those words or wikipedia link of those words for more definition about that word. Something like below:
Let's say user enetered 5 words:
toast, egg, beans, coffee, tea
Now I want to display them like:
toast › slices of bread that have been toasted
egg › animal reproductive body consisting of an ovum or embryotogether with nutritive and protective envelopes
beans › a small skullcap <link to wikipedia>read more on wikipedia</link>
coffee › a beverage consisting of an infusion of ground coffee beans
tea › a beverage made by steeping tea leaves in water <link to wikipedia>read more on wikipedia</link>
For those there is no article on wikipedia then no wiki link will be displayed for those words.
Can you guyz please suggest me some opensource PHP script or package which will do this for me, or suggest me some ideas about how to do this in PHP.
I am more interested in getting data from some other website directly instead of storing word definitions in my database.
I am using PHP - MYSQL