Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 215 Bytes
<?php
include 'overcast.php';
$id = isset($_GET['id']) ? $_GET['id'] : NULL;
if (substr($id, 0, 1) == "+") {
echo json_encode(fetchEpisode($id));
} else {
echo json_encode(fetchPodcast($id));
}
?>