Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > OpenSocial and Gadgets Specification Discussion > Proposal: Modify tags allowed in Activity Stream templates
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Evan Gilbert  
View profile  
 More options Apr 18 2008, 3:21 pm
From: Evan Gilbert <uid...@google.com>
Date: Fri, 18 Apr 2008 12:21:36 -0700
Local: Fri, Apr 18 2008 3:21 pm
Subject: Proposal: Modify tags allowed in Activity Stream templates

Current set is {<b>, <i>, <a>, <span>}, container is not obligated to
respect any of these tags. Proposal is to add <em> for both title and body
and add <br> and <p> for body.

Also want to clarify the requirements around supporting these HTML tags.
Currently says that the container "has the option to strip out these [HTML]
tags", should change to "has the option to strip out these tags or
attributes of these tags".

Evan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik  
View profile  
 More options Apr 18 2008, 4:25 pm
From: "Arne Roomann-Kurrik" <kur...@google.com>
Date: Fri, 18 Apr 2008 13:25:39 -0700
Local: Fri, Apr 18 2008 4:25 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

Many browsers render <em> and <i> identically- the motivation to use em over
i would be to improve the semantic markup of the content.  I support adding
<em> but feel that we should also include <strong> for the same reason.

~Arne

On Fri, Apr 18, 2008 at 12:21 PM, Evan Gilbert <uid...@google.com> wrote:
> Current set is {<b>, <i>, <a>, <span>}, container is not obligated to
> respect any of these tags. Proposal is to add <em> for both title and body
> and add <br> and <p> for body.

> Also want to clarify the requirements around supporting these HTML tags.
> Currently says that the container "has the option to strip out these [HTML]
> tags", should change to "has the option to strip out these tags or
> attributes of these tags".

> Evan

--
OpenSocial IRC - irc://irc.freenode.net/opensocial

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Evan Gilbert  
View profile  
 More options Apr 18 2008, 5:49 pm
From: Evan Gilbert <uid...@google.com>
Date: Fri, 18 Apr 2008 14:49:54 -0700
Local: Fri, Apr 18 2008 5:49 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

This makes sense. + <strong> to the proposal.

On Fri, Apr 18, 2008 at 1:25 PM, Arne Roomann-Kurrik <kur...@google.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Amar Gandhi  
View profile  
 More options Apr 18 2008, 6:09 pm
From: "Amar Gandhi" <am...@google.com>
Date: Fri, 18 Apr 2008 15:09:42 -0700
Local: Fri, Apr 18 2008 6:09 pm
Subject: RE: Proposal: Modify tags allowed in Activity Stream templates

imo, titles are like email subjects and should be text only - no formatting.

  _____  

From: opensocial-and-gadgets-spec@googlegroups.com
[mailto:opensocial-and-gadgets-spec@googlegroups.com] On Behalf Of Evan
Gilbert
Sent: Friday, April 18, 2008 12:22 PM
To: opensocial-and-gadgets-spec@googlegroups.com
Subject: Proposal: Modify tags allowed in Activity Stream templates

Current set is {<b>, <i>, <a>, <span>}, container is not obligated to
respect any of these tags. Proposal is to add <em> for both title and body
and add <br> and <p> for body.

Also want to clarify the requirements around supporting these HTML tags.
Currently says that the container "has the option to strip out these [HTML]
tags", should change to "has the option to strip out these tags or
attributes of these tags".

Evan


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco  
View profile  
 More options Apr 21 2008, 1:35 pm
From: Marco <ens...@gmail.com>
Date: Mon, 21 Apr 2008 10:35:47 -0700 (PDT)
Local: Mon, Apr 21 2008 1:35 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates
We should remove the <span> attribute. Especially if the container
want to strip the style attribute to enforce a container enforced look
and feel.
Is there any good use case for the <span> ?

On Apr 18, 3:09 pm, "Amar Gandhi" <am...@google.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Evan Gilbert  
View profile  
 More options Apr 22 2008, 10:51 am
From: Evan Gilbert <uid...@google.com>
Date: Tue, 22 Apr 2008 07:51:32 -0700
Local: Tues, Apr 22 2008 10:51 am
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

The use case I was thinking for <span> was <span style="font-color: teal">,
for the containers that might want to allow custom styling in activities.
However, unless any container thinks this is useful we should probably take
it out of titles.

