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
var request = require('request'); | |
module['exports'] = function echoHttp (hook) { | |
var res = {}; | |
res.params = hook.params; | |
var bv_data = hook.params; | |
//Build the Follow Up Boss Data Payload from the BV Payload. | |
var fub_data = { | |
"source": "BetterVoice.com", |
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
/* This generates a manifest file for use with the cordova-app-loader tool: | |
* https://github.com/markmarijnissen/cordova-app-loader | |
*/ | |
/* | |
* You can add settings to your grunt initConfig | |
//jsonmanifest settings | |
jsonmanifest: { | |
generate: { |
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
def blog(request, url=""): | |
remote = "http://YOURTUMBLRSITE.tumblr.com" | |
local = ""http://www.example.com/blog" | |
conn = httplib2.Http() | |
#This is to support Tumblr's search. | |
if request.GET.get("q"): | |
urlencode = lambda s: urllib.urlencode({'x': s})[2:] | |
url = url+"/"+urlencode(request.GET.get("q")) | |
proxy_url = "%s/%s" % (remote, url) |