Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --user-agent "Googlebot/2.1 (+http://www.google.com/bot.html)" -v $@ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function listFilesInFolder() { | |
| var folder = DocsList.getFolder("Maudesley Debates"); | |
| var contents = folder.getFiles(); | |
| var file; | |
| var data; | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| sheet.clear(); | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function urlMatchesOneOfPatterns(url, patterns) { | |
| for (var i = 0; i < patterns.length; i++) { | |
| var pattern = patterns[i]; | |
| if (url.match(pattern)) { | |
| return true; | |
| } | |
| } | |
| return false; | |
| } |