I'd like to see the following added to the next opnesocial spec:
A new field for Person named PRESENCE, defined as an Enum
ONLINE "Online"
OFFLINE "Offline"
DND "Do Not Disturb"
Patches to shindig are available for
socialdata servlet
opensocial-0.7 jsonperson.js
etc.
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com
On Fri, Mar 28, 2008 at 11:01 PM, Kevin Brown <et...@google.com> wrote:
> I like this idea, but I'd also like to eventually make opensocial work with
> XMPP to support real time communication between users as a standard feature,
> which would make some of this redundant. I know a lot of people have had
> ideas around this, but it's never really gone anywhere so far.
Maybe this is a good point to pop up and plug the new 'social' list
set up recently, soc...@xmpp.org,
details here: http://mail.jabber.org/mailman/listinfo/social
List blurb: The mashup of Web and Jabber! OpenID, OAuth, buddy lists
beyond IM, XMPP pubsub instead of HTTP polling, etc.
See also the http://mail.jabber.org/mailman/listinfo/api list which as
I understand it from
http://mail.jabber.org/pipermail/api/2008-February/000001.html is
focussed on .js APIs for XMPP in widgety contexts (and therefore a bit
more tightly scoped than the social@ list).
cheers,
Dan
Some comments.
- IM systems tend to have at least 5 or 6 possible online presence
values
- There's a trend towards rich presence that includes quite a bit more
than just online status
- Does Presence also include current location?
- How about preferred current communication method. eg Phone, SMS, IM,
- Most every social network now has a Twitter-like Status field, just as
most IM systems have a status message or mood.
- Some of this stuff begins to look like a life-stream once you add in
things like currently listening to.
- Then there's near future status. I'm currently here, doing this,
online. This evening I'll be there, doing that, on SMS only.
--
Julian Bond E&MSN: julian_bond at voidstar.com M: +44 (0)77 5907 2173
Webmaster: http://www.ecademy.com/ T: +44 (0)192 0412 433
Personal WebLog: http://www.voidstar.com/ skype:julian.bond?chat
Always Replace The Cap
Paul Lindner <plin...@hi5.com> Fri, 28 Mar 2008 16:24:38
Some comments.
- IM systems tend to have at least 5 or 6 possible online presence
values
- There's a trend towards rich presence that includes quite a bit more
than just online status
- Does Presence also include current location?
- How about preferred current communication method. eg Phone, SMS, IM,
- Most every social network now has a Twitter-like Status field, just as
most IM systems have a status message or mood.
- Some of this stuff begins to look like a life-stream once you add in
things like currently listening to.
- Then there's near future status. I'm currently here, doing this,
online. This evening I'll be there, doing that, on SMS only.
--
Julian Bond E&MSN: julian_bond at voidstar.com M: +44 (0)77 5907 2173
Webmaster: http://www.ecademy.com/ T: +44 (0)192 0412 433
Personal WebLog: http://www.voidstar.com/ skype:julian.bond?chat
Always Replace The Cap
I'll confess to trying to think of every possible complication. ;)
Perhaps the most significant one is the Twitter-Like Status or IM Mood.
Does this need to be handled separately? Or is just part of presence?
There's something a bit odd here that Orkut and other Google properties
don't have this property apart from a simple one in GTalk.
--
Julian Bond E&MSN: julian_bond at voidstar.com M: +44 (0)77 5907 2173
Webmaster: http://www.ecademy.com/ T: +44 (0)192 0412 433
Personal WebLog: http://www.voidstar.com/ skype:julian.bond?chat
Bottled At Source
Either proposal meets our needs. #2 seems the simpler option and
corresponds to hi5's current implementation.
> On Mon, Mar 31, 2008 at 9:03 AM, Julian Bond <julia...@voidstar.com>
> wrote:
>
> >
> > Kevin Brown <et...@google.com> Sun, 30 Mar 2008 16:23:00
> > >This could always just be an object with numerous properties, as in:
> > >
> > >presence: {
> > > status: "online",
> > > statusMessage: "I'm not home right now...",
> > > ...other fields...
> > >}
> > >Easily maps in the REST API as well.
> >
> > I'll confess to trying to think of every possible complication. ;)
> > Perhaps the most significant one is the Twitter-Like Status or IM Mood.
> > Does this need to be handled separately? Or is just part of presence?
> > There's something a bit odd here that Orkut and other Google properties
> > don't have this property apart from a simple one in GTalk.
> >
> >
> > >
> >
>
> You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
> To post to this group, send email to opensocial-an...@googlegroups.com
> To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com
/**
* @static
* @class
* The enum keys used by the presence field.
* <p><b>See also:</b>
* <a href="opensocial.Person.Field.html">
* opensocial.Person.Field.Presence</a>
* </p>
*
* @name opensocial.Enum.Presence
*/
opensocial.Enum.Presence = {
/**
* The entity or resource is off line.
* @member opensocial.Enum.Presence
*/
OFFLINE : 'OFFLINE',
/**
* The entity or resource is on line.
* @member opensocial.Enum.Presence
*/
ONLINE : 'ONLINE',
/**
* The entity or resource is temporarily away.
* @member opensocial.Enum.Presence
*/
AWAY : 'AWAY',
/**
* The entity or resource is actively interested in chatting.
* @member opensocial.Enum.Presence
*/
CHAT : 'CHAT',
/**
* The entity or resource is busy (dnd = "Do Not Disturb").
* @member opensocial.Enum.Presence
*/
DND : 'DND',
/**
* The entity or resource is away for an extended period
* (xa = "eXtended Away").
* @member opensocial.Enum.Presence
*/
XA : 'XA'
};
/**
* Person's current online status. Specified as an Enum with the enum's
* key referencing opensocial.Enum.Presence.
* Not supported by all containers.
*
* @member opensocial.Person.Field
*/
PRESENCE : 'presence',
+1
Considering that not every social network is a chat application, I
would suggest option 1 and leave it up to the container how many
fields he can expose.
I'm confortable with Online - Offline. But the DND, Away, Chat seems
rather IM specific what you might not want to impose on all social
networks.
Other sites could then use opensocial.Environment.supportsField() to
add their own extensions to this enum?
Guess I don't understand your opposition, Myspace could easily only
use ONLINE/OFFLINE and ignore the other enum values. Is it that you
don't want to reimplement for 0.8?
I was not considering this proposal in terms of enabling chat type features. Could we consider a separate enum/field for online chat presence as opposed to network online presence?
If not, we’re fine w/ a union if others find values in a more verbose list of values.
~Paul
From: Cassie
[mailto:do...@google.com]
Sent: Tuesday, April 29, 2008 7:55 AM
To: opensocial-an...@googlegroups.com; Paul Walker
Subject: Re: Online PRESENCE Proposal
+ paul so he can comment
> If not, we're fine w/ a union if others find values in a more verbose
> list of values.
The proposal is for Network Presence, not Chat Presence. I'd like the
extra fields because:
* We want to use more descriptive idle/offline
* I'd like to use the same enum for chat at some point. Aligning
with the fixed status modes from XMPP seems ideal.
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com
So, I will zero out my -1 w/ a +1. :-)
-----Original Message-----
From: opensocial-an...@googlegroups.com
[mailto:opensocial-an...@googlegroups.com] On Behalf Of Paul
Lindner
Sent: Wednesday, April 30, 2008 11:59 AM
To: opensocial-an...@googlegroups.com
Cc: Cassie
Subject: Re: Online PRESENCE Proposal
On Wed, Apr 30, 2008 at 04:02:39PM -0700, Paul Walker wrote:
>
> K, from the developer's perspective I'd prefer to see a separate enum
> for chat presence than for site presence, but I'm ok with returning not
> implemented for the chat specific value....
>
> So, I will zero out my -1 w/ a +1. :-)
>