OpenSocial Tutorial – Part 1: Gadget Basics

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

Attention! API Garbage (might be unreadable):

social gadget XML

I socialism is the basic steps we or social obligations to the first-ever news dual primer on gadgets and gadgets at the basic level are just XML files resurrected a quick look at what again XML file looks like this see a gadget is just XML the top of the file you consume XML version site and encoding and below that you can see the tags that specify this as a gadget file we open everything up with a model tag and insight that we have model preferences that specify things like the applications title and require features necessary for the application year requiring the open social future and below that we actually define the content of the gadget here because of the HTML inside that we have a seeded section which is where all of our code are a similar JavaScript go and the string hello world snuck a little intros out of my region go down in the wrong our first social obligation so the couple things real need for this first a text editor and web hosting account and additions that you need an organ account and access to the orchid sandbox is where we alighted tester social applications I was in that most of you have a text editor that a lot of you probably are to have Web hosting but 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 her 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 each demo files and additional files and upload other non-additional files like gadget specifications writing so once you have the way your going to create an organ account which is pretty straightforward as the orchid.com will walk you through the steps wanted on a journey to sign up for access to the organ sandbox which is present forward as well with a link that you can use to do that and once you have access you can log in to sandbox the orchid.com and aggregate in Austria to do their so what you should do if you should take the text of the sample gadget copy that into a text file and save it under Windows income as hell world of XML log into your account to donate edit button next apps on left and some of the page type in the URL of your newly created XML file click on the add application button print the application permission to access your account and then click on the link that adds to the applications and pitch tonight installed or for social applications or to more information on what I just did as well as more information on the rest of the social API check out the tutorial on code.google.com for the open social section

Advertisements

~ by bitahatini on December 16, 2008.

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: