More Related Content
Similar to W3C Widgets、どこが面白い?
Similar to W3C Widgets、どこが面白い? (20)
More from ourmaninjapan (20)
W3C Widgets、どこが面白い?
- 13. config.xml の構成
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
id="http://example.org/exampleWidget" version="2.0 Beta"
height="200" width="200"
viewmodes="widget">
<name short="デモ">デモウィジェット</name>
<description>ウィジェットの構成を示すデモウィジェット</description>
<author href="http://example.org/widgetman">ウィジェットマン</author>
<icon src="icons/example.png"/>
<content src="myWidget.html"/>
<license href="http://www.apache.org/licenses/LICENSE-2.0"/>
<feature name="http://example.com/camera">
<param name="autofocus" value="true"/>
</feature>
<preference name="apikey" value="ea31ad3a23fd2f" readonly="true" />
</widget>