Try something like:
<?xml version="1.0" encoding="utf-8"?>
<Module>
<ModulePrefs title="MyGadget"
</ModulePrefs>
<Content type="html" view="home,preview,canvas">
<![CDATA[
<style type="text/css">
html, body, div, iframe { margin:0; padding:0; height:100%; }
iframe { display:block; width:100%; border:none; }
</style>
<iframe src="YOUR-URL" frameborder="0"></iframe>
]]>
</Content>
</Module>
Am Mittwoch, 6. Juni 2012 09:09:42 UTC+2 schrieb Andre:
>
> I guess the challenge is the "Build a working iGoogle gadget with your
> content " part. I think I've managed that bit, but don't think I'm doing it
> right. When I add the .xml file to my page it gives me the following error:
> "The
> gadget you added is not valid
>
> Unsupported feature: At least 1 ModulePrefs is required"
>
> I'm not sure if the code is complete. Am I leaving something out? If so
> please advise what it should look like.
>
> Thanks a Million once again for your support!!!
>
> ----- Original Message -----
> *From:* skseo <[email protected]>
> *To:* [email protected]
> *Cc:* [email protected]
> *Sent:* Tuesday, June 05, 2012 7:50 PM
> *Subject:* Re: [iGoogle Developer Forum] Re: Please help, can't get
> gadget to work.
>
> :-)
>
> You are at the iGoogle forum and thats the solution.
>
> Build a working iGoogle gadget with your content and include the xml file
> with the "Insert" - "... More Gadgets" - "Add gadget by URL" option.
>
> At a iGoogle gadget u can use any kind of code (script, iframe)
>
> Am Dienstag, 5. Juni 2012 18:19:28 UTC+2 schrieb Andre:
>>
>> Thank you very much for the time and effort taken on the matter, it is
>> really very much appreciated.
>>
>> Unfortunately I need the widget to display on the active GoogleSites page
>> and not just a text link. Yes, I know it can work, but it spoils the feel.
>>
>> Thanks anyway! Any other solutions?
>>
>> ----- Original Message -----
>> *From:* prac <[email protected]>
>> *To:* [email protected]
>> *Sent:* Tuesday, June 05, 2012 4:42 PM
>> *Subject:* [iGoogle Developer Forum] Re: Please help, can't get gadget
>> to work.
>>
>> Hello
>>
>> Create an html page containing the script
>>
>> I have one here
>>
>> https://docs.google.com/open?id=0B4yfJJJSNrfua2N5M0NOenFWbjg
>>
>> Within Google Sites, use a link to this URL
>>
>> https://docs.google.com/uc?id=0B4yfJJJSNrfua2N5M0NOenFWbjg
>>
>> I have a test here
>>
>> https://sites.google.com/site/annuairevin/test-safari2
>>
>> I hope this will give you some ideas
>>
>> --
>>
>> https://sites.google.com/site/annuairevin/tips-and-tricks-for-google-sites
>>
>> --
>>
>>
>> Le lundi 4 juin 2012 14:59:20 UTC+2, Andre a écrit :
>>>
>>> Hi All,
>>>
>>> I'm a firm believer to REALLY struggle before one ask stupid questions
>>> on forums and I'm there now. After a very long struggle to get Google
>>> Gadget Editor to work (And that through a WORKAROUND tip) I still can't get
>>> this to work. (PS: I'm NOT a developer at all, but do try mu luck on
>>> logic). We own a resort and make use of SafariNow.com for bookings. they
>>> have a "Widget" that one can use on your own site to make online bookings
>>> and payments. The scrip are supplied but I cant get it to work by any means
>>> on my GoogleSites page. Any advice on where and exactly how to insert the
>>> code will be much appreciated.
>>>
>>> The code they supply looks like this:
>>>
>>> <script type='text/javascript' src='
>>> http://www.safarinow.com/site/httphandlers/bookingwidget.aspx?spid=1014638'
>>> ></script>
>>>
>>> Thanx a million for any help!
>>>
>>> Kind Regards
>>> André
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "iGoogle Developer Forum" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/Google-Gadgets-API/-/SCKA6w7WF_kJ.
>> 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.
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/Google-Gadgets-API/-/YjAE0EVbhIIJ.
> 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.
>
>
--
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/Google-Gadgets-API/-/zr6ELRQj_L0J.
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.