Location: Ask & Answer

Discussion: Google Docs Widget Export CodeReported This is a featured thread

Showing 8 posts

Posted Anonymously
Google Docs Widget Export Code
Nov 4 2009, 1:08 PM EST | Post edited: Nov 4 2009, 1:08 PM EST
I am trying to add Google docs as a widget on my wiki. The code I am suppose to use is as follows:
{{#widget:Google Document
|key=dcn37mcz_34cvfjpmhf
|width=500
|height=300
}}

The error message I receive is as follows:
This appears to be an invalid widget. We support widgets that contain either an Embed tag for Flash content or that are contained within an IFRAME. Please check the code and try again.

However, it is within an iFrame.
HELP?
thanks
1  out of 1 found this valuable. Do you?    
jeremy_wetpaint
jeremy_wetpaint
1. RE: Google Docs Widget Export Code
Nov 4 2009, 2:29 PM EST | Post edited: Nov 4 2009, 2:32 PM EST
That doesn't look like a valid Iframe code. It should look something like this:
.
<iframe src="http://spreadsheets.google.com/embeddedform?key=0Ali_DwUnMMdwdHJFTWowSGEtZWdrUFVIUGZPLW1id2c" width="760" height="585" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>

I got this embed code by clicking on "Form" and then "Embed form in a webpage".
1  out of 1 found this valuable. Do you?    

Posted Anonymously
2. RE: Google Docs Widget Export Code
Nov 4 2009, 3:35 PM EST | Post edited: Nov 4 2009, 3:35 PM EST
i used this:
<iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="1" src="http://docs.google.com/View?docID=<!--{$key|escape:'urlpathinfo'}-->&hgd=1"></iframe>

and it returned this:
This appears to be an invalid widget. Please enter the complete IFRAME tag and try again.

??
Do you find this valuable?    

Posted Anonymously
3. RE: Google Docs Widget Export Code
Nov 4 2009, 3:53 PM EST | Post edited: Nov 4 2009, 3:53 PM EST
and where do you get the iframe code like this...haven't been able to find it

Thanks :)
Do you find this valuable?    
jeremy_wetpaint
jeremy_wetpaint
4. RE: Google Docs Widget Export Code
Nov 4 2009, 5:51 PM EST | Post edited: Nov 4 2009, 5:51 PM EST
"and where do you get the iframe code like this...haven't been able to find it

Thanks :)"
At the top of the Google Doc I clicked on "Form" and then selected "Embed form in a webpage". A pop up dialog box then appeared that contained the embed code.
0  out of 1 found this valuable. Do you?    

Posted Anonymously
7. RE: Google Docs Widget Export Code
Feb 22 2010, 12:53 PM EST | Post edited: Feb 22 2010, 12:53 PM EST
"get the iframe code...haven't been able to find it
"
My google documents working fine; however, as of this year (2010), it does not have such a feature of creating widget code under 'Format'.
Do you find this valuable?    
jeremy_wetpaint
jeremy_wetpaint
8. RE: Google Docs Widget Export Code
Feb 22 2010, 2:59 PM EST | Post edited: Feb 22 2010, 2:59 PM EST
"My google documents working fine; however, as of this year (2010), it does not have such a feature of creating widget code under 'Format'. "
Perhaps you have some kind of privacy settings turned on? I would recommend checking with Google support for verification on why you can't get an export code for your doc.
1  out of 1 found this valuable. Do you?    

Posted Anonymously
9. RE: Google Docs Widget Export Code
Feb 23 2010, 10:50 AM EST | Post edited: Feb 23 2010, 10:50 AM EST
"At the top of the Google Doc I clicked on "Form" and then selected "Embed form in a webpage". "
Thanks for your explanations on creating a widget using google docs. My google widget appeared exactly on my wetpaint site with no problem.
0  out of 1 found this valuable. Do you?