31 March 2016

Save Images in Desktop Google Search


Last year, Google added a feature that allowed you to save image search results and organize them using tags. This feature was only available in the mobile interface, but now you can use it on the desktop too. Just click the "save" button next to an image search result and then click "view saved" to go to google.com/save and manage your saved images.




"This feature is currently available in the US when you search for images on desktop and in your mobile browser. To try it out, make sure you're logged into your browser with your Google Account; then you can start image searching and saving," informs Google.

The site mentions that the "website links you save using the Save to Google extension for Chrome can also be found here," but I couldn't find this extension. There's a Save to Google Drive extension, but it only saves images and screenshots to Google Drive.

Google April Fools' Day 2016


April Fools' Day is an important day for Google because there are a lot of hoaxes and crazy features to show.

Google Japan announced a Physical Flick Bluetooth keyboard (translation). It's called Furikku and the circuit board and firmware are open source. The keyboard is actually the hardware version of Google's Japanese input software for Android.

"The device consists of a button that users can ‘push’ and also a sensor that detects ‘flick’ actions. There are 12 sensors and 8 complementary action buttons so a total of 20 sensors in the device. This device can be employed by users who are accustomed to typing letters on their smartphones, but not on their desktop keyboards," mentions Google.



TO BE CONTINUED...

Google Knowledge Graph Cards Add Share Button


Google's Knowledge Graph cards added a button that lets you share the search results pages on Facebook, Twitter, Google+ or by sending an email. You're actually sending a link to the entire search page, not just to the card.

Knowledge Graph cards include a lot of useful information extracted from various web pages and other resources: images, official homepage, social network pages, Wikipedia descriptions, useful facts, events, quotes and more.



16 March 2016

Google's Blogs Move to a Custom Domain


Last week, John Mueller announced that Google is moving all of its blogs to a custom domain: googleblog.com. For example, Gmail's blog has a new URL: gmail.googleblog.com, which replaces gmailblog.blogspot.com.

"Google is moving its blogs to a new domain to help people recognize when they're reading an official blog from Google. These changes will roll out to all of Google's blogs over time. The previous address will redirect to the new domain, so your bookmarks and links will continue to work."

A long time ago, many people thought that this is an official Google blog and I had to keep explaining that the blog is not affiliated with Google. I added more and more disclaimers, but that's still not enough for everyone. Now that Google's blogs move from blogspot.com to googleblog.com, it's much easier to tell things apart.

Smart Reply in Desktop Google Inbox


If you're getting a lot of emails and you're tired of writing replies, Google's Inbox service has a feature that suggests 3 short replies. It was first added to the Inbox mobile apps and now it's available in the desktop site. Apparently, 10% of all the replies on mobile already use Smart Reply.


Smart Reply uses machine learning to figure out if a short reply is appropriate and then predicts likely responses. "The Smart Reply System is built on a pair of recurrent neural networks, one used to encode the incoming email and one to predict possible responses. The encoding network consumes the words of the incoming email one at a time, and produces a vector (a list of numbers). The second network starts from this thought vector and synthesizes a grammatically correct reply one word at a time, like it's typing it out. Amazingly, the detailed operation of each network is entirely learned, just by training the model to predict likely responses."

{ Thanks, Jonah Langlieb. }

15 March 2016

Metronome Card in Google Search


Google shows a special card when you search for [metronome]. The default beat rate is 120 BPM, but you can change the value from 40 to 208 BPM by pressing the "+" and "-" buttons. Google plays a sound, shows an animation and changes the color of the UI, depending on the selected value.



According to Wikipedia, "a metronome is any device that produces regular, metrical ticks (beats, clicks) — settable in beats per minute. (...) The metronome is used by musicians to help keep a steady tempo as they play, or to work on issues of irregular timing, or to help internalize a clear sense of timing and tempo."

{ Thanks, Mukil Elango. }

09 March 2016

How to Track Google Spreadsheet Views with Google Analytics


You have been using Google Analytics to track visitors (or page views) on your website but did you know that the same analytics service can also be used for tracking views inside Google Spreadsheets. You insert a little snippet of tracking code inside your spreadsheet and when someone opens the sheet, that visit will be recorded permanently in your Google Analytics account.

track-google-spreadsheets.png

