Embed A Document Using Google Docs

You can embed a document viewer for any PDF or PPT using Google Docs.

You will get something similar to this:

The code I used for the above is:

1
<iframe src="http://docs.google.com/gview?url=https://agora.cs.illinois.edu/download/attachments/10456143/vim.pdf?version=1&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Or in general:

1
<iframe src="http://docs.google.com/gview?url=DOCUMENT_URL_HERE&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

Where DOCUMENT_URL_HERE should be replaced by the document’s URL ;)

via Google Operating System.
Smile ;)

If you enjoyed this post, make sure you subscribe to my RSS feed!

Post to Twitter Post to Yahoo Buzz Post to Delicious Post to Digg Post to Facebook Post to Ping.fm Post to Reddit Post to StumbleUpon

Related posts:

  1. Google Reader Useful “Send To” Services
  2. Create Cool Charts With Google Charts API
  3. Browse the Linux Kernel Source with LXR

Tags: ,

Sunday, September 27th, 2009 Google

Leave a Reply

my email
Already a member?
Login
Login using Facebook:
Last visitors
my photo
Hi,
My name is Amir Watad. I have a BSc. in biomedical engineering from The Biomedical Engineering school , Technion , Israel, and am currently studying for a BSc. in electrical engineering at The Electrical Engineering school , Technion , Israel.
I work at the verification dept. in Mellanox Technologies Ltd.
I love Linux, the Command Line and the OpenSource Community.
I used to write Poems (Arabic) when I was able to find time for this.
September 2009
S M T W T F S
« Jul   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930  
Opensource Logo
SEO Powered by Platinum SEO from Techblissonline

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.