So, updated proposal is to add <em> for both title and body, <br> and <p>
for body, and remove <span> for title.

To Amar's point about text only - containers have the option to strip any
style. <a> tags are probably the only tag that are likely to show up in most
containers, and even these might be limited to links to the current site.
However I think it is useful to allow for <b> and similar hints if the
container might find them useful.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reinoud Elhorst  
View profile  
 More options Apr 22 2008, 11:05 am
From: "Reinoud Elhorst" <rein...@hyves.nl>
Date: Tue, 22 Apr 2008 17:05:53 +0200
Local: Tues, Apr 22 2008 11:05 am
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

I might want to add some difficulty to this discussion. I actually planned
to hold any discussion on this issue until I had thought about it a little
longer, and propose it for 0.9, but I just want to mention it.

At Hyves we have always supported our own markup language, using ubb-like
codes ([b] [i]), and custom smilies.
Now obviously this is not a problem for the gadget developer, except that
quite some users use these tags in their nicknames, and nicknames are the
primary display name for Hyves users.

As I said, we're still thinking on how to implement this correctly into
OpenSocial (and I don't want to hijack this thread by starting that
discussion), however I just wanted to mention it.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google)  
View profile  
 More options Apr 24 2008, 7:03 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Thu, 24 Apr 2008 16:03:58 -0700 (PDT)
Local: Thurs, Apr 24 2008 7:03 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates
+1 for the proposal to add <em> (and <strong>!) for both title and
body, <br> and <p>
for body, and remove <span> for title.

Reinoud, would it be possible for Hyves to rewrite these tags into
their HTML equivalents when rendering an activity stream entry?

~Arne

On Apr 22, 8:05 am, "Reinoud Elhorst" <rein...@hyves.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cassie  
View profile  
 More options Apr 28 2008, 4:45 pm
From: Cassie <d...@google.com>
Date: Mon, 28 Apr 2008 22:45:01 +0200
Local: Mon, Apr 28 2008 4:45 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

Reinoud - just wanted to clarify your thoughts on this proposal. Was your
comment a +1 or -1?
Everyone else - we just need a couple more opinions for this simple change
:)

Thanks.
- Cassie

On Fri, Apr 25, 2008 at 1:03 AM, Arne Roomann-Kurrik (Google) <


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reinoud Elhorst  
View profile  
 More options Apr 28 2008, 6:02 pm
From: "Reinoud Elhorst" <rein...@hyves.nl>
Date: Tue, 29 Apr 2008 00:02:25 +0200
Local: Mon, Apr 28 2008 6:02 pm
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

I suppose it's a +0 from me, I just wanted to share our markup problems that
we're probably going to shre seriously for the 0.9 spec.

Honestly, I don't really care. It seems that <em> and <strong> are logical,
although unnecessary additions (since <i> and <b> will do the same job, and
take less space in the database).

At Hyves we don't have a activity stream body. We do have some places where
we don't allow newlines in user generated content; I can see how containers
would not want newlines at some places. Containers are free to strip out
newlines though. In this case I would think that <br> is a useful addition,
<p> seems less so, since most people use it as an alias for <br> anyways.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
d...@google.com  
View profile  
 More options Apr 29 2008, 11:01 am
From: d...@google.com
Date: Tue, 29 Apr 2008 17:01:14 +0200
Local: Tues, Apr 29 2008 11:01 am
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates
Okay, so why don't we just do the same thing that we did with the
title and body fields on message objects. ie we rephrase all this
tagging stuff to just say this:

"HTML attributes are allowed and but may be sanitized or stripped by
the container."

(I don't think its likely all containers will ever agree before I have
to close 0.8 on which styles are fine or not fine :)

Thanks.
- Cassie

On 4/29/08, Reinoud Elhorst <rein...@hyves.nl> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cassie  
View profile  
 More options Apr 30 2008, 9:43 am
From: Cassie <d...@google.com>
Date: Wed, 30 Apr 2008 15:43:24 +0200
Local: Wed, Apr 30 2008 9:43 am
Subject: Re: Proposal: Modify tags allowed in Activity Stream templates

Due to lack of feedback and positive consensus I'd like to close this thread
for 0.8.
Don't worry though, we can still address this in 0.9

Thanks.
- Cassie


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google