Created
February 20, 2014 11:36
-
-
Save jonnybarnes/9111718 to your computer and use it in GitHub Desktop.
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 | |
include('../vendor/mf2/mf2/Mf2/Parser.php'); | |
use \Mf2; | |
$html = file_get_contents('http://localhost/notes-id.html'); | |
$mfJSON = new \Mf2\parse($html); | |
var_dump($mfJSON); | |
//outputs Fatal error: Class 'Mf2\parse' not found in /Users/jonny/git/jbl4/public/test.php on line 9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment