Re: Comment on PrivateGadgetAdministratorsGuide in google-feedserver

21 views
Skip to first unread message

codesite...@google.com

unread,
Feb 4, 2010, 11:52:38 AM2/4/10
to google-feedserv...@googlegroups.com
Comment by ruben.v.rivera:

Could private gadgets be used in Google Apps Education Edition?

I'm getting the next error:
Domain cannot use API
Error 403

For more information:
http://code.google.com/p/google-feedserver/wiki/PrivateGadgetAdministratorsGuide

codesite...@google.com

unread,
Mar 12, 2010, 5:19:54 PM3/12/10
to google-feedserv...@googlegroups.com
Comment by ruben.v.rivera:

This page should be updated. Please, at least include a link to

Administering Gadgets in Google Sites
http://www.google.com/support/a/bin/answer.py?hl=en&answer=168329

codesite...@google.com

unread,
Mar 2, 2011, 9:57:12 AM3/2/11
to google-feedserv...@googlegroups.com
Comment by brittany...@bradycorp.com:

Does the Domain Gadget Directory Manager Gadget still work? We have been
using it in our company for a year, and it seems that it has stopped
working properly. However, recently, it seems this gadget is not working.
The good news is that our domain seems to still recognize the selected
gadgets because we still have our whitelisted gadgets available to users
when they try to The gadget itself is no longer allowing us to whitelist or
blacklist. The "Directory Preview" tab correctly shows the gadgets we have
whitelisted. But the "Public Directory" tab's Add Gadgets button is greyed
out. I have owner rights to the site it is in, and I have tried removing
and re-adding the gadget, with the same outcome. Has something changed
recently?

codesite...@google.com

unread,
Nov 20, 2012, 7:40:05 AM11/20/12
to google-feedserv...@googlegroups.com
Comment by sa...@rgtwelve.com:

DGDM doesn't seem to be working, I have added it as described but all I get
is an empty box with the title "Domain Gadget Directory Manager"
Is this still supposed to work since the interface updates?
I have a domain where I locked down the gadgets a couple of years ago and
now want to add some more gadgets but DGDM no longer gives me anything to
do this - help!

codesite...@google.com

unread,
Dec 1, 2012, 8:54:33 PM12/1/12
to google-feedserv...@googlegroups.com
Comment by ck.reckoner:

DGDM works but since Sites now only work with HTTPS the scripts used in the
gadget are blocked (yes, it should have been updated).
What you can do is to copy the body of XML and change http:// links to .js
files to https:// and then host this file somewhere.
Tried that myself and the gadget works fine.

For more information:
https://code.google.com/p/google-feedserver/wiki/PrivateGadgetAdministratorsGuide

codesite...@google.com

unread,
Jan 22, 2013, 9:28:18 AM1/22/13
to google-feedserv...@googlegroups.com
Comment by James.Kr...@whitestratus.com:

Hello,
Is it possible to update the .js file:
http://google-feedserver.googlecode.com/svn/trunk/resources/gadgets/domain-gadget-directory-manager/code.js
to un-comment out the access controls? I would like to be able to set who
can edit the private gadget besides just the Super Admins from the UI. I am
looking into setting this via the XML code but I am not sure how at the
moment.

codesite...@google.com

unread,
Jan 22, 2013, 12:17:26 PM1/22/13
to google-feedserv...@googlegroups.com
Comment by ck.reckoner:

James, you can host this file yourself, including in your very own Google
code repository and make whatever changes you want.

codesite...@google.com

unread,
Jun 4, 2014, 6:36:18 AM6/4/14
to google-feedserv...@googlegroups.com
Comment by josellov...@gmail.com:

"I have a domain where I locked down the gadgets a couple of years ago and
now want to add some more gadgets but DGDM no longer gives me anything to
do this - help!" "DGDM works but since Sites now only work with HTTPS the
scripts used in the gadget are blocked (yes, it should have been updated).
What you can do is to copy the body of XML and change http:// links to .js
files to https:// and then host this file somewhere."

I tried this:
http://henrythiele.blogspot.com.es/2011/04/how-to-block-gadgets-from-sites-in.html

and I watched this:
https://support.google.com/a/answer/168329?hl=es&ref_topic=25685

