Subscribe to our RSS Feeds

Welcome to Home of Microsoft Updates and News!

Do you want all updates from Microsoft, MSN, and Windows? this is your blog. We gathered all posts from original sources for you in one place!

ENGINEERING THE WINDOWS LIVE / MYSPACE INTEGRATION AND LEVERAGING ACTIVITY STREAMS

Add comments

My name is Rob Dolin, we work as an operative upon a Windows Live Social group as well as I’m respected to have a eventuality to guest blog here during http://dev.live.com/ about a singular of a ultimate (and IMHO many exciting) features, a formation with a singular of a world’s largest amicable networks, MySpace.

We usually voiced upon a Windows Live Team blog, starting a week of September 14th, you can supplement a MySpace “Web Activity” to Windows Live so which we can move your activities upon MySpace similar to posting photos, updating status, pity music, or blogging in to Windows Live. Heck, if we have a MySpace comment (and hundreds of millions of people already do) we can try it right now:

http://profile.live.com/WebActivities/add.aspx?AppID=1140860417

(link will open in a brand brand brand brand brand brand new window)

About Web Activities

With today’s ultimate partner integrations upon Windows Live, we’ll have over fifty web activities which Windows Live business can supplement in to their Windows Live experience. (To sense some-more about all a Windows Live partners, check out a Windows Live Team blog). Nearly all of a web activities occupy a polling indication where a patron enters a little simple report about their participation upon a website as well as afterwards Windows Live intermittently polls an XML feed of a customer’s wake up upon which site. In a past, this feed has been in RSS 2.0 or Atom as well as afterwards for any partner, we have a law XSLT which maps a elements from a customer’s feed to a interpretation attributes in Windows Live’s system. For example, yesterday, we was out to cooking with my partner as well as we posted a next tweet:

