<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://w.arbores.tech/w/index.php?action=history&amp;feed=atom&amp;title=Universal_Widget_API</id>
	<title>Universal Widget API - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://w.arbores.tech/w/index.php?action=history&amp;feed=atom&amp;title=Universal_Widget_API"/>
	<link rel="alternate" type="text/html" href="http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;action=history"/>
	<updated>2026-04-11T06:24:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.11</generator>
	<entry>
		<id>http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=16078&amp;oldid=prev</id>
		<title>Daniel K. Schneider: Text replacement - &quot;$&quot; to &quot;
{{edutechwiki}}&quot;</title>
		<link rel="alternate" type="text/html" href="http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=16078&amp;oldid=prev"/>
		<updated>2021-04-10T00:18:10Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;$&amp;quot; to &amp;quot; {{edutechwiki}}&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:18, 10 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot;&gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Rich internet applications]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Rich internet applications]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Cloud computing]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Cloud computing]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{edutechwiki}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Daniel K. Schneider</name></author>
	</entry>
	<entry>
		<id>http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=15613&amp;oldid=prev</id>
		<title>Daniel K. Schneider: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=15613&amp;oldid=prev"/>
		<updated>2021-04-09T22:48:59Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:48, 10 April 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Daniel K. Schneider</name></author>
	</entry>
	<entry>
		<id>http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=15612&amp;oldid=prev</id>
		<title>Daniel K. Schneider: /* Links */</title>
		<link rel="alternate" type="text/html" href="http://w.arbores.tech/w/index.php?title=Universal_Widget_API&amp;diff=15612&amp;oldid=prev"/>
		<updated>2010-07-06T10:19:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Stub}}&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Universal Widget API&amp;#039;&amp;#039;&amp;#039; (UWA for short) is the name of the 1.0 release of the [http://www.netvibes.com/ Netvibes] API, i.e. it is a specification for building [[web widget]]s.&lt;br /&gt;
