Skip to content
forked from jkphl/micrometa

A PHP meta parser for extracting embedded micro information out of HTML documents, currently supporting Microformats (1 + 2) and W3C Microdata. Created by Joschi Kuphal (@jkphl), licensed under the terms of the MIT license.

License

Notifications You must be signed in to change notification settings

wawagit/micrometa

 
 

Repository files navigation

Micrometa Parser

(Symfony'ish fork of https://github.com/jkphl/micrometa)

Installation

Install it with Composer:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/wawagit/micrometa"
        }
    ],
    "require": {
        "jkphl/micrometa": "0.3.*@dev"
    }
}

Add this to your autoload.php:

$loader->add('Jkphl', __DIR__.'/../vendor/jkphl/micrometa/src');

Usage

$micrometaParser = new \Jkphl\Micrometa($uri);
$micrometaObjectData    = $micrometaParser->toObject();

About

A PHP meta parser for extracting embedded micro information out of HTML documents, currently supporting Microformats (1 + 2) and W3C Microdata. Created by Joschi Kuphal (@jkphl), licensed under the terms of the MIT license.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.9%
  • HTML 2.8%
  • JavaScript 1.3%