I just started building a gadget but everywhere in the discussion it
is stated that use content type=html or Url.....But it is not stated
anywhere that where to specify this content....i tried it the main.xml
file but it is unable to load gadget....Please help regarding this...
are you talking about Google Desktop gadgets or iGoogle gadgets? For Google
Desktop gadgets you don't need to write anything like that in the xml...
On Wed, Nov 4, 2009 at 8:01 PM, Rahul <rahulgupt...@gmail.com> wrote:
> I just started building a gadget but everywhere in the discussion it
> is stated that use content type=html or Url.....But it is not stated
> anywhere that where to specify this content....i tried it the main.xml
> file but it is unable to load gadget....Please help regarding this...
Thanks for repling . But my concern was about google desktop gadgets.
I have seen all others desktop gadgets in google SDK it contains
<view> tags and no HTML
is used for that. Where as in igoogle gadgets i used this
content type code and it worked but it is not working in case of
desktop gadgets.
On Fri, Nov 6, 2009 at 12:24 PM, Teo <teomina...@gmail.com> wrote:
> Hi,
> are you talking about Google Desktop gadgets or iGoogle gadgets? For Google
> Desktop gadgets you don't need to write anything like that in the xml...
> On Wed, Nov 4, 2009 at 8:01 PM, Rahul <rahulgupt...@gmail.com> wrote:
>> I just started building a gadget but everywhere in the discussion it
>> is stated that use content type=html or Url.....But it is not stated
>> anywhere that where to specify this content....i tried it the main.xml
>> file but it is unable to load gadget....Please help regarding this...
Basically: Google Desktop gadgets and iGoogle gadgets are different.
Google Desktop gadgets use only special XML tags to define the layout
of the gadget. You can only use HTML code in a special detailsview.
Please check out the Google Desktop APIs page on Google Code
http://code.google.com/apis/desktop/docs/ for detailed information
about the correct layout of the views and examples for gadgets.
Basically, the only similarity between iGoogle gadgets and Google
Desktop gadgets is that both use Javascript as a programming language.
You will have to read and learn a new set of methods and APIs to
create Google Desktop gadgets.
Best regards,
Benjamin
On Nov 6, 3:30 pm, rahul gupta <rahulgupt...@gmail.com> wrote:
> Thanks for repling . But my concern was about google desktop gadgets.
> I have seen all others desktop gadgets in google SDK it contains
> <view> tags and no HTML
> is used for that. Where as in igoogle gadgets i used this
> content type code and it worked but it is not working in case of
> desktop gadgets.
> Please help regarding this.
> Thanks
> Rahul Kumar
> On Fri, Nov 6, 2009 at 12:24 PM, Teo <teomina...@gmail.com> wrote:
> > Hi,
> > are you talking about Google Desktop gadgets or iGoogle gadgets? For Google
> > Desktop gadgets you don't need to write anything like that in the xml...
> > On Wed, Nov 4, 2009 at 8:01 PM, Rahul <rahulgupt...@gmail.com> wrote:
> >> I just started building a gadget but everywhere in the discussion it
> >> is stated that use content type=html or Url.....But it is not stated
> >> anywhere that where to specify this content....i tried it the main.xml
> >> file but it is unable to load gadget....Please help regarding this...
Thanks for your quick reply. Then it means that i have to use sdk-only to create a desktop gadget.
I cannot use the content type = Html to use my html page .... where as i did the same thing creating a yahoo widget....i used my html and javascript code there.
Thats correct. You will have to use the XML elements mentioned in the
SDK to create the view.
You should check out the Google Desktop APIs page I mentioned as well
as the various articles http://code.google.com/apis/desktop/articles/
This should help you get started.
Benjamin
On Nov 6, 6:20 pm, rahul gupta <rahulgupt...@gmail.com> wrote:
> Thanks for your quick reply.
> Then it means that i have to use sdk-only to create a desktop gadget.
> I cannot use the content type = Html to use my html page ....
> where as i did the same thing creating a yahoo widget....i used my
> html and javascript code there.
Yes, you're right. You may be able to reuse some parts of your HTML or
Javascript code, but in the end you have to put them in a form that's
accepted for a Google Desktop gadgets. Please check out the SDK, since
it also contains some sample gadgets and will help you understand.
Thanks,
Teo
On Nov 6, 7:20 pm, rahul gupta <rahulgupt...@gmail.com> wrote:
> Thanks for your quick reply.
> Then it means that i have to use sdk-only to create a desktop gadget.
> I cannot use the content type = Html to use my html page ....
> where as i did the same thing creating a yahoo widget....i used my
> html and javascript code there.
Only you can figure this out, by reading the documentation.. Shouldn't be
hard since what you need to write in the XML isn't very different than what
you write in an HTML page.
P.S. I received your messenger invite, but i kindly ask you to keep this on
the group. Thanks!
On Fri, Nov 6, 2009 at 9:03 PM, rahul gupta <rahulgupt...@gmail.com> wrote:
> Sir,
> You replied that we can use some parts of Html ....Can you please
> tell me how can i use that some html part.