The below brainstorm and examples are for the general genre of wishlists and gift registries.
Potential verbs
Potential objects
Use Case: Adding an item to a Wishlist
- <activity:verb> = save
- <activity:object-type> = product
- <activity:target> = list
Example: Anna Apple added Monopoly to My Wishlist on Amazon.com
Use Case: Adding an item to a Registry
- <activity:verb> = save
- <activity:object-type> = product
- <activity:target> = list
Example: Bob Bacon added MixMaster 4000 Super Blender and Smoothie Maker to Wedding Registry on Target.com
Potential Object Representations: Product
Below are potential child elements of an <activity:object> representing a wishlist
- <id> = Unique ID for that product
- <title> = Name of product
- <link rel="alternate" type="text/html" href="<URL_to_page_for_product>" ... />
- <link rel="preview" type="image/jpg" href="<URL_to_thumbnail_product_image>" ... />
- (optional) <link rel="enclosure" type="image/jpg" href="<URL_to_full-sized_product_image>" .../>
- (optional) <summary> = Short description of the product
- (optional) <content> = Extended description of the product
Potential Object Representations: List
Below are potential child elements of an <activity:object> representing a list
- <id> = Unique ID for that list
- <title> = Name of list
- <link rel="alternate" type="text/html" href="<URL_to_page_for_list>" ... />
- (optional) <link rel="preview" type="image/jpg" href="<URL_to_thumbnail_list_image>" ... />
- (optional) <link rel="enclosure" type="image/jpg" href="<URL_to_full-sized_list_image>" .../>
- (optional) <summary> = Short description of the game
- (optional) <content> = Extended description of the game
Code Example for Adding an item to a Wishlist
<entry>
<id>, <link>, <title>. <summary>, <content>, <published>, <author>, etc.
<activity:verb>http://activitystrea.ms/schema/1.0/save</activity:verb>
<activity:object>
<activity:object-type>http://activitystrea.ms/.../product</activity:object-type>
<title>{Product Name}</title>
<link rel="preview" type="image/jpeg" href="{URL to product thumbnail image}" />
<link rel="alternate" type="text/html" href="{URL to product page}" />
</activity:object>
<activity:target>
<activity:object-type>http://activitystrea.ms/.../list</activity:object-type>
<title>{List Title}</title>
<link rel="preview" type="image/jpeg" href="{URL to list thumbnail image}" />
<link rel="alternate" type="text/html" href="{URL to list webpage}" />
...
</activity:target>
...
</entry>
Comparison with Photo Album Construction
This wishlist proposal was modeled after the photo-album construction in the spec. Here is a comparison of the two formats:

Wishlists and Registries on the Web
Some popular sites that offer Wishlists and Registries
Comments (0)
You don't have permission to comment on this page.