(from: http://twitter.com/robdolin)

clip_image002

Since we have already set up a Windows Live web wake up for Twitter, my chatter feed, Windows Live can go as well as review my chatter feed (http://twitter.com/statuses/user_timeline/4044361.rss):

<item> 
     <title>robdolin: @ Capital Grille ! New tumble prix fixe menu was good value; H pronounced she would steal a lorry for a truffle mac &amp; cheese #seattle #food</title>

     <description>robdolin: @ Capital Grille ! New tumble prix fixe menu was good value; H pronounced she would steal a lorry for a truffle mac &amp; cheese #seattle #food</description>

     <pubDate>Thu, 10 September 2009 03:31:14 +0000</pubDate>

     <guid>http://twitter.com/robdolin/statuses/3879866454</guid>

     <link>http://twitter.com/robdolin/statuses/3879866454</link>

</item>

And afterwards tell a refurbish upon my interest to my Windows Live profile:

(from: http://cid-3c8ca60f8f925fec.profile.live.com/)

clip_image004

My friends who make make use of of Windows Live afterwards see my refurbish from a Twitter web wake up in a following places:

· When they make make use of of Windows Live Messenger

· When a login to http://home.live.com/

· When they send me email from Hotmail

· When they revisit my Windows Live Profile

Challenges with Web Activities

There have been dual large hurdles with this simple polling indication of RSS 2.0 or Atom:

1. We need to rise a law mapping for any partner

2. Each partner needs to have usually a singular wake up sort or they need a approach to promulgate what sort of wake up any RSS 2.0 <item> or Atom <entry> is.

The rising Activity Streams open customary comes in to assistance compromise both of these problems.

How Activity Streams Helps

Activity Streams helps to residence both of a upon top of issues. First, instead of carrying to do a law mapping for most each Web Activities partner, with an open customary similar to Activity Streams, we can build a singular mapping which can be used by mixed partners.

Second, Activity Streams includes <activity:verb> as well as <activity:object-type> elements so we can brand which a singular <entry> is a standing refurbish as well as an additional is a blog entry. Thus, services which have mixed wake up sorts (like MySpace) can have a singular feed which includes photos, status, blogs, music, as well as more.

MySpace Example

Let me uncover we an e.g. with MySpace.

On MySpace, I’ve left as well as uploaded a little photos as well as created a blog entry. You can see these upon my MySpace profile:

(from: http://www.myspace.com/tesstingms)

clip_image006

If we sanction it, MySpace will share an XML feed of my activities which uses a Activity Streams elements:

<entry>

        <id>tag:myspace.com,2009:/activity/473185983/BlogAdd/473185983/509685053</id>

        <title type=”text”>Tess Ting posted a brand brand brand brand brand brand new blog entry: My Thoughts upon a Health Care Debate</title>

        <published>2009-09-11T14:54:33Z</published>

        <updated>2009-09-11T14:54:33Z</updated>

        <author>

            <name>Tess Ting</name>

            <uri>http://www.myspace.com/tesstingms</uri>

        </author>

        <link rel=”icon” type=”image/gif” href=”http://x.myspacecdn.com/modules/common/static/img/blog.gif”/>

        <link rel=”alternate” type=”text/html” href=”http://blogs.myspace.com/index.cfm?fuseaction=blog.ListAll&amp;friendId=473185983″/>

        <category term=”BlogAdd” label=”BlogAdd” scheme=”http://activities.myspace.com/schema/1.0/”/>

        <content type=”xhtml”>…</content>

        <sx:sync id=”tag:myspace.com,2009:/activity/473185983/BlogAdd/473185983/509685053″>

            <sx:history sequence=”1″ when=”2009-09-11 14:54:33Z”/>

        </sx:sync>

        <activity:actor>

            <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>

            <id>tag:myspace.com,2009:/Person/473185983</id>

            <title>Tess Ting</title>

            <link rel=”alternate” type=”text/html” href=”http://www.myspace.com/tesstingms”/>

            <link rel=”avatar” type=”image/jpeg” href=”http://c2.ac-images.myspacecdn.com/images02/75/s_94cbd2c0ed5e4ef0a4bc02a10aecc011.jpg”/>

        </activity:actor>

        <activity:object>

            <activity:object-type>http://activitystrea.ms/schema/1.0/blog-entry</activity:object-type>

            <id>tag:myspace.com,2009:/Blog_Entry/473185983/509685053</id>

            <title>My Thoughts upon a Health Care Debate</title>

            <link rel=”alternate” type=”text/html” href=”http://blogs.myspace.com/index.cfm?fuseaction=blog.view&amp;friendId=473185983&amp;blogId=509685053″/>

        </activity:object>

        <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>

    </entry>

    <entry>

        <id>tag:myspace.com,2009:/activity/473185983/PhotoAdd/855905/9132545</id>

        <title type=”text”>Tess Ting combined a brand brand brand brand brand brand new print to a My Photos album.</title>

        <published>2009-09-11T14:50:50Z</published>

        <updated>2009-09-11T14:50:50Z</updated>

        <author>

            <name>Tess Ting</name>

            <uri>http://www.myspace.com/tesstingms</uri>

        </author>

        <link rel=”icon” type=”image/gif” href=”http://x.myspacecdn.com/modules/common/static/img/photo.gif”/>

        <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&amp;friendID=473185983&amp;albumID=855905&amp;imageID=9132545″/>

        <category term=”PhotoAdd” label=”PhotoAdd” scheme=”http://activities.myspace.com/schema/1.0/”/>

        <content type=”xhtml”>…</content>

        <sx:sync id=”tag:myspace.com,2009:/activity/473185983/PhotoAdd/855905/9132545″>

            <sx:history sequence=”1″ when=”2009-09-11 14:50:50Z”/>

        </sx:sync>

        <activity:actor>

            <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>

            <id>tag:myspace.com,2009:/Person/473185983</id>

            <title>Tess Ting</title>

            <link rel=”alternate” type=”text/html” href=”http://www.myspace.com/tesstingms”/>

            <link rel=”avatar” type=”image/jpeg” href=”http://c2.ac-images.myspacecdn.com/images02/75/s_94cbd2c0ed5e4ef0a4bc02a10aecc011.jpg”/>

        </activity:actor>

        <activity:target>

            <activity:object-type>http://activitystrea.ms/schema/1.0/photo-album</activity:object-type>

            <id>tag:myspace.com,2009:/Photo_Album/855905</id>

            <title>My Photos</title>

            <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&amp;friendID=473185983&amp;albumId=855905″/>

        </activity:target>

        <activity:object>

            <activity:object-type>http://activitystrea.ms/schema/1.0/photo</activity:object-type>

            <id>tag:myspace.com,2009:/Photo/855905/9132545</id>

            <title>

            </title>

            <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&amp;friendID=473185983&amp;albumID=855905&amp;imageID=9132545″/>

            <link rel=”preview” type=”image/jpeg” href=”http://c3.ac-images.myspacecdn.com/images02/14/s_cb0b48037818485bb99d521a4051ed2a.jpg”/>

        </activity:object>

        <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>

    </entry>

    <entry>

        <id>tag:myspace.com,2009:/activity/473185983/PhotoAdd/855905/9132542</id>

        <title type=”text”>Tess Ting combined a brand brand brand brand brand brand new print to a My Photos album.</title>

        <published>2009-09-11T14:50:47Z</published>

        <updated>2009-09-11T14:50:47Z</updated>

        <author>

            <name>Tess Ting</name>

            <uri>http://www.myspace.com/tesstingms</uri>

        </author>

        <link rel=”icon” type=”image/gif” href=”http://x.myspacecdn.com/modules/common/static/img/photo.gif”/>

        <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&amp;friendID=473185983&amp;albumID=855905&amp;imageID=9132542″/>

        <category term=”PhotoAdd” label=”PhotoAdd” scheme=”http://activities.myspace.com/schema/1.0/”/>

        <content type=”xhtml”>…</content>

        <sx:sync id=”tag:myspace.com,2009:/activity/473185983/PhotoAdd/855905/9132542″>

            <sx:history sequence=”1″ when=”2009-09-11 14:50:47Z”/>

        </sx:sync>

        <activity:actor>

            <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>

            <id>tag:myspace.com,2009:/Person/473185983</id>

            <title>Tess Ting</title>

            <link rel=”alternate” type=”text/html” href=”http://www.myspace.com/tesstingms”/>

            <link rel=”avatar” type=”image/jpeg” href=”http://c2.ac-images.myspacecdn.com/images02/75/s_94cbd2c0ed5e4ef0a4bc02a10aecc011.jpg”/>

        </activity:actor>

        <activity:target>

            <activity:object-type>http://activitystrea.ms/schema/1.0/photo-album</activity:object-type>

            <id>tag:myspace.com,2009:/Photo_Album/855905</id>

            <title>My Photos</title>

            <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&amp;friendID=473185983&amp;albumId=855905″/>

        </activity:target>

        <activity:object>

            <activity:object-type>http://activitystrea.ms/schema/1.0/photo</activity:object-type>

            <id>tag:myspace.com,2009:/Photo/855905/9132542</id>

            <title>

            </title>

            <link rel=”alternate” type=”text/html” href=”http://viewmorepics.myspace.com/index.cfm?fuseaction=viewImage&amp;friendID=473185983&amp;albumID=855905&amp;imageID=9132542″/>

            <link rel=”preview” type=”image/jpeg” href=”http://c3.ac-images.myspacecdn.com/images02/22/s_e15bb4f34a324a9fbc4c23d518230ff6.jpg”/>

        </activity:object>

        <activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>

    </entry>

(The upon top of e.g. XML is of a blog entrance as well as dual photos. MySpace supports a ton some-more wake up sorts as well as they have good support upon this upon their developer wiki: http://wiki.developer.myspace.com/index.php?title=Standards_for_Activity_Streams. The Windows Live web wake up formation includes these MySpace activities: posting a blog entries, posting forum topics, updating status, posting photos, removing tagged in a photo, posting a song, adding a form song, adding a form video, as well as RSVP’ing approbation to an event.)

Now, if I’ve continuous a MySpace Web Activity in Windows Live: http://profile.live.com/WebActivities/add.aspx?AppID=1140860417, Windows Live will intermittently check my Activity Stream XML feed from MySpace as well as when there have been brand brand brand brand brand brand new entries, Windows Live will tell these brand brand brand brand brand brand new MySpace activities to my Windows Live Profile:

(from: http://cid-e16138db6f261cbd.profile.live.com/)

clip_image008

Reading More

If you’re meddlesome in guidance some-more about Activity Streams, we should feel giveaway to revisit a operative group’s website: http://www.ActivityStrea.ms/ as well as a group’s wiki: http://wiki.ActivityStrea.ms/.

If you’re meddlesome in building some-more with Windows Live, I’d inspire we to begin during http://dev.live.com/ as well as http://msdn.microsoft.com/.

Thanks really most for celebration of a mass all of a approach by ;) as well as I’m seeking brazen to operative with some-more of we to capacitate a mutual users to share their activities with their friends opposite a web. All a best—

–Rob Dolin

Engineer, Windows Live group

http://robdolin.spaces.live.com/

P.S. we wish to magnify a personal appreciate we to Monica Keller as well as a folks upon a MySpace Engineering group who were good to work with.

Related posts:

  1. WINDOWS LIVE AND ACTIVITY STREAMS
  2. WINDOWS PHONE PEOPLE HUB POWERED BY ACTIVITY STREAMS
  3. WHAT ALL AROUND FAST MEANS TO MYSPACE
  4. THE SOCIAL WEB AND WINDOWS LIVE
  5. SOCIAL DISTRIBUTION

Windows Live Services September 14th 2009

Leave a Reply

Spam Protection by WP-SpamFree