MixDEM components - Services

Components based on Zend framework Web services and services implementation.


GOOGLE_MAP

Component type : GOOGLE_MAP.
GOOGLE_MAP is a simple component wich creating a google map Mashup .

Attribute Description Default
id component node identification
type component type GOOGLE_MAP
GMAPIKey Google Maps API Key [see http://code.google.com/apis/maps/signup.html]
GMCenter Sets the map view to the given center.
GMZoom set zoom level 5
GMCWidth map width 500px
GMCHeight map height 500px
GMMevent the addoverlay event click
GMContainer DOM element conatiner map
GMMdataLat atitude coordinates to display a GMarker on the map
GMMdataLong longitude coordinates to display a GMarker on the map
GMMdataHtml The content of the info window is given as a string that contains HTML text on the GMarker.
GMCtrlGSM Creates a control with buttons to pan in four directions, and zoom in and zoom out. TRUE
GMCtrlGMT Creates a standard map type control for selecting and switching between supported map types via buttons. TRUE
GMCtrlGOM Creates a collapsible overview mini-map in the corner of the main map for reference location and navigation (through dragging). TRUE
skiprows specifies how many records/rows should be skipped. 0
maxrows specifies how many records/rows should be read.

Example:
<Node id="Simple Mashup with a GMap" type="GOOGLE_MAP" 
    GMAPIKey    = "YOUR_API_KEY_HERE"
    GMCenter    = "41.1, -121.4" 
    GMZoom      = "5" 
    GMCWidth    = "680px" 
    GMCHeight   = "270px"  
    GMContainer = "map"
/>

Top

YOUTUBE

Component type : YOUTUBE.
The YouTube API enables your application to search for YouTube videos and to retrieve standard video feeds, comments and video responses.

Attribute Description Default
id component node identification
type component type YOUTUBE
queryType query type : "all", "most viewed", "most recent", "recently featured", "top rated" all
startIndex result start index 0
maxResults max result per query 10
searchTerm search query
skiprows specifies how many records/rows should be skipped. 0
maxrows specifies how many records/rows should be read.

Example:
<?xml version="1.0" encoding="UTF-8"?>
<Graph>
    <Element> 
        <Node id="YouTube" type="YOUTUBE" 
            queryType  = "all"  
            searchTerm = "term"  
            startIndex = "5"  
            maxResults = "10" 
        /> 
    </Element>
</Graph>

Top


Top

FLICKR

Component type : FLICKR.

Flickr is a popular web site for storing and sharing photographs. The FLICKR module lets you search for photographs by keyword and geographic location.

AttributeDescriptionDefault
id component node identification
type component type FLICKR
query search query
apiKey Flickr application key [see http://www.flickr.com/services/api/misc.api_keys.html]
tag_mode
per_page
skiprows specifies how many records/rows should be skipped. 0
maxrows specifies how many records/rows should be read.

Example:
<Node id="Yahoo Flickr Search" type="FLICKR" 
    query    = "Linux"  
    apiKey   = "381e601d332ab5ce9c25939570cb5c4b" 
    tag_mode = "all"  
    per_page = "10"
/> 

Top

YAHOO_MAP

Component type : YAHOO_MAP.
YAHOO_MAP is a simple component wich creating a yahoo map Mashup .

Attribute Description Default
id component node identification
type component type YAHOO_MAP
YMAPIKey Yahoo Maps API Key [see http://developer.yahoo.com/wsregapp/]
YMCenter Sets the map view to the given center.
YMZoom set zoom level 5
YMCWidth map width 500px
YMCHeight map height 500px
YMMevent the addoverlay event click
YMContainer DOM element conatiner map
YMMdataLat atitude coordinates to display a YMarker on the map
YMMdataLong longitude coordinates to display a YMarker on the map
YMMdataHtml The content of the info window is given as a string that contains HTML text on the YMarker.
skiprows specifies how many records/rows should be skipped. 0
maxrows specifies how many records/rows should be read.

Example:
<Node id="Simple Mashup with a Y!Map" type="YAHOO_MAP" 
    YMAPIKey    = "YOUR_API_KEY_HERE"
    YMCenter    = "41.1, -121.4" 
    YMZoom      = "5" 
    YMCWidth    = "680px" 
    YMCHeight   = "270px"  
    YMContainer = "map"
/>

Top