Components based on Zend framework Web services and services implementation.
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. |
<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" />
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. | |
<?xml version="1.0" encoding="UTF-8"?> <Graph> <Element> <Node id="YouTube" type="YOUTUBE" queryType = "all" searchTerm = "term" startIndex = "5" maxResults = "10" /> </Element> </Graph>
Component type : YAHOO_WEB_SEARCH
.
Yahoo! Search is a general-purpose internet search engine. The Yahoo! Search module lets you tap into this search engine to build custom searches as a starting point for Pipes.
You enter in one or more search terms into the module's "Search for" attrib. You can optionally add one or more site restrictions.
Attribute | Description | Default |
---|---|---|
id |
component node identification | |
type |
component type | YAHOO_WEB_SEARCH |
query |
search query | |
apiKey |
yahoo application key [see http://search.yahooapis.com/webservices/register_application] | YahooDemo |
results |
How many results to return, max is 50 | 50 |
start |
The start offset for search results | 1 |
language |
The target document language to match | |
return |
How the query should be parsed (all|any|phrase) | all |
site |
A site to which your search should be restricted | |
format |
results format (any|html|msword|pdf|ppt|rss|txt|xls) | any |
adult_ok |
permit 'adult' content in the search results | FALSE |
similar_ok |
permit similar results in the result set | FALSE |
country |
The country code for the content searched | |
license |
The license of content being searched (any|cc_any|cc_commercial|cc_modifiable) | any |
skiprows |
specifies how many records/rows should be skipped. | 0 |
maxrows |
specifies how many records/rows should be read. |
<Node id="Y! Web search" type="YAHOO_WEB_SEARCH" apiKey = "YahooDemo" query = "PHP ETL" start = "1" results = "5" return = "all" />Returned Response:
<response>
<item>
<title>etl, xml | Diigo</title>
<ClickUrl>http://www.diigo.com/tag/etl+xml</ClickUrl>
<Summary>All bookmarks tagged etl, xml on Diigo ... rss. flash. standards </Summary>
<CacheUrl>http://uk.wrs.yahoo.com ... 26icp=1%26.intl=u</CacheUrl>
</item>
</response>
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.
Attribute | Description | Default |
---|---|---|
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. |
<Node id="Yahoo Flickr Search" type="FLICKR" query = "Linux" apiKey = "381e601d332ab5ce9c25939570cb5c4b" tag_mode = "all" per_page = "10" />
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. |
<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" />