<?php /* * @author Hensel Hartmann, simpeligent.ch * @version 2.0 * @copyright Hensel Hartmann, simpeligent.ch * @license GPL * @package OpenGraphReader with Template Output * filename: get.og.as.html.php * date: 2011-12-31 * */ require_once('class.opengraphreader.php'); $p = new opengraphreader(); $p->setURL($_GET['url']); $arr = $p->getOG(); echo json_encode($arr); ?>