Difference between revisions of "Widget:Google Spreadsheet"

From Sugar Labs
Jump to navigation Jump to search
(test installation)
 
(test installation)
Line 3: Line 3:
  
 
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
 
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
 +
 +
See http://www.mediawikiwidgets.org/Widget:Google_Spreadsheet.
  
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
Line 17: Line 19:
  
 
== Security NOTE ==
 
== Security NOTE ==
Keep in mind that to use this widget you must make the document you're publishing to be open for everybody to see which might be undesirable for some uses (intranets, closed groups and etc.)  
+
Keep in mind that to use this widget you must make the document you're publishing to be open for everybody to see, which might be undesirable for some uses (intranets, closed groups, and etc.)  
 
 
{{Template:Copy to your site}}
 
 
 
== Related widgets ==
 
* [[Widget:Google Document|Google Document]] - for embedding documents
 
* [[Widget:Google Form|Google Form]] - for embedding spreadsheet forms
 
* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations
 
  
 
== Sample result ==
 
== Sample result ==
{{#widget:{{PAGENAME}}
+
{{#widget:Google_Spreadsheet
|key=po-s58YMwf85VdL_dX0w3VQ
+
|key=prmAzXfjwrEgNIXJOFYmbcA
|width=500
+
|width=850
|height=300
+
|height=400
 
}}
 
}}
 +
 
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="http://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}-->&output=html&widget=true"></iframe></includeonly>
 
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:500}-->" height="<!--{$height|escape:'html'|default:300}-->" frameborder="0" src="http://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}-->&output=html&widget=true"></iframe></includeonly>

Revision as of 20:46, 7 November 2009

This widget allows you to add Google Spreadsheets to your wiki page.

It was originally created by Sergey Chernyshev for Semantic Communities LLC.

See http://www.mediawikiwidgets.org/Widget:Google_Spreadsheet.

To insert this widget, use the following code:

{{#widget:Google Spreadsheet
|key=po-s58YMwf85Q3UxRzdGOBw
|width=500
|height=300
}}

Parameters

  • key - key parameter in document URL
  • width and height define spreadsheet dimensions, 500x300 is default, but you might want to copy it from embed code since size depends on fields you have

Security NOTE

Keep in mind that to use this widget you must make the document you're publishing to be open for everybody to see, which might be undesirable for some uses (intranets, closed groups, and etc.)

Sample result