Events in real time stream

3 views
Skip to first unread message

Dave Cracknell

unread,
Dec 22, 2009, 6:25:59 PM12/22/09
to MySpace APIs
I assume that events can show up in the real time stream is that
correct? If so, the Atom Activity Base Schema document defines the
following properties for an event object type:
name
start date and time
end date and time
summary

What about the location for the event?

Monica Keller

unread,
Dec 22, 2009, 8:27:41 PM12/22/09
to MySpace APIs
Hi Dave this is documented here.

http://wiki.developer.myspace.com/index.php?title=ActivityStream_Events


We use the xcal extensions thanks for the reminder. If a location is
published we add it using this format
We did this prior to implementing geo. We could also add geo here. LMK

<vevent xmlns="urn:ietf:params:xml:ns:xcal">
<uid>tag:myspace.com,2009:/Bandshow/38538527/38538527</uid>
<summary>beverly hills</summary>
<dtStart>2009-07-01T03:00:00Z</dtStart>
<location>407 N Maple Dr, beverly hills, 91607, US</location>
</vevent>

Dave Cracknell

unread,
Dec 22, 2009, 8:51:56 PM12/22/09
to MySpace APIs
Monica,
Thanks for the quick reply. The xCal spec supports many iCalendar
attributes, is it safe to assume that we only need to handle the
following subset:
uid
summary
dtStart
dtEnd
location
geo

Thanks,
Dave

> > What about the location for the event?- Hide quoted text -
>
> - Show quoted text -

Dave Cracknell

unread,
Dec 22, 2009, 9:31:04 PM12/22/09
to MySpace APIs
Monica,
One more question. I am neophyte when it comes to geo coordinates and
so this may be a dumb question, if it is, apologies up front. I was
looking at the MySpace wiki documentation for ActivityStreams_Public
where it documents the use of the geo coordinates according to the
spec at http://www.georss.org/georss. In the georss spec a point is
defined as <georss:point> latitude longitude </georss;point> whereas
the MySpace documentation uses <geo:point> latitude longitude </
geo:point>. Is the MySpace documentation in error or are you actually
using <geo:point>?

Dave

On Dec 22, 5:27 pm, Monica Keller <monica.kel...@gmail.com> wrote:

Monica Keller

unread,
Dec 22, 2009, 10:34:00 PM12/22/09
to myspac...@googlegroups.com, MySpace APIs
Yea we will announce here if we start publishing more properties.

Monica

On Dec 22, 2009, at 5:51 PM, Dave Cracknell <groov...@gmail.com>
wrote:

Monica Keller

unread,
Dec 22, 2009, 11:45:16 PM12/22/09
to MySpace APIs
Oh hey David and you can use any prefix you want for namespaces. We
used geo but could have used georss so long as we declared that at the
top
See http://www.w3schools.com/XML/xml_namespaces.asp

Its just a shorthand for the full namespace so you dont have to repeat
it.

Hopefully you can use a library to parse xml which supports reading
namespaces

Let me know if I misunderstood the question and thanks for the careful
analysis of our activitystrea.ms implementation

On Dec 22, 6:31 pm, Dave Cracknell <groovyco...@gmail.com> wrote:
> Monica,
> One more question.  I am neophyte when it comes to geo coordinates and
> so this may be a dumb question, if it is, apologies up front.  I was
> looking at the MySpace wiki documentation for ActivityStreams_Public
> where it documents the use of the geo coordinates according to the

> spec athttp://www.georss.org/georss.  In the georss spec a point is

> > - Show quoted text -- Hide quoted text -

Reply all
Reply to author
Forward
0 new messages