Document Publish Link

22 views
Skip to first unread message

Dan Lines

unread,
May 12, 2011, 4:01:15 PM5/12/11
to google-docum...@googlegroups.com
I am trying to get the published link of a published document.  The documentation explains:

An entry.publish element will be present and its value attribute set to "true" if the revision is published. The entry's published link can be accessed by revision_entry.GetPublishLink().href

Using revision_entry.GetPublishLink().href gives me something like: 

Here is what I expect (the published link):

How can I get the link to the published document?

Dan Lines

unread,
May 19, 2011, 9:58:43 AM5/19/11
to google-docum...@googlegroups.com
It turns out that some of the URLs returned by revision_entry.GetPublishLink().href are correct and some are not.

Here is some more information broken down by document type and publish type.

Text Documents:
   - Published Internal: URL does not work
   - Published Public: URL does not work

Spreadsheet / Form / Presentation:
   - Published Internal: URL works.
   - Published Public : URL works.

Drawing:
   - Published Internal: URL works.
   - Published Public: URL does not work

Any Ideas about why this is happening?

Reply all
Reply to author
Forward
0 new messages