W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

ISSUE-20 (Content multi-view): Current <content> model does not allow multiple views [Widgets]

From: Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 27 Jun 2008 04:07:00 +0000 (GMT)
To: public-webapps@w3.org
Message-Id: <20080627040700.5E8166B62A@kent.w3.org>

ISSUE-20 (Content multi-view): Current <content> model does not allow multiple views [Widgets]

http://www.w3.org/2008/webapps/track/issues/

Raised by: Marcos Caceres
On product: Widgets

The problem with the way that <content> is currently specified is that it does not allow for multiple "views" of content. For example, say I want to display a floating widget and a different view of that widget in a dock. 

Google gadgets currently solves this problem by allowing multiple content elements and making use of a "view" attribute:

<?xml version="1.0" encoding="UTF-8" ?>
<Module> 
  <ModulePrefs title="Hello World!">
    <Require feature="opensocial-0.7" />
  </ModulePrefs>
  <Content type="html" view="home">
    <![CDATA[
      Hello, small world!
    ]]>  
  </Content>
  <Content type="html" view="canvas"> 
    <![CDATA[
      Hello, big world!
    ]]> 
  </Content>
</Module>

It might be useful to add something similar to widgets 1.0. 
Received on Friday, 27 June 2008 04:08:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:26 GMT