Insert Websites and Apps Scripts using iframes
Embed external websites to new Google Sites using iframes and create gadgets using Google Apps Scripts
Instructions
Insert a general Web Site
Use the Embed option from the Insert panel (or the Embed option from the Disc)
Enter your URL in By URL tab of the Embed from the web dialogue box
Choose either the Whole page option to see the full page inserted in your site or the Preview option if you want to see a link card.
Use the Insert button to complete and then you can choose to size and position the embedded site
Limitations
You can only embed secure (https) URLs
If the website owner does not allow the site to appear in an iframe you cannot embed
You will only see the Preview option if the website provides the necessary Open Graph protocol tags
Fusion Tables URLs cannot be used at the moment.
Insert a Google Apps Script Web App
Use the Embed option from the Insert panel (or the Embed option from the Disc)
Enter your Google Apps Script published web app URL in in By URL tab of the Embed from the web dialogue box
Choose the Whole page option
Use the Insert button to complete and then you can choose to size and position the embedded script
Limitations
This is not full Apps Script integration with new Google Sites, so getting the site or page URL, etc, is not available
If you use a custom domain web address mapping for your site you need to ensure that you enable the script to appear in an iframe - see setXFrameOptionsMode(mode)
Example Google Apps Script Gadgets
Twitter Feed
Apps Script Gadget
Apps Script Gadget
Gadgets for new Google Sites
If you interested in knowing more about these Apps Script gadgets for new Google Sites, or want your own gadget developed, please contact us to let Steegle, the Google Sites Experts, know your needs and gadget's requirements.
If you think you need some extended functionality for Google Workspace or Google Sites then why not take a look at some of the other Apps Script Development projects that Steegle provides. Your business can benefit from various document management, workflows, document automation and mobile and web apps based in your secure Google Workspace environment.
Feedback
Please let us know if this article helped or if you know of of any improvements.
Keep up-to-date
Join the Sites Update Group on the Google Sites Classic Comparison to get email notifications about New Google Sites updates.
Newsletter
Subscribe to our newsletter for emails about all things Steegle.com