OpenSocial Tutorial – Part 1: Gadget Basics

(My Original Blog Post: -*http://api-madness.com/post/opensocial-tutorial-part-1-gadget-basics-2/)

Attention! API Garbage (might be unreadable):

social gadget file

Him and stuff so social obligations as there used your primer on gadgets and a musical artist XML files and surrender to what it wanted an XML file looks like as you can see a gadget is just XML of the top of the file you consume XML template and encoding and below to see the tags to specify this as a data file we open everything up with a model to an insider that we have model preferences that specify things like the application s title and required features are necessary for the application year requiring the open social future babble about we actually define the content of the gadget here to contemplate his HTML inside that we have a seated section which is where all our code are issued on JavaScript go and the string hello world s not a little entrance of the way we can go down and out wrong our first social obligation as a couple things you need for this first a text editor and web hosting account and in addition to the Indonesian order count and access to the sandbox which is where we alighted ester social obligations I wasn t most of you have a text editor that a lot of you probably only have one post but if you don t does two things you can try first is Google code Project hosting which is a place to host open source applications of you like to make your gadget open source and hosted there and if you don t want to do that you can use Google page Creator which allows you to upload HTML files additional files and upload other non-additional files like gadget specifications that writing so what about a waiter going to create an organ account which is pretty straightforward disco duck, no one to do steps want to deny any desire for access to the sandbox which is pretty straightforward as well to what you can use to do that and once you have access you can log into sandbox to order.com and aggregate in Austria to do their so what you should do if you should take the text of the simple gadget copy that into a text file and save it under Web hosting account as hello world.XML log into your account click on the edit button next apps on weapons of the page type in the URL of your newly created XML file click on the application button that the application permission to access your account and then click on the link that adds to the applications and bitch to install different social obligations or for more information on what I just did as well as more information on the rest of the social if you check out the chart on code.google.com for the open social section

Advertisements

~ by bitahatini on February 28, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: