I have created a small Html page using AngularJS, twitter bootstrap.
To test the functionality in different browser and different screens, I wanted to host it on google drive as explained here
I have done the exact steps. But when I try to preview the html page, I get
web page not available error
.
My Shared Drive which I want to publish
Related
Is it possible to use a support file from within the apps script project as a source for iframe in another HTML.
I need to do this as a part of a Web App project in Google Apps Script.
Specifically I need it to work as a menu system which is the same across multiple pages, so that I don't have to repeat the same HTML code over and over again.
Better explained in a picture
Left side menu(buttons) stays the same across pages
There are several ways to accomplish what you are looking (" I don't have to repeat the same HTML code over and over again") but using iframe is not the best way when working with Google Apps Script web applications.
First you have to decide if you want to handle your web application as a multipage or as simple page.
In any case you might find helpful to use templated HTML / scriptlets to pass the code from Google Apps Script .html files to your main html code. If you find yourself scripts hard to start with, then you might use other methods of the HTML Service
Resources
https://developers.google.com/apps-script/guides/html/
https://developers.google.com/apps-script/guides/html/templates
https://developers.google.com/apps-script/reference/html
Related
Use project Javascript and CSS files in a Google Apps Script web app?
Recent related question (no answers at this time, but with comments)
HTML Service: Templated HTML as sidebar
Is it possible to create navigation bar on Google Apps Script?
how to connect a navigation bar (<nav>) with HTML files in google appscript?
I have Google Apps Script deployed as "web app" linked to a spreadsheet google.
It displays a form and once you submit the form, it will process the data and put it in the spreadsheet, here the code :
https://docs.google.com/spreadsheets/d/1EBo5DooJQtcFX5GORmtOB1ri2kkMPXX6nEMvNRsobOg/edit?usp=sharing
When I access the script directly via the link below there's no problem, it's working fine :
https://script.google.com/macros/s/AKfycbyMu10ibB8dBLZj6hS_gfNSiaW4XxEnFuzVOvNHdQKcoX092Ayy/exec
But when I want to embedded like "web app" in google site like this, it doesn't work :
Do you have any idea why it doesn't work?
EDIT :
It's odd but when I tried to make a mock website (with the new version of Google site) to show you the problem, it's working :
https://sites.google.com/ggbearings.com/test/home
But it's not working on classic Google site, I guess I have to contact them to seek out an answer.
recently I have a task. There are many image files (of format .jpg/.gif) uploaded to a web server. However, actually not all image in the web server is shown on the real web site. Now I want to list out the image files that is not on the web site but in the web server, so I want to find a tool that can generate a list of images of a web site, I have found a firefox extention call Link Gopher which may help to generate all links from a web page, but since the web site has many pages, I must do the task page by page if I use Link Gopher.
As a result, I want to know is there any method that can do the task faster?
I had built a Google UI Apps Script in my Drive account. It works great.
I would like to embed it on my domain. I know that I can embed it as a gadget on a Google site, but I don't want Google's URL appearing in my website.
I have a word-press site and I would like to embed this UI script into a page/post on my word-press site or create a stand alone page on my domain with this script on it.
Is this possible?
I just don't want my users to be redirected off my site and see the long ugly domain of https://script.google.com/a/macros/*************
Any suggestions?
This isn't currently supported.
See (duplicate) Embedding Google Apps Script WebApp in WordPress Page.
Visit Issue 852 and star it for updates. (There are also some potential work-arounds described in the issue comments.)
I have a website that is a bunch of standard HTML4 files. It has a Dreamweaver template file but each file has the template already put into it.
Is there an easier way to convert a website from HTML files to Google Sites than to copy the source code of each file and create a page on Google Sites with that source code?
I think this FAQ can be helpful to understand what Google Sites exactly is, what it can and what it can't.
Unfortunately Google Sites isn't flexible and powerful as it's wanted.
Depending of your needs you could try to use Blogger or Google App Enginge. You could search simple CMS for GAE and try to export your Dreamweaver project to GAE hosting.
If it will help you, please inform me. I think it's interesting to do.
If you have a local working copy of a css/java website.... all you need to do is copy the website folder with all the website files to a google drive folder that is shared publicly. Then get the hosting link for your websites index.html from the detail description of the index.html file that is in the folder that is now on google drive. Open your google site and add a full page iframe using the hosting link to your website index.html file as its source.
the local website you created is now live on google sites as your website
If Google sites is still like it was about two years ago when I used it, that is the only way. Its sad, but Google sites is not supposed to be for doing anything past basic html.