Profile

Cover photo
Martin Hawksey
Works at Association for Learning Technology
Lives in Edinburgh, Scotland
3,529 followers|5,814,462 views
AboutPostsPhotosYouTube+1's

Stream

Martin Hawksey

Shared publicly  - 
 
 
In my latest LinkedIn post I share that Google Drive Web Hosting ends after August 31, 2016 and I share alternatives. In other words, some have stored web site files (e.g. index.html, images, etc.) in Google Drive, but Google is ending this capability. Feel free to share.

https://www.linkedin.com/pulse/google-drive-hosting-ends-august-31-2016-steve-webster
Google Drive web hosting ends August 31, 2016. The announcement appeared in this blog last year. In the time since web hosting in Drive was launched, a wide variety of public web content hosting
1 comment on original post
2
Add a comment...

Martin Hawksey

Shared publicly  - 
 
 
Hi, I just published a post about keeping track of Google Apps Script projects' total execution time. Please keep in mind I'm a coding beginner ;-)
About a month ago I started having some serious issues with my Google Apps Script projects. I was getting a lot of “Service using too much…
4 comments on original post
2
Add a comment...

Martin Hawksey

Shared publicly  - 
 
Google is letting parents snoop on their kids’ school work with a new feature for Google Classroom, and adds annotation features for homework.
7
Add a comment...

Martin Hawksey

Shared publicly  - 
 
Have to see if this will affect +Totally Unscripted​
It won't be available on Google+ starting September 12th.
2
Add a comment...

Martin Hawksey

Shared publicly  - 
 
With a great contribution from +Romain Vialard​​​:

Yep, _https://drive.google.com/uc?id=XXX__ will continue to work._

You can also use _https://drive.google.com/thumbnail?id=XXX__ if you have heavy images and want a lighter version of your image._

And https://drive.google.com/thumbnail?id=XXX&sz=w400-h300 if you want a specific width & height
 
As you all probably know, google hosting is going away at the end of the month. However I've got the impression that the webcontentlink meta property of a file will still work as a link to an image.

To get the link by apps script, you need to enable the advanced drive service, and you can get the webcontent link as per this app. So you can have a little webapp to tell you the url for any file which you can then copy into your html code.

function doGet(e) {

var id = e && e.parameter && e.parameter.id ? e.parameter.id : "id missing";
var mode = e && e.parameter && e.parameter.mode ? e.parameter.mode : "details";
var file = getWebContentLink(id);

if (mode === "image") {
return HtmlService
.createHtmlOutput('<img src="' + file.webContentLink + '">')
}
else {
return ContentService
.createTextOutput(JSON.stringify(file))
.setMimeType(ContentService.MimeType.JSON);
}
}
function getWebContentLink(id) {
// Drive.Files.get(fileId)
return Drive.Files.get(id, {
fields:"id,title,webContentLink"
});

}

You can then use the webcontentlink as the url for the hosted file and it seems to work.

Im not sure what'll happen with unsigned in users. For a test, I've published this webapp to run as me, so i'm assuming it will work on any files you've got as public.

If anyone wants to have a go, then here's the app - this modes returns detail on the file so you can use the link.
https://script.google.com/macros/s/AKfycbz88m2Ng_V6t7_OviLRgK9S8bttVYmqA9pdraVlXhG9t0xTIFuH/exec?id=0B92ExLh4POiZMmRzSC1QRk5TLXM

this one renders the image
https://script.google.com/macros/s/AKfycbz88m2Ng_V6t7_OviLRgK9S8bttVYmqA9pdraVlXhG9t0xTIFuH/exec?id=0B92ExLh4POiZMmRzSC1QRk5TLXM&mode=image


any thoughts?

#gde #googleappsscript #blogpost

11 comments on original post
5
Add a comment...
In his circles
1,091 people
Have him in circles
3,529 people
Mbaye Sogue's profile photo
Bethuel ORANGO's profile photo
christine mirrabelle's profile photo
DEE KAY's profile photo
Bryan Scott's profile photo
Jez Cope's profile photo
Lorna Campbell's profile photo
Nacho Coloma's profile photo
G N Bokde's profile photo

