You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Randy Hudson (JIRA)" <ji...@apache.org> on 2009/10/06 17:17:34 UTC
[jira] Created: (SHINDIG-1187) Gadget Spec - Rendering must support
multiple content sections
Gadget Spec - Rendering must support multiple content sections
--------------------------------------------------------------
Key: SHINDIG-1187
URL: https://issues.apache.org/jira/browse/SHINDIG-1187
Project: Shindig
Issue Type: Bug
Components: Java
Affects Versions: 1.1-BETA3
Reporter: Randy Hudson
Priority: Critical
If gadget XML contains:
<Content type="html" view="home">
<![CDATA[
<p>Why don't I show up?</p>
]]>
</Content>
<Content type="html" href="/some/more/html/content" view="home"/>
Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SHINDIG-1187) Gadget Spec - Rendering must
support multiple content sections
Posted by "Randy Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763795#action_12763795 ]
Randy Hudson commented on SHINDIG-1187:
---------------------------------------
Just to point out more issues in the spec, the next sentence reads:
"the set of view names on <Content> blocks with @href set to a non-null, non-empty string MUST be unique within the Gadget XML"
The set of view names on each of these two content blocks is unique:
<Content type="url" href="/some/more/html/content1" view="home, foo"/>
<Content type="url" href="/some/more/html/content2" view="home, bar"/>
So that's valid? But then view="home" would require concatenation.
> Gadget Spec - Rendering must support multiple content sections
> --------------------------------------------------------------
>
> Key: SHINDIG-1187
> URL: https://issues.apache.org/jira/browse/SHINDIG-1187
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.1-BETA3
> Reporter: Randy Hudson
> Priority: Critical
>
> If gadget XML contains:
> <Content type="html" view="home">
> <![CDATA[
> <p>Why don't I show up?</p>
> ]]>
> </Content>
> <Content type="html" href="/some/more/html/content" view="home"/>
> Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SHINDIG-1187) Gadget Spec - Rendering must
support multiple content sections
Posted by "Randy Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randy Hudson reopened SHINDIG-1187:
-----------------------------------
The person who wrote that statement incorrectly assumed that having an href attribute implied type="url".
> Gadget Spec - Rendering must support multiple content sections
> --------------------------------------------------------------
>
> Key: SHINDIG-1187
> URL: https://issues.apache.org/jira/browse/SHINDIG-1187
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.1-BETA3
> Reporter: Randy Hudson
> Priority: Critical
>
> If gadget XML contains:
> <Content type="html" view="home">
> <![CDATA[
> <p>Why don't I show up?</p>
> ]]>
> </Content>
> <Content type="html" href="/some/more/html/content" view="home"/>
> Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (SHINDIG-1187) Gadget Spec - Rendering must support
multiple content sections
Posted by "Adam Winer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Winer closed SHINDIG-1187.
-------------------------------
Resolution: Invalid
Per 2b. in section 3.1.3 of the OpenSocial 0.9 gadget spec (http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/Gadgets-API-Specification.html#ProxiedContent)
"Concatenation does not happen when the @href is set on a <Content> block"
> Gadget Spec - Rendering must support multiple content sections
> --------------------------------------------------------------
>
> Key: SHINDIG-1187
> URL: https://issues.apache.org/jira/browse/SHINDIG-1187
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.1-BETA3
> Reporter: Randy Hudson
> Priority: Critical
>
> If gadget XML contains:
> <Content type="html" view="home">
> <![CDATA[
> <p>Why don't I show up?</p>
> ]]>
> </Content>
> <Content type="html" href="/some/more/html/content" view="home"/>
> Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (SHINDIG-1187) Gadget Spec - Rendering
must support multiple content sections
Posted by "Randy Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763790#action_12763790 ]
Randy Hudson edited comment on SHINDIG-1187 at 10/8/09 8:16 PM:
----------------------------------------------------------------
The person who worded that section probably incorrectly assumed that having an href attribute implied type="url". Take a look at:
http://wiki.opensocial.org/index.php?title=Gadgets_XML_Reference&oldid=2817#Content_Section
Where it says that the href attribute is not allowed for content types other than "url". I recently corrected this (http://wiki.opensocial.org/index.php?title=Gadgets_XML_Reference&diff=3450&oldid=2817) as it makes sense not to force people to inline HTML.
Here's another link which to me seems to capture the rationale behind the limitation:
http://code.google.com/apis/gadgets/docs/fundamentals.html#URL
The limitation makes sense when the entire rendering process has been "out-sourced". But for type="html", I don't see any fundamental difference between inlined HTML and HTML that is referenced. Except of course that editing standalone HTML is much easier and allows for possible reuse.
was (Author: randy.hudson):
The person who wrote that statement incorrectly assumed that having an href attribute implied type="url".
Here's a link that to me seems to capture the rationale behind the limitation that is poorly described in the spec:
http://code.google.com/apis/gadgets/docs/fundamentals.html#URL
It seems to make sense for type="url" content. For type="html", I don't see any fundamental difference between inlined HTML and HTML that is referenced. Except of course that editing standalone HTML is much easier and allows for possible reuse.
> Gadget Spec - Rendering must support multiple content sections
> --------------------------------------------------------------
>
> Key: SHINDIG-1187
> URL: https://issues.apache.org/jira/browse/SHINDIG-1187
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.1-BETA3
> Reporter: Randy Hudson
> Priority: Critical
>
> If gadget XML contains:
> <Content type="html" view="home">
> <![CDATA[
> <p>Why don't I show up?</p>
> ]]>
> </Content>
> <Content type="html" href="/some/more/html/content" view="home"/>
> Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (SHINDIG-1187) Gadget Spec - Rendering
must support multiple content sections
Posted by "Randy Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12763790#action_12763790 ]
Randy Hudson edited comment on SHINDIG-1187 at 10/8/09 8:07 PM:
----------------------------------------------------------------
The person who wrote that statement incorrectly assumed that having an href attribute implied type="url".
Here's a link that to me seems to capture the rationale behind the limitation that is poorly described in the spec:
http://code.google.com/apis/gadgets/docs/fundamentals.html#URL
It seems to make sense for type="url" content. For type="html", I don't see any fundamental difference between inlined HTML and HTML that is referenced. Except of course that editing standalone HTML is much easier and allows for possible reuse.
was (Author: randy.hudson):
The person who wrote that statement incorrectly assumed that having an href attribute implied type="url".
> Gadget Spec - Rendering must support multiple content sections
> --------------------------------------------------------------
>
> Key: SHINDIG-1187
> URL: https://issues.apache.org/jira/browse/SHINDIG-1187
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 1.1-BETA3
> Reporter: Randy Hudson
> Priority: Critical
>
> If gadget XML contains:
> <Content type="html" view="home">
> <![CDATA[
> <p>Why don't I show up?</p>
> ]]>
> </Content>
> <Content type="html" href="/some/more/html/content" view="home"/>
> Only the second content shows up in the rendered gadget. Both sections should show up. The restriction related to limits on content with hrefs only applies for type="url" content.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.