And I tried what you described ck.reckoner, but I did not succeed.

Could you otherwise explain it or tell me some more detailed or tutorial?

codesite...@google.com

unread,
Jun 16, 2014, 11:20:54 AM6/16/14
to google-feedserv...@googlegroups.com
Comment by eatsleep...@revmarketing.co.uk:

The first of your solutions worked fine for me Josellov.

<a href=http://eatsleepdigitals.com>EatSleepDigitals have all sorts of
stuff, you might be able to find something more helpful on there</a>

codesite...@google.com

unread,
Jun 28, 2014, 8:25:24 AM6/28/14
to google-feedserv...@googlegroups.com

codesite...@google.com

unread,
Jul 24, 2014, 5:08:05 PM7/24/14
to google-feedserv...@googlegroups.com
Comment by johart...@sdcoe.net:

It would be great if someone could just add those three letters to the code
so the DGDM would work correctly.

For anyone having trouble getting it to work again, I can share my success
story.

First, as ck.reckoner says above, the trick is to host the xml
configuration file yourself, and then add that xml address to your google
site as a custom widget via URL.

So, firstly, you must get your own copy of the file. Follow this link to
see the file:
http://google-feedserver.googlecode.com/svn/trunk/resources/gadgets/domain-gadget-directory-manager/spec.xml

Copy the code from the file and paste it into a simple text editor (not
something fancy like microsoft word, we just want the pure code, no
formatting)

Save this file as "gadgets.xml" (If you did it right, the file should open
up in a web browser when you double click it and the web browser should
show the same code as the original that you copied).

Now you have to make 3 edits to the gadgets.xml file. There are 3 places in
the code that refer to "http://". Find these three places and change them
so they say "https://" instead. You should only have to type the letter "s"
three times and you are done with editing the file.

Save a copy of your new file.

Now save another copy of your new file, but change the name
to "gadgets.html". (We won't actually use this file, but we need it for the
next step so we can get the URL of the hosted xml file that we really want.)

Now you have to host these two files somewhere. The easiest thing to do is
to host the files in Google Drive.

First, go into your Google Drive and create a new folder called "Public
Hosted Files". Change the permissions on "Public Hosted Files" so the
folder is public and anyone in the world can view.

Now upload the "gadgets.xml" file and the "gadgets.hmtl" file to
the "Public Hosted Files" folder in your Google Drive.

Open the "gadgets.html" file so you can see the actual file and not just
the preview that google gives you at first. If you did things right, there
should be a button on the top bar that says "Preview". If you don't see
the "Preview" button, something is wrong and you should search the Internet
for "Hosting Files in Google Drive".

If you see the "Preview" button, click it to see you actual hosted, live,
gadgets.html file.

Copy the full, long, URL for the gadgets.html file.

Go into your Google Site and click "Insert". Then click "More Gadgets" and
then click "Add gadget by URL". Paste your live, hosted, gadgets.html file
URL into the box. Make sure it starts with "https://"

Now, delete the "html" at the end of the URL and replace it with "xml".

Click the "Add" button.

Save your page and the GDGM should work as intended. Good Luck!

codesite...@google.com

unread,
Jul 27, 2014, 12:28:39 AM7/27/14
to google-feedserv...@googlegroups.com

codesite...@google.com

unread,
May 7, 2015, 2:57:13 PM5/7/15
to google-feedserv...@googlegroups.com
Comment by carahira...@gmail.com:

DGDM works but since Sites now only work with HTTPS the scripts utilized in
the gadget are blocked (yes, it ought to happen to be updated ). What you
are able to do usually is to copy one‘s body of XML and change http : / /
links to. js files to https : / / after which host this file somewhere.
Tried that myself and also the gadget works fine.

http://www.genterist.net/2015/02/7-batu-cincin-akik-termahal-dan-populer.html

http://www.genterist.net/2015/04/batu-kalimaya-khasiat-serta-manfaat.html

http://www.genterist.net/2015/04/batu-akik-ohen-bungbulang-garut-hijau.html

http://www.carahi.com/2015/04/trans-7-live.html

http://www.carahi.com/2015/04/mnc-tv.html

http://www.carahi.com/2015/05/cara-membuat-ayam-panggang-enak-dan.html
Reply all
Reply to author
Forward
0 new messages