Martin Hawksey

Shared publicly  - 
 
 
Hi, I just published a post about keeping track of Google Apps Script projects' total execution time. Please keep in mind I'm a coding beginner ;-)
About a month ago I started having some serious issues with my Google Apps Script projects. I was getting a lot of “Service using too much…
4 comments on original post
1
Add a comment...

Martin Hawksey
moderator

News  - 
 
Google announce the end of Chrome apps from the Chrome Web Store for Windows, Mac and Linux.

It's funny in developing a Apps Script web app right now. I did consider publishing to the webstore but decided there was no real benefit and extra work so won't be.

Starting in late 2016, newly-published Chrome apps will only be available to users on Chrome OS. Existing Chrome apps will remain accessible on all platforms, and developers can continue to update them.

In the second half of 2017, the Chrome Web Store will no longer show Chrome apps on Windows, Mac, and Linux, but will continue to surface extensions and themes. In early 2018, users on these platforms will no longer be able to load Chrome apps.


4
Michael Ellis's profile photoAlan Wells's profile photoMartin Hawksey's profile photoSpencer Easton's profile photo
4 comments
 
In google for work domains we get domain specific Chrome store. Its very handy for distribution of App Script tools we use.
Add a comment...

Martin Hawksey

Shared publicly  - 
 
For you Google Apps Script fans...

edit: with link https://ctrlq.org/code/20256-image-to-canvas-data-uri
4
Martin Hawksey's profile photoAlexander Ivanov's profile photo
7 comments
 
+Martin Hawksey , thank you! Cool!
Add a comment...

Martin Hawksey

Shared publicly  - 
 
Rich discussion in the post around details of using Firebase for image hosting...
 
I'm looking through my site today to identify where I'm using googledrive hosting so I can fix it before it all goes away. The good thing about leaving things till the last minute is that the solution you eventually decide on is going to be the most up to date (+Spencer Easton will be covering this topic at this weeks Totally Unscripted broadcast). But the bad thing is that I have to do this...

753 pages in site
459 pages in site with hosting
2773 hosting changes need to be made

If you use Google Sites, and use Googledrive hosting with that, then here's a script to analyze and find all the changes you're going to need to make in the next 2 to 3 weeks.

#gde   #googleappsscript   #blogpost  
18 comments on original post
2
Add a comment...

Martin Hawksey

Shared publicly  - 
 
We've got our next Totally Unscripted Google Apps Script show on Friday 12th August 2pm BST. Unsure if Totally Unscripted is for you this video gives and overview.

You can see the last episode in full at https://youtu.be/NlHaLVvneV4

#GoogleAppsScript #Community #GDE
 
Hope you can join us for our next show on Friday 12th August 6am PDT / 9am EDT / 2pm BST / 3pm CEST / 6.30pm IST on Cloud hosted resources with Firebase/GAE and how-to “What’s New” in Add-ons

http://bit.ly/TotallyUnscripted-2

View the video to find out more about Totally Unscripted

[Thanks to +Bruce Mcpherson for composing/playing the bed track]
View original post
1
Add a comment...

Martin Hawksey

Shared publicly  - 
 
... our next show Friday 12th August 2pm BST ... hope you can join us

#googleappsscript #gde #community
 
Join us for our next installment of Totally Unscripted. In this show with the end of life for Google Drive web hosting we have Spencer Easton back demonstrating some cloud options for hosting resources for your Apps Scripts with Google App Engine and Firebase. We've also got Google Add-ons expert Steve Webster joining us showing us an easy way to push 'What's New' to your existing add-on users. We expect the hangout will fill up quickly but Q&A will be enabled and we'll be looking out for your comments on this event page.
This Hangout On Air is hosted by Totally Unscripted. The live video broadcast will begin soon.
Q&A
Preview
Live

