MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

Widget == XML ??

Last post 07-04-2009 7:51 PM by Chris Cole. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-28-2009 10:28 AM

    Widget == XML ??

     Hey folks,

    I'm currenlty reading some stuff about OpenSocial. If I have understand the basics, the gadgets/widgets are based on XML. 

    Reading that I was wondering how that works on MySpace. I searched a little bit and got to that url: http://developer.myspace.com/modules/apis/pages/OpenSocialSandboxEditor.aspx

    Is it right, that everything I add in the application editor ( My Apps - Choose App -> Edit Source) is automatically stored in a huge XML file?

    So adding some code to the profile view, will add some content to the profile-area in the xml file? 

    <Content type="html" view="profile">
    <!-- My content goes here -->
    </Content>

     

    Is that correct?

    And is this XML file the one i can upload in the first step of a new widget or on some other social network base platforms?

    Thanks a loooot for your help :)

  • 07-04-2009 7:51 PM In reply to

    Re: Widget == XML ??

     The Gadget XML format used by most other OpenSocial containers is only lightly supported by MySpace as of 0.8.  With 0.9 and OSML and Data Pipelining we're going to see much more support for the gadget XML format.  For now, think of the surface editors as abstracting away the gadget XML.  What you're actually doing is editing the content for one particular view at a time when you use them.

    The code you see in the OpenSocialSandboxEditor is part of 0.9 and is not yet released.  We're working hard to get it out the door, tho.

     

Page 1 of 1 (2 items)