Your gadget (for the most part) is using the legacy api which is
officially depreciated and no longer supported by Google. Even if you
have managed to get something working, there are no guarantees it will
in future, so would recommend updating your code to the gadgets.*
namespace.
I think you will need to use gadgets.io.makeRequest to request the
feed, either as a feed or JSON content type. This is coded slightly
differently to the old _IG_FetchFeedAsJSON. In very general terms, I
dont have the time to go into detail, you would need something like
document.getElementById("content_div").innerHTML = html;
to place your feed content in a div, next would be
gadgets.window.adjustHeight();
to then dynamically resize.
On Jun 11, 3:12 pm, Michel <[email protected]> wrote:
> I`m working on my first iGoogle gadget. It's a very simple script to
> display entries from an rss feed. My problem is that I can't get the
> gadget to dynamically resize to the content_div's height.
>
> At the beginning of the XML I've got:
> <Require feature="dynamic-height"/>
>
> At the end of the XML I've got:
> function init() {
> _IG_AdjustIFrameHeight();}
>
> gadgets.util.registerOnLoadHandler(init);
> </script>
>
> I've also tried just putting this there:
> _IG_AdjustIFrameHeight(); </script>
>
> The XML-file:http://www.acfis.nl/accountancy-nieuws-igoogle.xml
--
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.