GIS and Media fusion

"The explosive growth of the GeoWeb and geographic information has made GIS powerful media for the general public to communicate, but perhaps more importantly, GIS have also become media for constructive dialogs and interactions about social issues." - Sui & Goodchild

User Tools

Site Tools


ajax:tp6

CustomHeigSearch

L'API de Google offre un service de personnalisation de recherche (http://code.google.com/apis/customsearch/v1/overview.html).

Ci-dessous les éléments d'utilisation d'une personnalisation de ce service pour des recherches sur le site www.heig-vd.ch :

  • clé d'utilisation du service (key): AIzaSyBpYS569CJN6A7wbDUXokxOJAbQhBokDkc
  • identifiant de la personnalisation HEIG-VD (cx) : 013998846191891903408:q5-pjzgkxvu

Ainsi, la requête ci-dessous retourne un flux JSON des résultats de recherche sur le site www.heig-vd.ch avec le mot clé « module » :
https://www.googleapis.com/customsearch/v1?key=AIzaSyBpYS569CJN6A7wbDUXokxOJAbQhBokDkc&cx=013998846191891903408:q5-pjzgkxvu&q=module

Il s'agit donc de créer une application web avec formulaire de recherche et affichage des résultats en utilisant ce service tier de Google (cf. screenshot et démo).

screenshot

ajax/tp6.txt · Last modified: 2018/05/15 17:18 (external edit)