AGROVOC is multilingual structured thesaurus for all subject fields in agriculture, forestry, fisheries, food and related domains. It's used all over the world by researchers, librarians, information managers, and others, for indexing, retrieving, and organizing data in agricultural information systems. FAO (United Nations) is only the curator of AGROVOC and sponsor of this module.
AGROVOC have several webservices but this module only implements simpleSearchByMode2 webservice in this version.
This web service executes a simple search on all AGROVOC terms retrieving terms based on the specified search mode: Terms are retrieved having the search term either in the beginning or containing in the AGROVOC term or matching the search term exactly
In case, nothing is specified or the searchmode parameter is entered incorrectly, a partial search, i.e. containing the search term is executed by default. The search is not case sensitive, i.e. ‘Fruit’, ‘FRUIT’ and ‘fruit’ return the same results (for all search modes). No wild cards (like *) can be used. Selected values are loaded into taxonomies (taxonomy module or content taxonomy module)
Module
http://cambio.name/agrovocws/agrovocws.tar.gz
Screenshots
Popup user interface
http://cambio.name/agrovocws/screenshot1.png
Field of taxonomy
http://cambio.name/agrovocws/screenshot2.png
Settings window
http://cambio.name/agrovocws/screenshot3.png
Regards
Adam
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | agrovocws.tar_.gz | 57.83 KB | asanchez75 |
Comments
Comment #1
asanchez75 commentedI implemented a module that calls the AGROVOC web services into a Drupal module that also provides a nicer user interface in the search window.
AGROVOC have several webservices but this module only implements simpleSearchByMode2 webservice in this version.
This web service executes a simple search on all AGROVOC terms retrieving terms based on the specified search mode: Terms are retrieved having the search term either in the beginning or containing in the AGROVOC term or matching the search term exactly
In case, nothing is specified or the searchmode parameter is entered incorrectly, a partial search, i.e. containing the search term is executed by default. The search is not case sensitive, i.e. ‘Fruit’, ‘FRUIT’ and ‘fruit’ return the same results (for all search modes). No wild cards (like *) can be used. Selected values are loaded into taxonomies (taxonomy module or content taxonomy module)
AGROVOC is multilingual structured thesaurus for all subject fields in agriculture, forestry, fisheries, food and related domains. It's used all over the world by researchers, librarians, information managers, and others, for indexing, retrieving, and organizing data in agricultural information systems. FAO (United Nations) is only the curator of AGROVOC and sponsor of this module.
Comment #2
avpadernoHello, and thanks for applying for a CVS account. I am adding the review tags, and some volunteers will review your code, pointing out what needs to be changed.
Comment #3
meba commentedI don't understand the way how you use variable_set - that won't work. What happens if two people search at the same time? Your module will break.
Also, please read http://drupal.org/writing-secure-code, I believe there might be some Cross Site Scripting issues in the module. You should sanitize all output using check_plain().
Comment #4
avpadernoI am closing this issue due to lack of replies.
Comment #5
avpadernoComment #6
avpaderno