Skip to content

Instantly share code, notes, and snippets.

View techforlearning's full-sized avatar
🏠
Working from home

Noriyuki KOIKE techforlearning

🏠
Working from home
View GitHub Profile
@techforlearning
techforlearning / instructions.md
Created October 27, 2012 11:43 — forked from dideler/twitter-gadget-instructions.md
Twitter Gadget for Google Sites

Displaying your Twitter tweets on your Google Sites website is difficult. Google Sites filters your HTML code and doesn't allow you to add your own JavaScript code. That means you can't add the many existing Twitter widgets that exist today, including Twitter's very own.

There's a Twitter gadget in the Google Gadget directory called "Twit". I was previously using it, but because it uses http instead of https and Google Sites uses https, the latest version of Chrome would consider it as insecure content and not display it by default, instead asking the user if they want to display insecure content while recommending them not to. That's great if you want your visitors to think your site hosts malicious content and you don't want them reading your tweets.

So this was my solution, and hopefully it benefits others with the same problem:

  1. I haven't added this gadget to the Google Gadget Directory, so either host it yourself or (pr