Line 124:
Line 124:
3. Via "File" -> "Publish to the Web" -> "Publish" button, get the public key for displaying the presentation, which is in the middle of the presentation link, eg:
3. Via "File" -> "Publish to the Web" -> "Publish" button, get the public key for displaying the presentation, which is in the middle of the presentation link, eg:
−
<nowiki>https://docs.google.com/presentation/d/e/</nowiki>'''2PACX-1vTKawnqr671l-BcVQP0_dwK2pQDFdtM5RQZwxsF6hLOGZBk4kRIjcTwF6mCP_sknF12ZzEuBlm6aX1i'''/pub?start=false&loop=false&delayms=3000
+
https://docs.google.com/presentation/d/e/2PACX-1vTKawnqr671l-BcVQP0_dwK2pQDFdtM5RQZwxsF6hLOGZBk4kRIjcTwF6mCP_sknF12ZzEuBlm6aX1i/pub?start=false&loop=false&delayms=3000
+
+
(this is a public page which just displays the slide: this link can't be used for editing the presentation).
Line 163:
Line 165:
header("Content-type: text/csv");
header("Content-type: text/csv");
−
readfile('<nowiki>https://docs.google.com/spreadsheets/d/e/</nowiki><google_sheet_key>/pub?gid=0&single=true&output=csv');
+
readfile('https://docs.google.com/spreadsheets/d/e/<google_sheet_key>/pub?gid=0&single=true&output=csv');
</syntaxhighlight>
</syntaxhighlight>
where <code><google_sheet_key></code> is the "Publish to Web" key for the google sheet listing the slides and display times (keep this a secret if there are shared links to the presentations in this sheet).
where <code><google_sheet_key></code> is the "Publish to Web" key for the google sheet listing the slides and display times (keep this a secret if there are shared links to the presentations in this sheet).