This file contains 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 trigger() { | |
var url = [ | |
"my project", | |
"my project | |
]; | |
for(var x = 0; x<url.length; x++){ | |
var uri = url[x]; | |
try{ | |
UrlFetchApp.fetch(uri); |
This file contains 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
<?php | |
# This grabs the keyword off the url -- index.php?keyword=Clouds | |
$keyword = $_GET['keyword']; | |
# Only do this if we've already passed in a keyword (i.e. it's not blank) | |
if($keyword != "") { | |
# Load the data from Google via cURL | |
$curl_handle = curl_init(); | |
curl_setopt($curl_handle,CURLOPT_URL,"http://ajax.googleapis.com/ajax/services/search/images?v=1.0&imgsz=xlarge&q=".urlencode($keyword)); |