Comment 5 for bug 856130

Revision history for this message
shanen (shane-nuessler-canberra) wrote : RE: [Bug 856130] Re: googledocs block doesnt like link from google docs

Hi,
I believe I typed this up in the googls docs system years ago.
It seems the Collaborate->Share function gives this link:
https://docs.google.com/document/d/1BWGRmw6V8y7vkPPzOaJPh9EaCFztn7PhHEHpKfrCM0o/edit?hl=en_US

while the Collaborate->Publish to Web function (for the same doc) gives this:
https://docs.google.com/a//document/pub?id=1BWGRmw6V8y7vkPPzOaJPh9EaCFztn7PhHEHpKfrCM0o

???

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Melissa Draper
Sent: Monday, 26 September 2011 3:24 PM
To: Shane.Nuessler
Subject: [Bug 856130] Re: googledocs block doesnt like link from google docs

The issue is that google likes to give out different formats of the docs
URLs for some use cases:

For example:

I uploaded this document:
https://docs.google.com/document/d/1EQUAo9tRk6QXAgS6NAl9YaawZt6DfEgcDryK2GmLjx0/edit?hl=en_US

I copied this document from somewhere on the internet and have reshared
it, but I cannot republish it:
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=1CIfh5ZZWUgaFitCXNjXWfkAMG8weXU9YndNXaJDwGIaNRP8jQPQKJvPy2KWj&hl=en_US
(URLs for documents saved from emails also look like this).

There are also different URLs for clicking through to the document
that's attached to an email someone receives with gmail, and they
contain identity information.

Can you tell me more about how your document got to your docs account?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/856130

Title:
  googledocs block doesnt like link from google docs

Status in Mahara ePortfolio:
  Triaged

Bug description:
  I was wondering if the GoogleApps block type supports the google viewer for embedding views of PDFs?
  e.g. this one:
  https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9K03PfvoQBFYzI4NDk4OGUtMTkwNC00YmQwLTkzZjMtNWU4YTQzZTk5YTgy&hl=en

  I would like the PDF to show up in Mahara, but when I put this URL in
  it simply doesn’t show.

  Also the normal GoogleDocs block is broken because the URL google
  provides is BROKEN!

  e.g. this: https://docs.google.com/a//document/pub?id=1BWGRmw6V8y7vkPPzOaJPh9EaCFztn7PhHEHpKfrCM0o
  should be https://docs.google.com/document/pub?id=1BWGRmw6V8y7vkPPzOaJPh9EaCFztn7PhHEHpKfrCM0o
  (no “a/” )

  mahara 1.4.0
  Windows XP SP 2
  firefox 6.0.2

  Cheers,
  Shane.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/856130/+subscriptions