Google Analytics provides a JavaScript snippet that can be inserted into web templates for tracking visits. You cannot insert JavaScript inside the cells of a Google Spreadsheet but we can use the IMAGE function combined with some Apps Script to enable tracking inside spreadsheet. The visit is recorded as an “event” and not a “page view” and thus your spreadsheet opens will not artificially inflate your Google Analytics reports.

To get started, go to your Google Analytics dashboard and make a note of the Google Analytics tracking ID which is a string like UA-12345-67. This web tutorial explains how you can locate the ID inside your Analytics dashboard.

Now open any Google Spreadsheet that you wish to track and go to Tools, Script Editor and copy-paste the following code. This is a custom Google Spreadsheet function that will embed the 1×1 tracking GIF image in our spreadsheets.

/**
 * Track Spreadsheet views with Google Analytics
 *
 * @param {string} gaaccount Google Analytics Account like UA-1234-56.
 * @param {string} spreadsheet Name of the Google Spreadsheet.
 * @param {string} sheetname Name of individual Google Sheet.
 * @return The 1x1 tracking GIF image
 * @customfunction
 */

function GOOGLEANALYTICS(gaaccount, spreadsheet, sheetname) {
  
  /** 
  * Written by Amit Agarwal 
  * Web: www.ctrlq.org 
  * Email: amit@labnol.org 
  */
  
  var imageURL = [
    "http://ift.tt/1jZhjuD",
    "&tid=" + gaaccount,
    "&cid=" + Utilities.getUuid(),
    "&z="   + Math.round(Date.now() / 1000).toString(),
    "&ec="  + encodeURIComponent("Google Spreadsheets"),
    "&ea="  + encodeURIComponent(spreadsheet || "Spreadsheet"),
    "&el="  + encodeURIComponent(sheetname || "Sheet")
  ].join("");
  
  return imageURL;

}

Save the code, close the Apps Script editor window and return to the spreadsheet.

Click an empty cell and insert the following formula. The cell will be blank but it contains an embedded image. You may want to change the background color so it is easy to figure out which cell in the spreadsheet contains the tracking formula.

Google Formula

The GOOGLEANALYTICS() formula takes 3 parameters – the analytics ID, the spreadsheet name and the sheet name. This helps if you would like to separately track individual sheets inside a spreadsheet.

Now open the spreadsheet in a new browser window and go to Google Analytics, Real Time, Overview to test if the tracking is working. It may sometimes take a minute to record the visit. If you would like to see all the visits, go to Behavior – Events – Overview and click on the Google Spreadsheets category.

google-analytics-report.png

Also see: Track Gmail Messages with Google Analytics

The tracking would work even if the user has enabled ad blocking and that’s because Google Spreadsheets, like Gmail, serves images through a proxy server. The downside is that you will never know the location of the visitor since all visits will be show up as United States (the location of Google servers).


The story, How to Track Google Spreadsheet Views with Google Analytics, was originally published at Digital Inspiration by Amit Agarwal on 09/03/2016 under Google Analytics, Google Docs, Internet.

08 March 2016

How to Make eBooks with Google Docs


Adobe PDF may be the most popular document format on the web but there’s a reason why eBook lovers prefer the ePub format over PDF. PDF documents have a static layout with fixed page breaks but the layout of an ePUB document is “responsive” meaning it will automatically adjust for different screen sizes.

You can read an ePub book on your desktop or inside the Google Play Books app on your Android phone and they’ll look good. Also, since ePub files are essentially HTML5 documents under the hood, the text size and font family can be easily adjusted for an improved reading experience.

Download ePUB ebooks

How to Create your ePUB eBooks

Adobe Stanza and Calibre are popular desktop software for  creating ePub ebooks but now can now easily make one in the browser using Google Docs itself. Just write a document in Google Document, or upload an existing Microsoft Word file to your Google Drive, go to File menu and choose download as EPUB publication.

Here’s an ePUB version of this article, generated with Google Docs.

You get an ePub file that you can copy to your mobile phone or, better still, upload the ePub to the Google Books website and access the ebook from anywhere. You can even read it in the browser. To upload an eBook to Google Books, go here and click the Upload Files button. The files are only visible to you.

ePub files are readable on iPad, Nook and Google Play books. Amazon Kindle doesn’t support the ePub format but there’s an easy way to convert ePub into MOBI format that is supported by Kindle.


The story, How to Make eBooks with Google Docs, was originally published at Digital Inspiration by Amit Agarwal on 08/03/2016 under Convert, Epub, Google Docs, Internet.