Step 1)
Create a new Github repo. Name it: koop-provider-remote-geojson
Step 2)
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>URL-Encoder for koop-provider-remote-geojson</title> | |
<link rel="stylesheet" href="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.2.5/css/calcite-web.min.css"> | |
<script src="https://s3-us-west-1.amazonaws.com/patterns.esri.com/files/calcite-web/1.2.5/js/calcite-web.min.js"></script> | |
<style> | |
textarea{ | |
height: 200px |
Step 1)
Create a new Github repo. Name it: koop-provider-remote-geojson
Step 2)
<?xml version="1.0" encoding="UTF-8"?><gpx creator="Wikiloc - https://www.wikiloc.com" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><trk><name>Lanzarote - Playa Blanca - Los Ajaches - Papagayos</name><cmt></cmt><desc></desc><trkseg><trkpt lat="28.868358" lon="-13.827063"><ele>105.9</ele><time>2014-04-17T16:41:52Z</time></trkpt><trkpt lat="28.868456" lon="-13.827006"><ele>98.7</ele><time>2014-04-17T16:42:13Z</time></trkpt><trkpt lat="28.868458" lon="-13.827008"><ele>97.7</ele><time>2014-04-17T16:42:23Z</time></trkpt><trkpt lat="28.868491" lon="-13.827037"><ele>95.8</ele><time>2014-04-17T16:42:35Z</time></trkpt><trkpt lat="28.868495" lon="-13.827001"><ele>96.3</ele><time>2014-04-17T16:42:53Z</time></trkpt><trkpt lat="28.868495" lon="-13.826953"><ele>96.3</ele><time>2014-04-17T16:43:26Z</time></trkpt><trkpt lat="28.868477" lon="-13.826887"><ele>92.9</el |
<?xml version="1.0" encoding="UTF-8"?><gpx creator="Wikiloc - https://www.wikiloc.com" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><trk><name>Lanzarote - Playa Blanca - Los Ajaches - Papagayos</name><cmt></cmt><desc></desc><trkseg><trkpt lat="28.868358" lon="-13.827063"><ele>105.9</ele><time>2014-04-17T16:41:52Z</time></trkpt><trkpt lat="28.868456" lon="-13.827006"><ele>98.7</ele><time>2014-04-17T16:42:13Z</time></trkpt><trkpt lat="28.868458" lon="-13.827008"><ele>97.7</ele><time>2014-04-17T16:42:23Z</time></trkpt><trkpt lat="28.868491" lon="-13.827037"><ele>95.8</ele><time>2014-04-17T16:42:35Z</time></trkpt><trkpt lat="28.868495" lon="-13.827001"><ele>96.3</ele><time>2014-04-17T16:42:53Z</time></trkpt><trkpt lat="28.868495" lon="-13.826953"><ele>96.3</ele><time>2014-04-17T16:43:26Z</time></trkpt><trkpt lat="28.868477" lon="-13.826887"><ele>92.9</el |
A Pen by Raul Jimenez Ortega on CodePen.
// This code requires that you set the ID of the tweet that you want to Like as an input variable called "tweet_id". Learn more at https://zapier.com/help/code/#data-variables | |
// INSTUCTIONS FOR SETTING THESE REQUIRED VARIABLES: After you create a new app at https://apps.twitter.com/, click on the name of the app to open it. Then, select the "Keys and Access Tokens" tab. | |
var twitterApplicationConsumerKey = ''; // Located in the "Application Settings" section | |
var twitterApplicationConsumerSecret = ''; // Located in the "Application Settings" section | |
var twitterApplicationAccessToken = ''; // Located in the "Your Access Token" section | |
var twitterApplicationAccessTokenSecret = ''; // Located in the "Your Access Token" section | |
/* | |
You need to set an inputData param called 'link' | |
with the URL field you want to parse. | |
More info: https://zapier.com/help/code/#data-variables | |
*/ | |
fetch(inputData.link) | |
.then(function(res) { | |
return res.text(); | |
}) | |
.then(function(body) { |