Trying build a storify feed on my site.
This works by pulling a story from the api (see http://dev.storify.com/api/stories) and parsing the returned json.
Now firstly im finding it difficult to get the correct elements from the json.
Here’s my code:
$story = get_file_contents('http://api.storify.com/v1/stories/storify/testimonials');
$data = json_decode($story);
echo $data->content...
Now I’m stuck after the bit about content. The problem is that the json is so huge and without line breaks I find it hard to see the tree structure and not sure what is a branch of which element.
Secondly, is this the best way of handling such a large json file? Couldn’t this potentially eat up huge amounts of memory?