I'm trying to do build a system which is described below.
 
"The user inputs a word. The system check if word exists at portuguese section of wiktionary. If true,
get and show to user the word definiton. If false, sugest (displays) similar words, as in Wiktionary,
with her links."

I have done this
http://troyee.com/example/sl_project_36/index.php

using this api http://en.wiktionary.org/w/api.php?action=opensearch&search=api&format=xml&limit=1
*it is for english word.

Now I stuck with two questions

1. Am I going to the right way?
2. how to handle with portuguese section of wiktionary. which api will use for this?


I need your useful suggestions please.
-----
Regards
Saeed Ahmed
http://saeed05.wordpress.com
-----