Home Page

Google Doc Presentation

To embed your Google Doc Presentation, first, you try publish the document and you will get the link in this format:

  1. https://docs.google.com/present/embed?id=xxxxxx
Copy Code

Note down the string xxxxxx, written in imgshow code format

[imgshow]q:name=gdoc,id=xxxxxx[/imgshow]
  		
[imgshow q:name=gdoc,id=xxxxxx]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('gdoc')->p('id', 'xxxxxx')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('gdoc').p('id', 'xxxxxx').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('gdoc').p('id', 'xxxxxx').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('gdoc').p('id', 'xxxxxx').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

Embed PDF/PPT File (Direct URL)
Embed Google Doc Document
Embed Google Doc Presentation