|
0
|
1 |
|
|
|
2 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
3 |
<html> |
|
|
4 |
<head> |
|
|
5 |
<title>YUI Library Examples: IO: XML Transaction — Retrieving a Yahoo! Weather RSS (XML) Feed via a Server-Side Proxy</title> |
|
|
6 |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
7 |
<link rel="stylesheet" type="text/css" href="../../assets/yui.css" > |
|
|
8 |
|
|
|
9 |
<style> |
|
|
10 |
/*Supplemental CSS for the YUI distribution*/ |
|
|
11 |
#custom-doc { width: 95%; min-width: 950px; } |
|
|
12 |
#pagetitle {background-image: url(../../assets/bg_hd.gif);} |
|
|
13 |
/* #pagetitle h1 {background-image: url(../../assets/title_h_bg.gif);}*/ |
|
|
14 |
</style> |
|
|
15 |
|
|
|
16 |
<link rel="stylesheet" type="text/css" href="../../assets/dpSyntaxHighlighter.css"> |
|
|
17 |
|
|
|
18 |
<!--there is no custom header content for this example--> |
|
|
19 |
|
|
|
20 |
<link type="text/css" rel="stylesheet" href="../../build/cssfonts/fonts-min.css" /> |
|
|
21 |
<script type="text/javascript" src="../../build/yui/yui-min.js"></script> |
|
|
22 |
|
|
|
23 |
</head> |
|
|
24 |
<body id="yahoo-com" class=" yui-skin-sam"> |
|
|
25 |
<div id="custom-doc" class="yui-t2"> |
|
|
26 |
<div id="hd"> |
|
|
27 |
<div id="ygunav"> |
|
|
28 |
<p> |
|
|
29 |
<em> |
|
|
30 |
<a href="http://developer.yahoo.com/yui/3/">YUI 3.x Home</a> <i> - </i> |
|
|
31 |
</em> |
|
|
32 |
</p> |
|
|
33 |
<form action="http://search.yahoo.com/search" id="sitesearchform"> |
|
|
34 |
<input name="vs" type="hidden" value="developer.yahoo.com"> |
|
|
35 |
<input name="vs" type="hidden" value="yuiblog.com"> |
|
|
36 |
<div id="sitesearch"> |
|
|
37 |
<label for="searchinput">Site Search (YDN & YUIBlog): </label> |
|
|
38 |
<input type="text" id="searchinput" name="p"> |
|
|
39 |
<input type="submit" value="Search" id="searchsubmit" class="ygbt"> |
|
|
40 |
</div> |
|
|
41 |
</form> |
|
|
42 |
</div> |
|
|
43 |
<div id="ygma"><a href="../../"><img src="../../assets/logo.gif" border="0" width="200" height="93"></a></div> |
|
|
44 |
<div id="pagetitle"><h1>YUI Library Examples: IO: XML Transaction — Retrieving a Yahoo! Weather RSS (XML) Feed via a Server-Side Proxy</h1></div> |
|
|
45 |
</div> |
|
|
46 |
<div id="bd"> |
|
|
47 |
|
|
|
48 |
<div id="bar-note"><p><strong>Note:</strong> This is YUI 3.x. Looking for <a href="http://developer.yahoo.com/yui/">YUI 2.x</a>?</p></div> |
|
|
49 |
|
|
|
50 |
<div id="yui-main"> |
|
|
51 |
<div class="yui-b"> |
|
|
52 |
<div class="yui-ge"> |
|
|
53 |
<div class="yui-u first example" id="main"> |
|
|
54 |
|
|
|
55 |
<h2>IO: XML Transaction — Retrieving a Yahoo! Weather RSS (XML) Feed via a Server-Side Proxy</h2> |
|
|
56 |
|
|
|
57 |
<div id="example" class="promo"> |
|
|
58 |
<p> |
|
|
59 |
<p>This example demonstrates how to use IO and a PHP proxy — to work around XMLHttpRequest's same-domain policy — to retrieve an XML document from <code>http://xml.weather.yahoo.com/forecastrss</code>.</p> |
|
|
60 |
|
|
|
61 |
<p>To try out the example, fill in your five-digit US zip code, or Location ID.</p> </p> |
|
|
62 |
|
|
|
63 |
<div class="module example-container "> |
|
|
64 |
<div class="hd exampleHd"> |
|
|
65 |
<p class="newWindowButton yui-skin-sam"> |
|
|
66 |
<a href="io-weather_clean.html" target="_blank">View example in new window.</a> |
|
|
67 |
</p> |
|
|
68 |
</div> <div id="example-canvas" class="bd"> |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
<!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
72 |
|
|
|
73 |
<form id="wForm"> |
|
|
74 |
<fieldset> |
|
|
75 |
<label>Zip Code or Location ID</label> <input type="text" id="zip" value="94089"> |
|
|
76 |
<p>Please enter a U.S. Zip Code or a location ID to get the current temperature. The default is Zip Code 94089 for Sunnyvale, California; its location ID is: USCA1116.</p> |
|
|
77 |
</fieldset> |
|
|
78 |
<div id="weatherModule"></div> |
|
|
79 |
<input type="button" value="Get Weather RSS" id="getWeather"> |
|
|
80 |
</form> |
|
|
81 |
|
|
|
82 |
|
|
|
83 |
<script language="javascript"> |
|
|
84 |
|
|
|
85 |
YUI({base:"../../build/", timeout: 10000}).use("io", |
|
|
86 |
|
|
|
87 |
function(Y) { |
|
|
88 |
|
|
|
89 |
//Get a Node reference to the div we'll use for displaying |
|
|
90 |
//results: |
|
|
91 |
var div = Y.Node.get('#weatherModule'); |
|
|
92 |
|
|
|
93 |
//Define a function to handle a successful response from |
|
|
94 |
//Yahoo! Weather. The success handler will find the response |
|
|
95 |
//object in its second argument: |
|
|
96 |
function successHandler(id, o){ |
|
|
97 |
Y.log("Success handler called; handler will parse the retrieved XML and insert into DOM.", "info", "example"); |
|
|
98 |
var root = o.responseXML.documentElement; |
|
|
99 |
var oTitle = root.getElementsByTagName('description')[0].firstChild.nodeValue; |
|
|
100 |
var oDateTime = root.getElementsByTagName('lastBuildDate')[0].firstChild.nodeValue; |
|
|
101 |
var descriptionNode = root.getElementsByTagName('description')[1].firstChild.nodeValue; |
|
|
102 |
|
|
|
103 |
div.set("innerHTML", "<p>" + oTitle + "</p>" + "<p>" + oDateTime + "</p>" + descriptionNode); |
|
|
104 |
|
|
|
105 |
Y.log("Success handler is complete.", "info", "example"); |
|
|
106 |
} |
|
|
107 |
|
|
|
108 |
//Provide a function that can help debug failed |
|
|
109 |
//requests: |
|
|
110 |
function failureHandler(id, o){ |
|
|
111 |
Y.log("Failure handler called; http status: " + o.status, "info", "example"); |
|
|
112 |
div.set("innerHTML", o.status + " " + o.statusText); |
|
|
113 |
} |
|
|
114 |
|
|
|
115 |
//When the Get RSS button is clicked, this function will fire |
|
|
116 |
//and compose/dispatch the IO request: |
|
|
117 |
function getModule(){ |
|
|
118 |
//Get the input value: |
|
|
119 |
var iZip = Y.Node.get('#zip').get("value"); |
|
|
120 |
|
|
|
121 |
//Create a querystring from the input value: |
|
|
122 |
var queryString = encodeURI('?p=' + iZip); |
|
|
123 |
|
|
|
124 |
//The location of our server-side proxy: |
|
|
125 |
var entryPoint = 'assets/weather.php'; |
|
|
126 |
|
|
|
127 |
//Compile the full URI for the request: |
|
|
128 |
var sUrl = entryPoint + queryString; |
|
|
129 |
|
|
|
130 |
Y.log("Submitting request; zip code: " + iZip, "info", "example"); |
|
|
131 |
|
|
|
132 |
//Make the reqeust: |
|
|
133 |
var request = Y.io(sUrl, { |
|
|
134 |
method:"GET", |
|
|
135 |
on: |
|
|
136 |
{ |
|
|
137 |
success:successHandler, |
|
|
138 |
failure:failureHandler |
|
|
139 |
} |
|
|
140 |
} |
|
|
141 |
); |
|
|
142 |
} |
|
|
143 |
|
|
|
144 |
//Use the Event Utility to wire the Get RSS button |
|
|
145 |
//to the getModule function: |
|
|
146 |
Y.on("click", getModule, "#getWeather"); |
|
|
147 |
|
|
|
148 |
Y.log("When you retrieve weather RSS data, relevant steps in the process will be reported here in the logger/console.", "info", "example"); |
|
|
149 |
} |
|
|
150 |
); |
|
|
151 |
</script> |
|
|
152 |
|
|
|
153 |
<!--END SOURCE CODE FOR EXAMPLE =============================== --> |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
</div> |
|
|
157 |
</div> |
|
|
158 |
</div> |
|
|
159 |
|
|
|
160 |
<h2 class="first">Exploring the Code for This Example</h2> |
|
|
161 |
|
|
|
162 |
<p>Create a YUI instance, using IO, for this example:</p> |
|
|
163 |
|
|
|
164 |
<textarea name="code" class="JScript" cols="60" rows="1"> |
|
|
165 |
//Create a YUI instance including support for IO: |
|
|
166 |
YUI({base:"../../build/", timeout: 10000}).use("io-base", function(Y) { |
|
|
167 |
// Y is the YUI instance. |
|
|
168 |
// The rest of the following code is encapsulated in this |
|
|
169 |
// anonymous function. |
|
|
170 |
} ); |
|
|
171 |
</textarea> |
|
|
172 |
|
|
|
173 |
<h3>Callback Object and the Weather RSS</h3> |
|
|
174 |
<p><a href="http://developer.yahoo.com/weather/">Yahoo! Weather RSS</a> will return an XML document if the transaction is successful. The following <code>success</code> callback handlers is used to process the response.</p> |
|
|
175 |
<textarea name="code" class="JScript" cols="60" rows="1">//Define a function to handle a successful response from |
|
|
176 |
//Yahoo! Weather. The success handler will find the response |
|
|
177 |
//object in its second argument: |
|
|
178 |
function successHandler(id, o){ |
|
|
179 |
Y.log("Success handler called; handler will parse the retrieved XML and insert into DOM.", "info", "example"); |
|
|
180 |
var root = o.responseXML.documentElement; |
|
|
181 |
var oTitle = root.getElementsByTagName('description')[0].firstChild.nodeValue; |
|
|
182 |
var oDateTime = root.getElementsByTagName('lastBuildDate')[0].firstChild.nodeValue; |
|
|
183 |
var descriptionNode = root.getElementsByTagName('description')[1].firstChild.nodeValue; |
|
|
184 |
|
|
|
185 |
div.set("innerHTML", "<p>" + oTitle + "</p>" + "<p>" + oDateTime + "</p>" + descriptionNode); |
|
|
186 |
|
|
|
187 |
Y.log("Success handler is complete.", "info", "example"); |
|
|
188 |
}</textarea> |
|
|
189 |
|
|
|
190 |
<h3>Assemble the Querystring and Initiate the Transaction</h3> |
|
|
191 |
<p>The Yahoo! Weather RSS feed requires a simple HTTP GET request with a base URL and a querystring containing the required information as a name-value pair. In this example, we will use the following parameter:</p> |
|
|
192 |
<ul> |
|
|
193 |
<li><code>p</code> — location as U.S. Zip Code or Location ID</li> |
|
|
194 |
</ul> |
|
|
195 |
|
|
|
196 |
<p>The following are some example location IDs (do not include the city name):</p> |
|
|
197 |
<ul> |
|
|
198 |
<li><strong>Beijing</strong>: <em>CHXX0008</em></li> |
|
|
199 |
<li><strong>Helsinki</strong>: <em>FIXX0002</em></li> |
|
|
200 |
<li><strong>London</strong>: <em>UKXX0085</em></li> |
|
|
201 |
<li><strong>Moscow</strong>: <em>RSXX0063</em></li> |
|
|
202 |
<li><strong>Munich</strong>: <em>GMXX0087</em></li> |
|
|
203 |
<li><strong>Paris</strong>: <em>FRXX0076</em></li> |
|
|
204 |
<li><strong>Riyadh</strong>: <em>SAXX0017</em></li> |
|
|
205 |
<li><strong>Tokyo</strong>: <em>JAXX0085</em></li> |
|
|
206 |
</ul> |
|
|
207 |
<p>For more details on the Yahoo! Weather RSS feed and other location IDs, please visit <a href="http://developer.yahoo.com/weather/index.html">http://developer.yahoo.com/weather/index.html</a>. |
|
|
208 |
<p>Function <code>getModule</code> retrieves the input values for location and creates a querystring:</p> |
|
|
209 |
<textarea name="code" class="JScript" cols="60" rows="1">//When the Get RSS button is clicked, this function will fire |
|
|
210 |
//and compose/dispatch the IO request: |
|
|
211 |
function getModule(){ |
|
|
212 |
//Get the input value: |
|
|
213 |
var iZip = Y.Node.get('#zip').get("value"); |
|
|
214 |
|
|
|
215 |
//Create a querystring from the input value: |
|
|
216 |
var queryString = encodeURI('?p=' + iZip); |
|
|
217 |
|
|
|
218 |
//The location of our server-side proxy: |
|
|
219 |
var entryPoint = 'assets/weather.php'; |
|
|
220 |
|
|
|
221 |
//Compile the full URI for the request: |
|
|
222 |
var sUrl = entryPoint + queryString; |
|
|
223 |
|
|
|
224 |
Y.log("Submitting request; zip code: " + iZip, "info", "example"); |
|
|
225 |
|
|
|
226 |
//Make the reqeust: |
|
|
227 |
var request = Y.io(sUrl, { |
|
|
228 |
method:"GET", |
|
|
229 |
on: |
|
|
230 |
{ |
|
|
231 |
success:successHandler, |
|
|
232 |
failure:failureHandler |
|
|
233 |
} |
|
|
234 |
} |
|
|
235 |
); |
|
|
236 |
} |
|
|
237 |
|
|
|
238 |
//Use the Event Utility to wire the Get RSS button |
|
|
239 |
//to the getModule function: |
|
|
240 |
Y.on("click", getModule, "#getWeather");</textarea> |
|
|
241 |
|
|
|
242 |
<h3>Full Script Source</h3> |
|
|
243 |
|
|
|
244 |
<p>Here is the full JavaScript source for this example:</p> |
|
|
245 |
|
|
|
246 |
<textarea name="code" class="JScript" cols="60" rows="1"> |
|
|
247 |
|
|
|
248 |
YUI({base:"../../build/", timeout: 10000}).use("io", |
|
|
249 |
|
|
|
250 |
function(Y) { |
|
|
251 |
|
|
|
252 |
//Get a Node reference to the div we'll use for displaying |
|
|
253 |
//results: |
|
|
254 |
var div = Y.Node.get('#weatherModule'); |
|
|
255 |
|
|
|
256 |
//Define a function to handle a successful response from |
|
|
257 |
//Yahoo! Weather. The success handler will find the response |
|
|
258 |
//object in its second argument: |
|
|
259 |
function successHandler(id, o){ |
|
|
260 |
Y.log("Success handler called; handler will parse the retrieved XML and insert into DOM.", "info", "example"); |
|
|
261 |
var root = o.responseXML.documentElement; |
|
|
262 |
var oTitle = root.getElementsByTagName('description')[0].firstChild.nodeValue; |
|
|
263 |
var oDateTime = root.getElementsByTagName('lastBuildDate')[0].firstChild.nodeValue; |
|
|
264 |
var descriptionNode = root.getElementsByTagName('description')[1].firstChild.nodeValue; |
|
|
265 |
|
|
|
266 |
div.set("innerHTML", "<p>" + oTitle + "</p>" + "<p>" + oDateTime + "</p>" + descriptionNode); |
|
|
267 |
|
|
|
268 |
Y.log("Success handler is complete.", "info", "example"); |
|
|
269 |
} |
|
|
270 |
|
|
|
271 |
//Provide a function that can help debug failed |
|
|
272 |
//requests: |
|
|
273 |
function failureHandler(id, o){ |
|
|
274 |
Y.log("Failure handler called; http status: " + o.status, "info", "example"); |
|
|
275 |
div.set("innerHTML", o.status + " " + o.statusText); |
|
|
276 |
} |
|
|
277 |
|
|
|
278 |
//When the Get RSS button is clicked, this function will fire |
|
|
279 |
//and compose/dispatch the IO request: |
|
|
280 |
function getModule(){ |
|
|
281 |
//Get the input value: |
|
|
282 |
var iZip = Y.Node.get('#zip').get("value"); |
|
|
283 |
|
|
|
284 |
//Create a querystring from the input value: |
|
|
285 |
var queryString = encodeURI('?p=' + iZip); |
|
|
286 |
|
|
|
287 |
//The location of our server-side proxy: |
|
|
288 |
var entryPoint = 'assets/weather.php'; |
|
|
289 |
|
|
|
290 |
//Compile the full URI for the request: |
|
|
291 |
var sUrl = entryPoint + queryString; |
|
|
292 |
|
|
|
293 |
Y.log("Submitting request; zip code: " + iZip, "info", "example"); |
|
|
294 |
|
|
|
295 |
//Make the reqeust: |
|
|
296 |
var request = Y.io(sUrl, { |
|
|
297 |
method:"GET", |
|
|
298 |
on: |
|
|
299 |
{ |
|
|
300 |
success:successHandler, |
|
|
301 |
failure:failureHandler |
|
|
302 |
} |
|
|
303 |
} |
|
|
304 |
); |
|
|
305 |
} |
|
|
306 |
|
|
|
307 |
//Use the Event Utility to wire the Get RSS button |
|
|
308 |
//to the getModule function: |
|
|
309 |
Y.on("click", getModule, "#getWeather"); |
|
|
310 |
|
|
|
311 |
Y.log("When you retrieve weather RSS data, relevant steps in the process will be reported here in the logger/console.", "info", "example"); |
|
|
312 |
} |
|
|
313 |
); |
|
|
314 |
</textarea> |
|
|
315 |
|
|
|
316 |
<h3>Proxy and Response</h3> |
|
|
317 |
<p> |
|
|
318 |
Once <code>weather.php</code> receives the querystring, it will construct and send an HTTP GET using CURL to retrieve the results from the Yahoo! Weather RSS feed. This allows the transaction to succeed while working around XMLHttpRequest's strict security policy. |
|
|
319 |
</p> |
|
|
320 |
|
|
|
321 |
<textarea name="code" class="PHP" cols="60" rows="1"> |
|
|
322 |
//Within a PHP block: |
|
|
323 |
|
|
|
324 |
// Since the result is an XML document, the Content-type |
|
|
325 |
// header must be set to "text/xml" for the data to be |
|
|
326 |
// treated as XML and to populate responseXML. |
|
|
327 |
header("Content-Type:text/xml"); |
|
|
328 |
|
|
|
329 |
// $url is the resource path of the Y! Weather RSS |
|
|
330 |
// with the appended querystring of zip code/location id. |
|
|
331 |
$url = 'http://xml.weather.yahoo.com/forecastrss?'.getenv('QUERY_STRING'); |
|
|
332 |
|
|
|
333 |
// This function initializes CURL, sets the necessary CURL |
|
|
334 |
// options, executes the request and returns the results. |
|
|
335 |
function getResource($url){ |
|
|
336 |
$ch = curl_init(); |
|
|
337 |
curl_setopt($ch, CURLOPT_URL, $url); |
|
|
338 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
|
|
339 |
$result = curl_exec($ch); |
|
|
340 |
curl_close($ch); |
|
|
341 |
|
|
|
342 |
return $result; |
|
|
343 |
} |
|
|
344 |
|
|
|
345 |
// Call getResource to make the request. |
|
|
346 |
$feed = getResource($url); |
|
|
347 |
|
|
|
348 |
// Return the results. |
|
|
349 |
echo $feed; |
|
|
350 |
</textarea> </div> |
|
|
351 |
<div class="yui-u sidebar"> |
|
|
352 |
|
|
|
353 |
|
|
|
354 |
<div id="examples" class="mod box4"> |
|
|
355 |
<div class="hd"> |
|
|
356 |
<h4> |
|
|
357 |
IO Examples:</h4> |
|
|
358 |
</div> |
|
|
359 |
<div class="bd"> |
|
|
360 |
<ul> |
|
|
361 |
<li><a href='../io/io-get.html'>GET Transaction</a></li><li><a href='../io/io-post.html'>POST Transaction</a></li><li class='selected'><a href='../io/io-weather.html'>XML Transaction — Retrieving a Yahoo! Weather RSS (XML) Feed via a Server-Side Proxy</a></li><li><a href='../io/io-xdr.html'>Cross-Domain JSON Transaction — Retrieving a News Feed from Yahoo! Pipes</a></li><li><a href='../node-menunav/node-menunav-8.html'>Adding Submenus On The Fly (included with examples for MenuNav Node Plugin)</a></li><li><a href='../overlay/overlay-io-plugin.html'>IO Plugin (included with examples for Overlay)</a></li><li><a href='../dd/portal-drag.html'>Portal Style Example (included with examples for Drag & Drop)</a></li> </ul> |
|
|
362 |
</div> |
|
|
363 |
</div> |
|
|
364 |
|
|
|
365 |
<div class="mod box4"> |
|
|
366 |
<div class="hd"> |
|
|
367 |
<h4>More IO Resources:</h4> |
|
|
368 |
</div> |
|
|
369 |
<div class="bd"> |
|
|
370 |
<ul> |
|
|
371 |
<!-- <li><a href="http://developer.yahoo.com/yui/io/">User's Guide</a> (external)</li> --> |
|
|
372 |
<li><a href="../../api/module_io.html">API Documentation</a></li> |
|
|
373 |
</ul> |
|
|
374 |
</div> |
|
|
375 |
</div> |
|
|
376 |
</div> |
|
|
377 |
</div> |
|
|
378 |
|
|
|
379 |
</div> |
|
|
380 |
</div> |
|
|
381 |
|
|
|
382 |
|
|
|
383 |
<div class="yui-b toc3" id="tocWrapper"> |
|
|
384 |
<!-- TABLE OF CONTENTS --> |
|
|
385 |
<div id="toc"> |
|
|
386 |
|
|
|
387 |
<ul> |
|
|
388 |
<li class="sect first">YUI 3.x Project</li><li class="item"><a title="The Yahoo! User Interface (YUI) Library, 3.x Branch, " href="http://developer.yahoo.com/yui/3/">YUI 3 Web Site (external)</a></li><li class="item"><a title="Examples of every YUI utility and control in action" href="../../examples/">YUI 3 Examples</a></li><li class="item"><a title="Instantly searchable API documentation for the entire YUI library." href="../../api/">YUI 3 API Docs</a></li><li class="item"><a title="The YUI Library can be downloaded from SourceForge" href="http://sourceforge.net/projects/yui/">YUI 3 on Sourceforge (external)</a></li><li class="item"><a title="YUI is free and open, offered under a BSD license." href="http://developer.yahoo.com/yui/3/license.html">YUI License (external)</a></li><li class="sect">YUI 3 Core - Examples</li><li class="item"><a title="YUI (Global Prerequisite) - Functional Examples" href="../../examples/yui/index.html">YUI (Global Prerequisite)</a></li><li class="item"><a title="Event - Functional Examples" href="../../examples/event/index.html">Event</a></li><li class="item"><a title="Node - Functional Examples" href="../../examples/node/index.html">Node</a></li><li class="sect">YUI 3 Component Infrastructure - Examples</li><li class="item"><a title="Attribute - Functional Examples" href="../../examples/attribute/index.html">Attribute</a></li><li class="item"><a title="Plugin - Functional Examples" href="../../examples/plugin/index.html">Plugin</a></li><li class="item"><a title="Widget - Functional Examples" href="../../examples/widget/index.html">Widget</a></li><li class="sect">YUI 3 Utilities - Examples</li><li class="item"><a title="Animation - Functional Examples" href="../../examples/anim/index.html">Animation</a></li><li class="item"><a title="Cache - Functional Examples" href="../../examples/cache/index.html">Cache</a></li><li class="item"><a title="Cookie - Functional Examples" href="../../examples/cookie/index.html">Cookie</a></li><li class="item"><a title="DataSchema - Functional Examples" href="../../examples/dataschema/index.html">DataSchema</a></li><li class="item"><a title="DataSource - Functional Examples" href="../../examples/datasource/index.html">DataSource</a></li><li class="item"><a title="DataType - Functional Examples" href="../../examples/datatype/index.html">DataType</a></li><li class="item"><a title="Drag & Drop - Functional Examples" href="../../examples/dd/index.html">Drag & Drop</a></li><li class="item"><a title="Get - Functional Examples" href="../../examples/get/index.html">Get</a></li><li class="item"><a title="History - Functional Examples" href="../../examples/history/index.html">History</a></li><li class="item"><a title="ImageLoader - Functional Examples" href="../../examples/imageloader/index.html">ImageLoader</a></li><li class="selected "><a title="IO - Functional Examples" href="../../examples/io/index.html">IO</a></li><li class="item"><a title="JSON (JavaScript Object Notation) - Functional Examples" href="../../examples/json/index.html">JSON</a></li><li class="item"><a title="Queue - Functional Examples" href="../../examples/queue/index.html">Queue</a></li><li class="item"><a title="Stylesheet - Functional Examples" href="../../examples/stylesheet/index.html">Stylesheet</a></li><li class="sect">YUI 3 Widgets - Examples</li><li class="item"><a title="Overlay - Functional Examples" href="../../examples/overlay/index.html">Overlay</a></li><li class="item"><a title="Slider - Functional Examples" href="../../examples/slider/index.html">Slider</a></li><li class="sect">YUI 3 Node Plugins - Examples</li><li class="item"><a title="FocusManager Node Plugin - Functional Examples" href="../../examples/node-focusmanager/index.html">FocusManager Node Plugin</a></li><li class="item"><a title="MenuNav Node Plugin - Functional Examples" href="../../examples/node-menunav/index.html">MenuNav Node Plugin</a></li><li class="sect">YUI 3 CSS - Examples</li><li class="item"><a title="YUI CSS Reset - Functional Examples" href="../../examples/cssreset/index.html">CSS Reset</a></li><li class="item"><a title="YUI Fonts - Functional Examples" href="../../examples/cssfonts/index.html">CSS Fonts</a></li><li class="item"><a title="YUI Base - Functional Examples" href="../../examples/cssbase/index.html">CSS Base</a></li><li class="sect">YUI 3 Developer Tools - Examples</li><li class="item"><a title="Console - Functional Examples" href="../../examples/console/index.html">Console</a></li><li class="item"><a title="Profiler - Functional Examples" href="../../examples/profiler/index.html">Profiler</a></li><li class="item"><a title="Test - Functional Examples" href="../../examples/test/index.html">Test</a></li><li class="sect">The YUI Community</li><li class="item"><a title="The Yahoo! User Interface Blog" href="http://yuiblog.com">YUI Blog (external)</a></li><li class="item"><a title="The Yahoo! Group YDN-JavaScript hosts the YUI community forum" href="http://tech.groups.yahoo.com/group/ydn-javascript/">YUI Forum (external)</a></li><li class="item"><a title="The Yahoo! Group yui3 is dedicated to the 3.x branch of the Yahoo! User Interface (YUI) Library." href="http://tech.groups.yahoo.com/group/yui3/">YUI 3 Forum (external)</a></li><li class="item"><a title="YUI is used by Yahoo! and by hundreds of other sites, including many you know and love." href="/yui/poweredby/">YUI Sightings (external)</a></li><li class="item"><a title="Videos and podcasts from the YUI Team and from the Yahoo! frontend engineering community." href="http://developer.yahoo.com/yui/theater/">YUI Theater (external)</a></li><li class="sect">YUI Articles on the YUI Website</li><li class="item"><a title="Answers to Frequently Asked Questions about the YUI Library" href="http://developer.yahoo.com/yui/articles/faq/">YUI FAQ (external)</a></li><li class="item"><a title="Yahoo!'s philosophy of Graded Browser Support" href="http://developer.yahoo.com/yui/articles/gbs/">Graded Browser Support (external)</a></li><li class="item"><a title="Reporting Bugs and Making Feature Requests for YUI Components" href="http://developer.yahoo.com/yui/articles/reportingbugs/">Bug Reports/Feature Requests (external)</a></li><li class="item"><a title="Serve YUI source files from Yahoo! -- free, fast, and simple" href="http://developer.yahoo.com/yui/3/articles/hosting/">Serving YUI Files from Yahoo! (external)</a></li></ul> |
|
|
389 |
</div> |
|
|
390 |
</div> |
|
|
391 |
</div><!--closes bd--> |
|
|
392 |
|
|
|
393 |
<div id="ft"> |
|
|
394 |
<p class="first">Copyright © 2009 Yahoo! Inc. All rights reserved.</p> |
|
|
395 |
<p><a href="http://privacy.yahoo.com/privacy/us/devel/index.html">Privacy Policy</a> - |
|
|
396 |
<a href="http://docs.yahoo.com/info/terms/">Terms of Service</a> - |
|
|
397 |
<a href="http://docs.yahoo.com/info/copyright/copyright.html">Copyright Policy</a> - |
|
|
398 |
<a href="http://careers.yahoo.com/">Job Openings</a></p> |
|
|
399 |
</div> |
|
|
400 |
</div> |
|
|
401 |
<script src="../../assets/dpSyntaxHighlighter.js"></script> |
|
|
402 |
<script language="javascript"> |
|
|
403 |
dp.SyntaxHighlighter.HighlightAll('code'); |
|
|
404 |
</script> |
|
|
405 |
</body> |
|
|
406 |
</html> |