Hi,
I tried the code and it worked for me, I am guessing it's the GGE, you
probably need to publish your gadget first then load it by URL into
iGoogle (you can use the developer module to add gadgets and disable
caching, add "developer.xml" to the add by url box). About the issue,
I believe there is some legal thing with finance gadgets regarding
legal disclaimers and licensing for Google that limits how they are
able to display data and am sure this is one of those features that
only works in iGoogle or has very limited support. When I add a gadget
with this feature to iGoogle it get the financial disclaimer at the
bottom of my page, I am guessing this is part of the reason.
Sample gadget output:
On iGoogle I get this
Hello world! Here is your portfolio:
GOOG: 439.08 (+24.59)
AAPL: 133.80 (+5.97)
INTC: 19.26 (+0.71)
Under syndication I get this
Hello world! Here is your portfolio:
GOOG: - (-)
AAPL: - (-)
INTC: - (-)
Hope that helps,
Cheers!
Vision Jinx
On Sep 18, 12:58 pm, Pragan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to these gadgets and I was reading the examples in the site.
> I wanted to try the finance gadgets and I came across the below
> example :
> I tried copying paste this into the GGEditor to see the output but I
> am not able to see any data in the output except the text headings. Am
> i missing anything here? I can think of only one possible error is
> about the Require Feature = "finance" is not called properly. Please
> help me out. If I can understand this then I shall read the guidelines
> to create a gadget.
>
> regards
> pragan.
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <Module>
> <ModulePrefs title="hellofinance">
>
> <Require feature="finance"/>
> </ModulePrefs>
> <Content type="html">
> <![CDATA[
>
> Hello world!
> Here is your portfolio:<br/>
> GOOG: <span id=_IG_SYM1_l></span> (<span id=_IG_SYM1_c></span>)<br/>
>
> AAPL: <span id=_IG_SYM2_l></span> (<span id=_IG_SYM2_c></span>)<br/>
> INTC: <span id=_IG_SYM3_l></span> (<span id=_IG_SYM3_c></span>)<br/>
>
> <script>
> var quote = new google.finance.Quote();
> quote.enableDomUpdates( { 'GOOG' : '_IG_SYM1', 'AAPL' : '_IG_SYM2',
> 'INTC' : '_IG_SYM3' } );
>
> quote.getQuotes(["GOOG", "AAPL", "INTC"]);
> </script>
> ]]>
>
> </Content>
> </Module>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---