Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: 160c599309
...
compare: 250baf59d2
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 4 deletions.
  1. +6 −4 index.php
View
10 index.php
@@ -1,5 +1,7 @@
<?php
+$DOMAIN = "klout-raplet.herokuapp.com";
+
//Parameters in the request from Rapportive to our Raplet
$callback = $_GET['callback'];
$parameters = array();
@@ -13,8 +15,8 @@
$parameters['name'] = "Kloutlet";
$parameters['description'] = "Klout + Rapportive = Kloutlet. View the sender's Klout score within Gmail.";
$parameters['welcome_text'] = "<p>View sender's Klout score. Visit Kloutlet.com for more info.</p>";
- $parameters['icon_url'] = "http://cold-winter-3768.herokuapp.com/images/klout-icon.png";
- $parameters['preview_url'] = "http://cold-winter-3768.herokuapp.com/images/preview.png";
+ $parameters['icon_url'] = "http://$DOMAIN/images/klout-icon.png";
+ $parameters['preview_url'] = "http://$DOMAIN/images/preview.png";
$parameters['provider_name'] = "Jordan Lyall";
$parameters['provider_url'] = "http://about.me/jordan/";
$parameters['data_provider_name'] = "Klout";
@@ -50,7 +52,7 @@
$kscore = round($val);
//Our response
- $parameters['html'] = "<p><a href=\"http://klout.com/".htmlentities($twitter)."\"> <img style=\"padding-right:5px;\" src=\"https://cold-winter-3768.herokuapp.com/images/kloutlet-sq.png\"> ".htmlentities($kscore)." | <span id=\"name\">@".htmlentities($twitter)." </span></a></p> ";
+ $parameters['html'] = "<p><a href=\"http://klout.com/".htmlentities($twitter)."\"> <img style=\"padding-right:5px;\" src=\"https://$DOMAIN/images/kloutlet-sq.png\"> ".htmlentities($kscore)." | <span id=\"name\">@".htmlentities($twitter)." </span></a></p> ";
}
else
@@ -73,4 +75,4 @@
echo $object;
-?>
+?>

No commit comments for this range

Something went wrong with that request. Please try again.