Extension talk:Googledocviewer
From MediaWiki.org
the structure of the URL is not the same anymore!
- think i fixed that :s removed the 'a' from $literal
- new line 31 of Alternate version of GoogleDocViewer.php with spreadsheet support
- $literal = isset($args['literal']) ? $args['literal'] .'/': '';
- new line 49 of Alternate version of GoogleDocViewer.php with spreadsheet support
- '<iframe src=https://docs.google.com/'.$literal. $type .'/'.$mode.'?id='.$id.'&embedded=true width='.$width.' height='.$height.'></iframe>';
- --Immeƫmosol 23:04, 19 January 2012 (UTC)
- new line 31 of Alternate version of GoogleDocViewer.php with spreadsheet support
For spreadsheets with more than one sheet, removing the following code "&single=true&gid=0" from that case appears to make all the sheets show up. However, it doesn't seem to be possible to embed a spreadsheet in such a way that the sheet is editable within the wiki.