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 | |
$patterns = array( | |
'{title}' => '60: The Winds of Winter', | |
'{desc}' => 'Information for Episode 60: The Winds of Winter of Game of Thrones on HBO, featuring videos, images, synopsis and schedule.', | |
'{tags}' => 'HBO, Game of Thrones, Winter Is Coming, Clash of Kings George R.R. Martin', | |
'{image}' => 'http://i.lv3.hbo.com/assets/images/series/game-of-thrones/episodes/6/60/episode-60-1024.jpg', | |
'{source}' => 'http://www.hbo.com/game-of-thrones/episodes/6/60-60-the-winds-of-winter/index.html', | |
); | |
$imdbData = json_decode(file_get_contents('http://www.omdbapi.com/?i=tt0944947&plot=full&r=json'), true); | |
foreach ($imdbData as $key => $value) { |
NewerOlder