Hi Sunny,
Yes, you should be able to just specify the url of your application without having to require a PHP layer. Most of the PHP examples are there to access some sort of user data or to make the small view (what will display on places like my.yahoo.com) more dynamic. Here's what you'll need to do:
1. Go to
https://developer.yahoo.com/dashboard/ and create an open application
2. You can specify the url to your application for the large view, and enter in any html / css / yml you would like for the small view (sorry - no javascript is allowed here)
3. Under permissions, specify that you only need access to public information
That should be it. I should note that you may have to do some massaging of your javascript to get it working under Caja. See here:
http://developer.yahoo.com/yap/guide/caja-support.html for more information on Caja and what you may need to change.
If you run into any problems along the way I'd be happy to help you to get the JS (or anything else) working.
Jonathan LeBlanc
Senior Software Engineer
Yahoo! Developer Network
Hi there,
I am a newbie to all this stuff I'm afraid. I have a Google Gadget that is a simple url directing to an HTML page on my server. I would like to add this gadget to My Yahoo! page, but I'm afraid I don't understand the instructions. My gadget content is written in HTML, css and JavaScript. I'm not familiar with PHP. I was hoping to find some example of having a URL as the yahoo app - I see from the example of mySocial.php that you need to incorporate a secret key into the php page which generates the content. Do you have any advice for adding my page as a yahoo app ? I don't need access to Yahoo APIs as my web page doesn't currently request any external data.
Can I just have a PHP page that includes my key and contains a URL to my page?
My Google Gadget code is below, if you can offer any advice or links of how to do this stuff I'd really appreciate it.
Thanks
Sunny Carter
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title='xxxxx" author="Sunny Carter" author_email="sunny.carter' description="Embedded gadget" width="360" height="255" />
<Content type="url" href="http://mydomain.com/gadget/login.html" />
</Module>