22 comments on original post
2
Eric Schwartz's profile photoMartin Hawksey's profile photo
2 comments
 
+Eric Schwartz we'll post the hangout link just before the show start on the event page https://plus.google.com/u/0/events/csbcsp39ai3e7sk3gvbc9vvdrec (if the hangout is full you'll still be able to watch from the event page and ask questions :)
Add a comment...
People
In his circles
1,091 people
Have him in circles
3,529 people
Mbaye Sogue's profile photo
Bethuel ORANGO's profile photo
christine mirrabelle's profile photo
DEE KAY's profile photo
Bryan Scott's profile photo
Jez Cope's profile photo
Lorna Campbell's profile photo
Nacho Coloma's profile photo
G N Bokde's profile photo
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Edinburgh, Scotland
Previously
Riberac, France - Hong Kong - Ross-shire - Glasgow
Story
Tagline
Google Developer Expert (Apps Script) and Open Education advocate
Introduction
Innovation, Community & Technology @A_L_T | +ALT. Interested in EdTech, Mashups, Google Apps Script, Social Networks, Data Mining, cMOOCs, Open Education, DDJ, SEO

Bragging rights
The -only- first Hawksey on Google+
Work
Occupation
Innovation & Technology Manager
Employment
  • Association for Learning Technology
    Chief Innovation, Community & Technology Officer, 2014 - present
  • Association for Learning Technology
    Innovation & Technology Manager (Contracted), 2013 - 2014
  • Jisc CETIS
    Learning Technology Advisor (OER Programme Support, 2012 - 2013
  • Jisc RSC Scotland N&E
    eLearning Advisor (Higher Education), 2009 - 2011
Basic Information
Gender
Male
Martin Hawksey's +1's are the things they like, agree with, or want to recommend.
Google Apps Script Picker Tutorial - Teacher Tech
alicekeeler.com

Coders of Google Apps Script may have need to have users of their scripts to choose a folder from Google Drive. Google Apps Script Picker te

Pushing Canvas LMS discussion data to Google Analytics (tips on Google A...
mashe.hawksey.info

Integrating third party APIs asynchronously with Google Analytics and batch sending tracking data whilst preserving the original activity ti

Class Twitter Account: How Your Students Can Tweet - Teacher Tech
alicekeeler.com

A class Twitter account connects your students to the world and gives them an authentic audience. Students can safely tweet with this twitte

Making Google Apps work for you: Domain wide customization with *your* G...
mashe.hawksey.info

Having seen Google Apps Script develop over the last 7 years one of the key challenges was distributing custom scripts for others to use in

Knowing learning: Some educational neuroscience linkage | MASHe
mashe.hawksey.info

At OEB 2015 there was a great plenary presentation from Lia Commissar from the Wellcome Trust on Educational Neuroscience: Worth tracking wo

How to Set a Time Limit on Google Forms
www.freetech4teachers.com

This morning I received a question from a teacher who was looking for a way to impose a time limit on a quiz or test administered through Go

Looking at creativity and culture in computer science to inspire better ...
mashe.hawksey.info

Heavily influenced by Alan Kay and computer science history from the 1960s to 1970s I look at how this could be applied to the challenges an

#OEB15 Workshop: Creating personal tutoring environments with Google App...
mashe.hawksey.info

Last week I was fortunate to attend OEB 2015 ( in Berlin. My contribution to OEB15 was a workshop on ‘Creating personal tutoring environment

Searching for both Google+ Communities and posts within them | MASHe
mashe.hawksey.info

Not sure if this is a documented feature but you can search within Google+ Communities by adding s/yoursearchterm to the community home addr

Google Analytics for Learning Analytics – Session for RMIT University | ...
mashe.hawksey.info

A while ago I was approached by staff at RMIT University to give a session on the use of Google Analytics for Learning Analytics. This post

Setting up OAuth2 access with Google Apps Script: Blogger API Example | ...
mashe.hawksey.info

This post details how you can setup a Google Apps Script project to interact with the Blogger API or other Google Developers Console APIs Sh