The Stack Overflow podcast is back! Listen to an interview with our new CEO.
18

I've hunted around the interwebs for just this solution, and HIGHLY recommend using Markdown Here. It is a browser extension for Chrome, Firefox and Safari that lets one toggle back-and-forth between Markdown and HTML. It's original use-case is for in composing e-mail, but it "works great" in Google Sites. Also, it supports TeX math formula, which for ...


6

Short answer There isn't a global setting for comments in Google Sites, so the comments should be disabled page by page. Extended answer You could disable the comments option page by page manually. Unfortunately looks that there isn't a method to do this automatically by using Google Apps Script. To avoid this problem in the future, create a page ...


5

The following code retrieves the users, present within the Google Apps Domain: function doGet() { var app = UiApp.createApplication(); var users = UserManager.getAllUsers(); var flexTable = app.createFlexTable().setBorderWidth(1); for (var i=0, len=users.length; i<len; i++) { var user = users[i]; flexTable.setWidget(parseInt(i), 0, ...


5

After the suggestive comment from Vidar S. Ramdal, I decided to practically test whether different versions of the same file count towards total storage. There can be three scenarios for this, Only the latest version counts towards storage. Total size of all the versions counts towards storage. Difference of various versions counts towards storage. I ...


5

You can't do that directly. Per the article Upload existing web pages: You can't however upload web pages as individual HTML files.


4

There is an official tool by the google liberation front to import and export google sites: From the website: "The downloaded site will not be styled and will not include the chrome and is completely unstyled, but will contain all of the content included in the site." http://web.archive.org/web/20130806050134/http://www.dataliberation.org/google/sites ...


4

Actually, I found the answer myself. One can use it as a Public Wiki by using this trick. Create a Google Group so anyone can join: http://groups.google.com/groups/create?lnk=gcphp Invite the Group to your Site as a collaborator using its email address, e.g. MyGroup@googlegroups.com Put a link to your Google Group on your Site, preferably on your ...


4

If you're the site owner, then you're able to check if the footer can show the sign-in option. Go to the site and press the key combination g then m or choose from the more pull-down menu of the Manage site option. Then select site layout: Followed by system footer: If the sign-in option is ticked, then it will not show:


4

robots.txt of Google Sites is not user-editable. https://productforums.google.com/forum/#!topic/sites/E4lCgoEv6yw Instead, you can use Google Search Console (a.k.a. Webmaster Tools) to remove your site from Google results. For more information see "How to remove your website or web page from Google". The tool's layout has since changed, but once you log in ...


3

Note: Apparently the Domain Service "...was deprecated on May 15, 2014, and will be turned off on November 20, 2014. To manage your domain, use the Admin SDK Directory and Admin SDK Reports advanced services instead. See the guide to migrating from Domain service." per the documentation page for the UserManager Class.


3

The problem is due to the new security rules adopted in Chrome 21. URLs in the source code must use HTTPS instead of HTTP, as stated here.


3

https://developers.google.com/google-apps/sites/docs/1.0/developers_guide_protocol#CreatingContent If you set up an OAuth account, you can use the Google Sites API to automatically upload hundreds of web pages. https://developers.google.com/gdata/articles/using_cURL https://github.com/google/gdata-python-client/blob/master/samples/sites/sites_example.py ...


3

In HTML, the characters < and > are special (so are quotation marks in certain places). If you want these characters to appear, you'll need to encode them (as &lt; and &gt; respectively). The ampersand is used for encoding, and it follows that the ampersand is also a special character. If you want an actual ampersand to appear, you need to ...


3

You can now publish your Google Site at a custom URL, with SSL, and it even works without a redirect. Publish your Google Site and make it visible to the public (under Share options, set it to 'Anyone can find and view'). As long as the Google Site is not public, it will still redirect to a sites.google.com/* address. Create a CNAME DNS record for your (sub)...


3

You can have it open in the same page by unchecking the box labeled "Open this link in a new window: https://sites.google.com/site/siteshelphowtos/google-sites-instructions/images/imagesaslinks


3

The Picasa Album embed is very old and not development is happening on the Picasa side anymore. Eventually Google Photos might roll out a album embed but they have announced no such plans. In the meantime I would recommend looking at the community built Picasa album web component. You can see an example of your album which you would obviously want to host ...


2

You can use https://sites.google.com/site/gashackja/markdownsiteeditor -- And you can install it for your own use: get a copy of Markdown Site Editor. adding the libraries. get the Showdown library by looking it up (ID: M6WggW1B7uEj1Nu0p7S6Pf-Mffa6w-w2J) make sure to change the identifier to Showdown (instead of GASShowdown) get the Bootstrap library (...


2

That Google Support post was updated awhile back. You can avoid Google's automatic rel="nofollow" on external links IFF you have your own non-Google hosted domain, or maybe any URL, pointing to your Google Site according to this follow-up: Google just updated Google Sites so if you have a mapped web address pointing to your site, [e.g. http://www....


2

In order to make a tab show up in the navigation menu of your Sites pages, you will need to add it manually. Creating a new page doesn't add it to the navigation automatically. Go to: More > Edit Site Layout > Click the navigation menu > Add Page You can then select the page you want and it should show up in your navigation menu.


2

Do you need it to be inline (display on in a page along with other content), or is it okay to be on a separate page? I would suggest saving your resume as a PDF (note, this is good practice in general) and ensuring that it looks good in Google's PDF previewer. You can then attach it to any page in Google sites and reference it by URL. If you need it to be ...


2

You can place a URL Redirector gadget on the page and configure it to redirect to the other page. Edit the page, click Insert. Scroll down to More… Type URL Redirector in the search box to find it. Insert it in your page and configure it.


2

My first attempt to Google on this topic yielded in a first hit: search result LATEX Google Sites. On the following two websites, it is explained how to show the LATEX on Google Sites: Use LaTeX on Google Site Google's LaTeX See snapshot of last reference:


2

Make sure the visibility setting is set to 'public on the web'. As mentioned above, you find this in the File->Share menu item.


2

One solution using UrlFetchApp: function GetHtmlFooter() { var url = 'https://sites.google.com/a/test.net/'; var content = UrlFetchApp.fetch(url).getContentText("UTF-8"); var footer = content.match('<div class="sites-subfooter-content"><div dir="ltr">(.*)</div></div></div>')[1]; return footer; }


2

What is the maximum number of pages allowed on a Google Site? From the Google Help document you reference, it states: Pages per site: No set limit (see note below) By thousands, do they mean 1000 or 10000 or somewhere in between? I would interpret "thousands of pages" as somewhere in between 1,000 and 10,000. More than 10,000 pages and it would be "...


2

When a New Site is generated, a file is created and stored in the user's Drive account. Unfortunately, New Site creations are not logged in the Drive audit report. Your Admin may be able to search for the owner of the file using GAM to systematically scan through each user's Drive account to find the New Site file. GAM Example: gam user *user@domain.com* ...


2

At this time Google Sites app doesn't include a way to set URL redirection. It's worth to note that JavaScript could not be used for URL redirection as it only could be added by using the HTML Box gadget or by a Google Apps Script web app but they are included inside iframes and could satinized. References Create custom page layouts or gadgets Google ...


1

Sites uses the pages that already exist in your Sites structure to build out the nav bar. This means that your 30+ sites, each with their own structure, cannot share/copy nav links between each other. What you can do is add pages by URL. All you need to to is go to More > Edit Site Layout > Click on the horizontal nav bar > Configure your pages > Add URL ...


1

From their Google support page: Note that anyone you set as "Can view," "Can edit," or "Is owner" must have a Google Account or Google Apps Account to share your site. So the only way you can give someone else editing rights, is to have the person sign up for a Google Account.


Only top voted, non community-wiki answers of a minimum length are eligible