Multiple content tags in Open Social applications

<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs title="Another Multiple Views Example">
    <Require feature="opensocial-0.8"/>
  </ModulePrefs>
  <Content type="html" view="home"><![CDATA[
<h1>Home</h1>
]]></Content>
  <Content type="html" view="profile"><![CDATA[
<h1>Profile</h1>
]]></Content>
  <Content type="html" view="canvas"><![CDATA[
<h1>Canvas</h1>
]]></Content>
  <Content type="html" view="canvas,profile"><![CDATA[
I am in both the canvas and profile view but, NOT in the home view.
]]></Content>
  <Content type="html"><![CDATA[
I am in any view that is not specified. (the preview view)
]]></Content>
</Module>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.