Hi.
I am using a StatusNet account to test a small private microblog that should
be OStatus-enable.
For example, when i put into the Atom feed, something like the following, i
have no problem(the post is replicated into the StatusNet microblog):

*<entry>
  <title>hello</title>
  <link rel="alternate" type="text/html" href="http://example.com/notice123";
/>
  <id>http://example.com/notice123</id>
  <published>2010-11-01T00:38:25+00:00</published>
  <updated>2010-11-01T00:38:25+00:00</updated>
  <content type="html">hello....this is a post.</content>
  <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  <activity:object-type>http://activitystrea.ms/schema/1.0/note
</activity:object-type>
</entry>*

But, when i try to code the "social event": --> User X posts a photo,
resulting in the following piece of Atom feed, it is NOT replicated into the
StatusNet microblog:

*<entry>
  <title>Look to new my photo</title>
  <link rel="alternate" type="text/html" href="http://example.com/notice123
"/>
  <id>http://example.com/notice123</id>
  <published>2010-11-01T00:38:41+00:00</published>
  <updated>2010-11-01T00:38:41+00:00</updated>
  <content type="html">Look to new my photo</content>
  <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
  <activity:object>
     <activity:object-type>http://activitystrea.ms/schema/1.0/photo
</activity:object-type>
     <id>http://example.com/cXxDmXaio1Wse4OjdOyH7gWgaKiOhR_10-30+1.png</id>
     <published>2010-11-01T00:38:41+00:00</published>
     <link rel="alternate" type="text/html" href="
http://example.com/notice123"; />
     <link rel="preview" type="image/png" href="
http://example.com/cXxDmXaio1Wse4OjdOyH7gWgaKiOhR_10-30+1.png"; />
     <link rel="enclosure" href="
http://example.com/cXxDmXaio1Wse4OjdOyH7gWgaKiOhR_10-30+1.png";
type="image/png" length="177279"/>
  </activity:object>
</entry>*

I don't understand why it isn't parsified and showed up in the correct way.
It SEEMS to be compliant with the ActivityStreams spec.
--
Politecnico di Torino
Andrea Messina
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to