This gives gadget authors full control of the "maximized" view of their
gadget. Currently supported views are "default" and "canvas".
A sample gadget is as follows (important inclusions highlighted) ..
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="SOA Platform Blog"
description="SOA blog articles Syndicated via WSO2 Blogs"
author="WSO2 Gadget Server"
author_email="[email protected]"
author_link="http://wso2.org/"
title_url="http://wso2.org/"
screenshot=""
thumbnail="">
<Require feature="dynamic-height"/>
<Require feature="settitle"/>
<Require feature="views"/>
</ModulePrefs>
<UserPref name="feed_url" display_name="Feed URL:" default_value="
http://soa-platform.blogspot.com/feeds/posts/default/"/>
<UserPref name="show_date" display_name="Show Dates?" datatype="bool"
default_value="true"/>
<UserPref name="show_summ" display_name="Show Summaries?"
datatype="bool"/>
<UserPref name="num_entries" display_name="Number of Entries:"
default_value="5"/>
<Content type="html" view="canvas">
<![CDATA[
This is canvas or "maximized" view content
]]>
</Content>
<Content type="html" view="default">
<![CDATA[
This is my default view content
]]>
</Content>
</Module>
BAM Gadget developers please note! Since you are the immediate beneficiaries
:)
Tyrell
--
Tyrell Perera
WSO2, Inc.; http://www.wso2.com/
"The Open Source SOA Company"
http://www.linkedin.com/in/tyrell
http://tyrellperera.blogspot.com
http://twitter.com/tyrellperera
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev