Module 5: Sites > Chapter 8: Gadget gallery and development
Table of Contents

Previous Chapter: Use sites to manage your class
» Chapter 8: Gadget gallery and development
Block and allow certain gadgets in Sites
Insert and play non-YouTube videos
Useful gadgets for teachers and students
Next Module: Other Tools

Google Apps administrators can use a open source project, the Feed Server Client Tool (FSCT) to control which gadgets appear in the Google Sites gadget directory for their domain. Before beginning, make sure you are running Java 1.6 (you can check your version by running the "java -version" command)
  1. Download and unzip FSCT from this page: http://code.google.com/p/google-feedserver/downloads/list
  2. In the FSCT directory:
  3. $ ./fsct shell // Runs the program in shell mode

  4. Next you will be prompted to login. Note: You must be a domain administrator to change the directory settings for you domain
  5. To see your options
  6. fsct> help // Shows a list of all available commands

If you want to specifically ban certain gadgets from your directory you should use the Blacklist option. If you want to explicitly authorize every gadget in the directory then use a Whitelist. Here are the commands you would run if you only wanted the What's Popular gadget to appear in your directory:

    fsct> addWhiteListedGadget http://www.google.com/ig/modules/pop/pop.xml // The URL of the gadget spec fsct> setPublicGadgetDirFilter WHITE_LIST

Note: Because of caching, it can take a few hours for your changes to be reflected in the directory. During that time, you can use FSCT's dirPublicGadget command to get the up-to-date list of the gadgets that will show up in the directory. Or alternatively, you can add "?nocache=1" to the end of your Site URL to see an uncached version of the page.