[twitter-meta] The Activity Streams specification

0 views
Skip to first unread message

harrisj

unread,
Apr 27, 2010, 5:30:44 PM4/27/10
to twitter-meta
One other schema that seems like it might work with annotations (but
directly goes up against Open Social Graph)
http://activitystrea.ms/

Here's an ATOM example for posting a photo...

<entry>
<id>tag:photopanic.example.com,2008:activity01</id>
<title>Geraldine posted a Photo on PhotoPanic</title>
<published>2008-11-02T15:29:00Z</published>
<link rel="alternate" type="text/html"
href="http://example.com/geraldine/activities/1" />
<activity:verb>
http://activitystrea.ms/schema/1.0/post
</activity:verb>
<activity:object>
<id>tag:photopanic.example.com,2008:photo01</id>
<title>My Cat</title>
<published>2008-11-02T15:29:00Z</published>
<link rel="alternate" type="text/html"
href="http://example.com/geraldine/photos/1" />
<activity:object-type>
tag:atomactivity.example.com,2008:photo
</activity:object-type>
<source>
<title>Geraldine's Photos</title>
<link rel="self" type="application/atom+xml"
href="http://example.com/geraldine/photofeed.xml" />
<link rel="alternate" type="text/html"
href="http://example.com/geraldine/" />
</source>
</activity:object>
<content type="html">
&lt;p&gt;Geraldine posted a Photo on PhotoPanic&lt;/p&gt;
&lt;img src="/geraldine/photo1.jpg"&gt;
</content>
</entry>
Reply all
Reply to author
Forward
0 new messages