Created
June 24, 2017 19:26
-
-
Save electricgecko/f15e70da8cae2b832e64e44bae66e58c to your computer and use it in GitHub Desktop.
Simple rotonde feed emitter
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 | |
header("Access-Control-Allow-Origin: *"); | |
header("Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS"); | |
header("Access-Control-Allow-Headers: *"); | |
$f = 'feed.json'; | |
$feed = json_decode(file_get_contents($f), true); | |
echo json_encode($feed, JSON_UNESCAPED_SLASHES); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment