• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

FAQ

This version was saved 13 years, 8 months ago View current version     Page history
Saved by Tantek
on July 20, 2010 at 7:27:37 pm
 

Frequently Asked Questions

 

Complete Activity Streams Atom example

Q: Where is a complete Activity Streams Atom example?

A: 

 

Adding Activity Streams to an existing Atom feed

Q: How do I add Activity Streams support to my existing valid Atom feed?

 

A: Simply adding an object-type element in the Activity Streams namespace will do the trick.

 

1. Update your entry elements.

 

You're probably posting one particular type of entry to your feed.

 

<entry>
  ...
</entry> 

 

If your entries are blog posts, use the Article object type:

http://activitystrea.ms/schema/1.0/article

If your entries are short updates, text notes like tweets, use the Note object type:

http://activitystrea.ms/schema/1.0/note

And add an <object-type xmlns:activity="http://activitystrea.ms/spec/1.0/"> element with the object type URL inside to each entry like this:

 

<entry>
  ...
  <object-type xmlns:activity="http://activitystrea.ms/spec/1.0/">
    http://activitystrea.ms/schema/1.0/note
 </object-type>
</entry>

 

3. There is no step 3. You're done. You have a simple activity stream now.

 

 

Validating Activity Streams Atom

Q: How do I validate my Activity Streams Atom?

A: 

 

 


Return to FrontPage

Comments (0)

You don't have permission to comment on this page.