[0.9 Proposal] Initial set of OSML tags

0 views
Skip to first unread message

Evan Gilbert

unread,
Nov 12, 2008, 3:19:02 AM11/12/08
to opensocial-an...@googlegroups.com
(Sorry this is late - the Data Pipelining discussion sidelined this proposal for a couple of days)

This is a proposal for an initial set of OSML tags. These tags came out of discussions on the OpenSocial template discussion list, see earlier work at http://wiki.opensocial-templates.org/index.php?title=OpenSocial_Markup#Template_Tags. Tags are proposed for generating user interface elements: <os:PersonSelector>, <os:UserBadge>, <os:Tabs>, and <os:Name> (a linked name).

Detailed proposal up at: http://wiki.opensocial.org/index.php?title=OSML_Tags

Evan

Chris Chabot

unread,
Nov 12, 2008, 10:58:14 AM11/12/08
to opensocial-an...@googlegroups.com
few minor details:

Seems to be a cut&paste error or missing the rest of the sentence

div if="${jobs[0].Title}">${name}'s job is ${jobs[0].Title}"</div> instead of

also

<?php
foreach ($ViewerFriends as $friend) {
if ($friend.birthday) {
echo "<div>".$friend.name."'s birthday is".$friend.birthday."</div>";
}
}
?>

The class.property construction is invalid in php, that should be $array['hash'] or $object->property

  -- Chris

Chris Chabot

unread,
Nov 12, 2008, 11:03:49 AM11/12/08
to opensocial-an...@googlegroups.com
one last nit-pick:

echo "High score for <os:Name person=\"${Owner}\"> is ".getHighScore($Viewer.id);
s/Viewer/Owner in the getHighScore()

Evan Gilbert

unread,
Nov 12, 2008, 11:26:17 AM11/12/08
to opensocial-an...@googlegroups.com
Thanks, fixed both.

Also, everyone should feel free to make edits to fix obvious errors. For comments and issue discussion, possibly start a new section at the bottom of the page.

Evan Gilbert

unread,
Nov 18, 2008, 12:22:17 AM11/18/08
to opensocial-an...@googlegroups.com
Updated proposal ready for voting at:
http://wiki.opensocial.org/index.php?title=OSML_Tags

Change Log:
11/17/08 - Updated with feedback from OpenSocial 0.9 summit:

  • Added separate <Require> feature for "osml"
  • Added <os:Get> tag to render inline HTML
  • Moved <os:TabSet> to Next Round of Tags, as it wasn't clear that containers were ready to support the processing required for HTML content embedded inside of OSML tags
Evan

Scott Seely

unread,
Nov 24, 2008, 4:02:28 PM11/24/08
to OpenSocial - OpenSocial and Gadgets Specification Discussion
+1

On Nov 17, 9:22 pm, Evan Gilbert <uid...@google.com> wrote:
> Updated proposal ready for voting at:http://wiki.opensocial.org/index.php?title=OSML_Tags
>
> Change Log<http://wiki.opensocial.org/index.php?title=Data_Pipelining#Change_Log>
> :
> 11/17/08 - Updated with feedback from OpenSocial 0.9 summit:
>
>    - Added separate <Require> feature for "osml"
>    - Added <os:Get> tag to render inline HTML
>    - Moved <os:TabSet> to Next Round of Tags, as it wasn't clear that
>    containers were ready to support the processing required for HTML content
>    embedded inside of OSML tags
>
> Evan
>
> On Wed, Nov 12, 2008 at 8:26 AM, Evan Gilbert <uid...@google.com> wrote:
> > Thanks, fixed both.
>
> > Also, everyone should feel free to make edits to fix obvious errors. For
> > comments and issue discussion, possibly start a new section at the bottom of
> > the page.
>
> > On Wed, Nov 12, 2008 at 8:03 AM, Chris Chabot <chab...@google.com> wrote:
>
> >> one last nit-pick:
>
> >> echo "High score for <os:Name person=\"${Owner}\"> is ".getHighScore($Viewer.id);
>
> >> s/Viewer/Owner in the getHighScore()
>
> >> On Wed, Nov 12, 2008 at 7:58 AM, Chris Chabot <chab...@google.com> wrote:
>
> >>> few minor details:
>
> >>> Seems to be a cut&paste error or missing the rest of the sentence
>
> >>> div if="${jobs[0].Title}">${name}'s job is ${jobs[0].Title}"</div>instead of
>
> >>> also
>
> >>> <?php
> >>> foreach ($ViewerFriends as $friend) {
>
> >>>   if ($friend.birthday) {
> >>>     echo "<div>".$friend.name."'s birthday is".$friend.birthday."</div>";
>
> >>>   }
> >>> }
> >>> ?>
>
> >>> The class.property construction is invalid in php, that should be
> >>> $array['hash'] or $object->property
>
> >>>   -- Chris
>
> >>> On Wed, Nov 12, 2008 at 12:19 AM, Evan Gilbert <uid...@google.com>wrote:
>
> >>>> (Sorry this is late - the Data Pipelining discussion sidelined this
> >>>> proposal for a couple of days)
>
> >>>> This is a proposal for an initial set of OSML tags. These tags came out
> >>>> of discussions on the OpenSocial template discussion list, see earlier work
> >>>> at
> >>>>http://wiki.opensocial-templates.org/index.php?title=OpenSocial_Marku....

Lev Epshteyn

unread,
Nov 24, 2008, 4:49:26 PM11/24/08
to opensocial-an...@googlegroups.com
+1

Maxwell Newbould

unread,
Nov 24, 2008, 5:40:58 PM11/24/08
to opensocial-an...@googlegroups.com

+1


From: opensocial-an...@googlegroups.com
To: opensocial-an...@googlegroups.com
Sent: Mon Nov 24 13:49:26 2008
Subject: [opensocial-and-gadgets-spec] Re: [0.9 Proposal] Initial set of OSML tags

Lane LiaBraaten

unread,
Nov 24, 2008, 7:53:10 PM11/24/08
to opensocial-an...@googlegroups.com
+1

Evan Gilbert

unread,
Nov 24, 2008, 8:08:55 PM11/24/08
to opensocial-an...@googlegroups.com
(fyi - I'm +1 as the proposer)

Scott Seely

unread,
Nov 24, 2008, 8:14:04 PM11/24/08
to opensocial-an...@googlegroups.com

This item is accepted. Any -1s, please speak up.

Reply all
Reply to author
Forward
0 new messages