&lt;br /&gt;
Netvibe&amp;#039;s UWA widgets run in&lt;br /&gt;
* [http://www.netvibes.com Netvibes]&lt;br /&gt;
* Also can be loaded into iGoogle, Apple Dashboard (and more to come)&lt;br /&gt;
&lt;br /&gt;
See also: [[AJAX]], the introduction to [[web widget]]s and [[Pageflakes API]] (an other mashup).&lt;br /&gt;
&lt;br /&gt;
== A simple AJAX example ==&lt;br /&gt;
&lt;br /&gt;
The example can be found at http://tecfa.unige.ch/guides/js/ex/netvibes/ (it&amp;#039;s free). It is based on Netvibes [http://dev.netvibes.com/doc/uwa_widget/helloworld hello world] example and &lt;br /&gt;
a glance at [http://dev.netvibes.com/doc/uwa_specification UWA specs]&lt;br /&gt;
&lt;br /&gt;
It will display a short message that can be changed by editing the preferences of the widget. When you hit ok, the string you entered will be sent to a php program via a XMLHttpRequest and PHP will send back a XML text string.&lt;br /&gt;
&lt;br /&gt;
To see how it works, click on file [http://tecfa.unige.ch/guides/js/ex/netvibes/hello.html hello.html]. You will be invited to include in a netvibes page (also iGoogle).&lt;br /&gt;
If you want to play with the code also get the [http://tecfa.unige.ch/guides/js/ex/netvibes/helloapi.phps helloapi.phps].&lt;br /&gt;
&lt;br /&gt;
; JS CODE&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &lt;br /&gt;
  xmlns:widget=&amp;quot;http://www.netvibes.com/ns/&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;head&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;author&amp;quot; content=&amp;quot;Daniel K. Schneider&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;Testing the Hello widget&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;apiVersion&amp;quot; content=&amp;quot;1.0&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;inline&amp;quot; content=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;meta name=&amp;quot;debugMode&amp;quot; content=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; &lt;br /&gt;
      href=&amp;quot;http://www.netvibes.com/themes/uwa/style.css&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;script type=&amp;quot;text/javascript&amp;quot; &lt;br /&gt;
      src=&amp;quot;http://www.netvibes.com/js/UWA/load.js.php?env=Standalone&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;widget:preferences&amp;gt;&lt;br /&gt;
      &amp;lt;preference name=&amp;quot;hellowho&amp;quot; type=&amp;quot;text&amp;quot; label=&amp;quot;What do you like ?&amp;quot; &lt;br /&gt;
        defaultValue=&amp;quot;World&amp;quot; /&amp;gt;&lt;br /&gt;
    &amp;lt;/widget:preferences&amp;gt;&lt;br /&gt;
    &amp;lt;title&amp;gt;Hello World&amp;lt;/title&amp;gt;&lt;br /&gt;
    &amp;lt;link rel=&amp;quot;icon&amp;quot; type=&amp;quot;image/png&amp;quot; &lt;br /&gt;
      href=&amp;quot;http://www.netvibes.com/favicon.ico&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
      var HelloWidget = {&lt;br /&gt;
        completeHello: false,&lt;br /&gt;
        parse: function(completeHello) {&lt;br /&gt;
          if (completeHello) HelloWidget.completeHello = completeHello;&lt;br /&gt;
          widget.setBody(&amp;#039;&amp;lt;p&amp;gt;&amp;#039; + HelloWidget.completeHello + &amp;#039;&amp;lt;/p&amp;gt;&amp;#039;);&lt;br /&gt;
        }&lt;br /&gt;
      }&lt;br /&gt;
&lt;br /&gt;
      widget.onLoad = function() {&lt;br /&gt;
      // Call PHP with argument hellowho=...&lt;br /&gt;
      var url = &amp;#039;http://tecfa.unige.ch/guides/js/ex/netvibes/helloapi.php?&amp;#039; + &amp;#039;hellowho&amp;#039; + &amp;#039;=&amp;#039; + widget.getValue(&amp;#039;hellowho&amp;#039;);&lt;br /&gt;
      // We expect simple text output from php&lt;br /&gt;
      UWA.Data.getText(url, HelloWidget.parse);&lt;br /&gt;
      }&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
  &amp;lt;/head&amp;gt;&lt;br /&gt;
  &amp;lt;body&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Loading...&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; PHP code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;?php&lt;br /&gt;
 error_reporting(E_ALL);&lt;br /&gt;
 header (&amp;quot;Content-type: application/xml&amp;quot;);   &lt;br /&gt;
 echo &amp;#039;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
 if (array_key_exists(&amp;#039;hellowho&amp;#039;, $_GET))  &lt;br /&gt;
  { $user_pref  = $_GET[&amp;#039;hellowho&amp;#039;]; }&lt;br /&gt;
  else &lt;br /&gt;
   $user_pref=&amp;quot;nothing&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
 // echo &amp;quot;Query string was: &amp;quot; .  $_SERVER[&amp;quot;QUERY_STRING&amp;quot;];&lt;br /&gt;
 echo &amp;quot;&amp;lt;div&amp;gt;&amp;lt;p&amp;gt;I like &amp;quot; . $user_pref . &amp;quot;&amp;lt;/p&amp;gt;&amp;quot;;&lt;br /&gt;
 echo &amp;quot;&amp;lt;p&amp;gt;Click Edit to change your preference!&amp;lt;/p&amp;gt;&amp;quot;;&lt;br /&gt;
 echo &amp;#039;&amp;lt;p&amp;gt;Soure code: &amp;lt;a href=&amp;quot;http://tecfa.unige.ch/guides/js/ex/netvibes/&amp;quot;&lt;br /&gt;
   target=&amp;quot;new&amp;quot;&amp;gt;http://tecfa.unige.ch/guides/js/ex/netvibes/&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;#039;;&lt;br /&gt;
 ?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
* [http://dev.netvibes.com/ dev.netvibes] website&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: Social computing]]&lt;br /&gt;
[[Category: XML]]&lt;br /&gt;
[[Category: Rich internet applications]]&lt;br /&gt;
[[Category: Cloud computing]]&lt;/div&gt;</summary>
		<author><name>Daniel K. Schneider</name></author>
	</entry>
</feed>