Services_oEmbed

raw

code.php

1
2
3
4
5
6
7
8
9
10
11
<?php
/**
 *
 * http://embed.ly/code?url=http%3A%2F%2Fp.cweiske.de%2F158
 * http://iframely.com/debug?uri=http%3A%2F%2Fp.cweiske.de%2F150
 */
require_once 'Services/oEmbed.php';
$oEmbed = new Services_oEmbed('http://phorkie.bogo/8');
var_dump($oEmbed->getObject());
?>
 
raw

output.txt

class Services_oEmbed_Object_Rich#4 (2) {
  protected $required =>
  array(4) {
    [0] =>
    string(4) "html"
    [1] =>
    string(5) "width"
    [2] =>
    string(6) "height"
    [3] =>
    string(7) "version"
  }
  protected $object =>
  class stdClass#2 (10) {
    public $type =>
    string(4) "rich"
    public $version =>
    string(3) "1.0"
    public $provider_name =>
    string(7) "phorkie"
    public $provider_url =>
    string(20) "http://phorkie.bogo/"
    public $title =>
    string(8) "test2-f3"
    public $author_name =>
    string(9) "Anonymous"
    public $cache_age =>
    int(86400)
    public $width =>
    int(900)
    public $height =>
    int(900)
    public $html =>
    string(626) "<!-- embedding all files of http://phorkie.bogo/8 -->
<link rel="stylesheet" href="http://phorkie.bogo/css/embed.css"/>
<div class="phork" id="8">
    <div class="phork-file">
 <div class="phork-content">
  <style type="text/css"></style><div class="code"><table class="txt"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
</pre></td><td class="de1"><pre class="de1">file2</pre></td></tr></tbody></table></div>
 </div>
 <div class="phork-meta">
  <a href="http://phorkie.bogo/8/raw/phork1.txt" style="fl"...
  }
}
Christian Weiske Christian Weiske
owner

History