
Put Javascript into Google Sites
If you have spent anytime working in Google Sites you may have found a roadblock when it comes to embedding javascript into Google Sites. The specific tag that Google Sites does not like is <script> </script>. Luckily for us, Miguel Guhlin and Karl Fisch have written about a workaround. Their posts are specific to Diigo, but I am happy to report that this will work for any site that has an embedable object that use the <script> </script> code. My purpose was to embed the Twitter profile widget into my site www.mikeagostinelli.com I also ran into this problem when trying to embed my Onepage card in my Google Site.
Here is the fix:
You need to create a Google Gadget file that you can access from a server. I used my public Dropbox as my place to share the file. To create the Google Gadget you need to use a text editor (Like notepad on Windows or Textedit on a Mac) and write the following code:



+ There are no comments
Add yours