{
    "items": [
        {
            "type": [
                "h-entry"
            ],
            "properties": {
                "name": [
                    "Improving the php-mf2 parser"
                ],
                "url": [
                    "https://microformats.org/2017/06/22/improving-the-php-mf2-parser"
                ],
                "updated": [
                    "2017-06-22T09:13:53"
                ],
                "content": [
                    {
                        "html": "<p>During the past year, the popular <a href=\"https://github.com/indieweb/php-mf2\">php-mf2</a> microformats parser has received quite a few improvements. My site runs ProcessWire and one of the plugins for it uses php-mf2, so I have been spending some time on it.</p>\n<p>My own experience with microformats started when I discovered the <a href=\"http://microformats.org/wiki/hcard\">hCard microformat</a>. I was impressed with the novelty of adding some simple HTML classes around contact information and having a browser extension parse it into an address book. Years later, when I started to get involved in the IndieWeb community, I learned a lot more about microformats2 and they became a key building block of my personal site.</p>\n<p>php-mf2 is now much better at backwards-compatible parsing of microformats1. This is important because software should be able to consistently consume content whether it\u2019s marked up with microformats1, microformats2, or a combination. An experimental feature for parsing language attributes has also been added. Finally, it\u2019s now using the microformats test suite. Several other parsers use this test suite as well. This will make it easier to catch bugs and improve all of the different parsers.</p>\n<p>php-mf2 is a stable library that\u2019s ready to be installed in your software to start consuming microformats. It is currently used in <a href=\"https://withknown.com\">Known</a>, <a href=\"https://wordpress.org/plugins/semantic-linkbacks/\">WordPress plugins</a>, and <a href=\"https://modules.processwire.com/modules/webmention/\">ProcessWire plugins</a> for richer social interactions. It\u2019s also used in tools like <a href=\"https://github.com/aaronpk/XRay\">XRay</a> and <a href=\"https://microformats.io\">microformats.io</a>. I\u2019m looking forward to more improvements to php-mf2 in the coming year as well as more software using it!</p>\n<p>Original published at: <a href=\"https://gregorlove.com/2017/06/improving-the-php-mf2-parser/\" rel=\"canonical\">https://gregorlove.com/2017/06/improving-the-php-mf2-parser/</a></p>",
                        "value": "During the past year, the popular php-mf2 microformats parser has received quite a few improvements. My site runs ProcessWire and one of the plugins for it uses php-mf2, so I have been spending some time on it.\nMy own experience with microformats started when I discovered the hCard microformat. I was impressed with the novelty of adding some simple HTML classes around contact information and having a browser extension parse it into an address book. Years later, when I started to get involved in the IndieWeb community, I learned a lot more about microformats2 and they became a key building block of my personal site.\nphp-mf2 is now much better at backwards-compatible parsing of microformats1. This is important because software should be able to consistently consume content whether it\u2019s marked up with microformats1, microformats2, or a combination. An experimental feature for parsing language attributes has also been added. Finally, it\u2019s now using the microformats test suite. Several other parsers use this test suite as well. This will make it easier to catch bugs and improve all of the different parsers.\nphp-mf2 is a stable library that\u2019s ready to be installed in your software to start consuming microformats. It is currently used in Known, WordPress plugins, and ProcessWire plugins for richer social interactions. It\u2019s also used in tools like XRay and microformats.io. I\u2019m looking forward to more improvements to php-mf2 in the coming year as well as more software using it!\nOriginal published at: https://gregorlove.com/2017/06/improving-the-php-mf2-parser/",
                        "lang": "en-US"
                    }
                ],
                "author": [
                    {
                        "type": [
                            "h-card"
                        ],
                        "properties": {
                            "name": [
                                "gRegor Morrill"
                            ],
                            "url": [
                                "https://gregorlove.com/"
                            ],
                            "photo": [
                                {
                                    "value": "http://1.gravatar.com/avatar/aca81ab5bf69a4626c91edc811cea208?s=16&d=mm&r=pg",
                                    "alt": ""
                                }
                            ]
                        },
                        "lang": "en-US",
                        "value": "gRegor Morrill"
                    }
                ]
            },
            "id": "post-469",
            "lang": "en-US"
        }
    ],
    "rels": {
        "shortcut": [
            "http://microformats.org/favicon.ico"
        ],
        "icon": [
            "http://microformats.org/favicon.ico",
            "https://microformats.org/media/2020/06/microformats-logo-150x150.png",
            "https://microformats.org/media/2020/06/microformats-logo.png"
        ],
        "profile": [
            "http://microformats.org/profile/specs",
            "http://microformats.org/profile/hatom"
        ],
        "dns-prefetch": [
            "http://s.w.org"
        ],
        "alternate": [
            "https://microformats.org/feed",
            "https://microformats.org/comments/feed",
            "https://microformats.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fmicroformats.org%2F2017%2F06%2F22%2Fimproving-the-php-mf2-parser",
            "https://microformats.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fmicroformats.org%2F2017%2F06%2F22%2Fimproving-the-php-mf2-parser&format=xml"
        ],
        "stylesheet": [
            "http://microformats.org/wordpress/wp-content/plugins/openid/f/openid.css?ver=519",
            "http://microformats.org/wordpress/wp-includes/css/dist/block-library/style.min.css?ver=5.4.19",
            "http://microformats.org/wordpress/wp-content/themes/microformats/style.css?ver=1.0",
            "http://microformats.org/wordpress/wp-content/themes/microformatscss/print.css?ver=1.0"
        ],
        "https://api.w.org/": [
            "https://microformats.org/wp-json/"
        ],
        "EditURI": [
            "https://microformats.org/wordpress/xmlrpc.php?rsd"
        ],
        "wlwmanifest": [
            "http://microformats.org/wordpress/wp-includes/wlwmanifest.xml"
        ],
        "prev": [
            "https://microformats.org/2017/06/20/evolving-for-12-years"
        ],
        "next": [
            "https://microformats.org/2018/06/21/happy-13th-to-microformats-org"
        ],
        "canonical": [
            "https://microformats.org/2017/06/22/improving-the-php-mf2-parser",
            "https://gregorlove.com/2017/06/improving-the-php-mf2-parser/"
        ],
        "shortlink": [
            "https://microformats.org/?p=469"
        ],
        "apple-touch-icon": [
            "https://microformats.org/media/2020/06/microformats-logo.png"
        ],
        "bookmark": [
            "https://microformats.org/2017/06/22/improving-the-php-mf2-parser"
        ]
    },
    "rel-urls": {
        "http://microformats.org/favicon.ico": {
            "type": "image/ico",
            "rels": [
                "icon",
                "shortcut"
            ]
        },
        "http://microformats.org/profile/specs": {
            "rels": [
                "profile"
            ]
        },
        "http://microformats.org/profile/hatom": {
            "rels": [
                "profile"
            ]
        },
        "http://s.w.org": {
            "rels": [
                "dns-prefetch"
            ]
        },
        "https://microformats.org/feed": {
            "title": "Microformats \u00bb Feed",
            "type": "application/rss+xml",
            "rels": [
                "alternate"
            ]
        },
        "https://microformats.org/comments/feed": {
            "title": "Microformats \u00bb Comments Feed",
            "type": "application/rss+xml",
            "rels": [
                "alternate"
            ]
        },
        "http://microformats.org/wordpress/wp-content/plugins/openid/f/openid.css?ver=519": {
            "media": "all",
            "type": "text/css",
            "rels": [
                "stylesheet"
            ]
        },
        "http://microformats.org/wordpress/wp-includes/css/dist/block-library/style.min.css?ver=5.4.19": {
            "media": "all",
            "type": "text/css",
            "rels": [
                "stylesheet"
            ]
        },
        "http://microformats.org/wordpress/wp-content/themes/microformats/style.css?ver=1.0": {
            "media": "screen",
            "type": "text/css",
            "rels": [
                "stylesheet"
            ]
        },
        "http://microformats.org/wordpress/wp-content/themes/microformatscss/print.css?ver=1.0": {
            "media": "print",
            "type": "text/css",
            "rels": [
                "stylesheet"
            ]
        },
        "https://microformats.org/wp-json/": {
            "rels": [
                "https://api.w.org/"
            ]
        },
        "https://microformats.org/wordpress/xmlrpc.php?rsd": {
            "title": "RSD",
            "type": "application/rsd+xml",
            "rels": [
                "EditURI"
            ]
        },
        "http://microformats.org/wordpress/wp-includes/wlwmanifest.xml": {
            "type": "application/wlwmanifest+xml",
            "rels": [
                "wlwmanifest"
            ]
        },
        "https://microformats.org/2017/06/20/evolving-for-12-years": {
            "title": "Evolving for 12 Years",
            "rels": [
                "prev"
            ]
        },
        "https://microformats.org/2018/06/21/happy-13th-to-microformats-org": {
            "title": "Happy 13th to microformats.org!",
            "rels": [
                "next"
            ]
        },
        "https://microformats.org/2017/06/22/improving-the-php-mf2-parser": {
            "title": "Permanent Link to Improving the php-mf2 parser",
            "text": "\n\t\t\t \n\t\t\tThursday, June 22nd, 2017 at 9:13 am\t\t\t",
            "rels": [
                "bookmark",
                "canonical"
            ]
        },
        "https://microformats.org/?p=469": {
            "rels": [
                "shortlink"
            ]
        },
        "https://microformats.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fmicroformats.org%2F2017%2F06%2F22%2Fimproving-the-php-mf2-parser": {
            "type": "application/json+oembed",
            "rels": [
                "alternate"
            ]
        },
        "https://microformats.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fmicroformats.org%2F2017%2F06%2F22%2Fimproving-the-php-mf2-parser&format=xml": {
            "type": "text/xml+oembed",
            "rels": [
                "alternate"
            ]
        },
        "https://microformats.org/media/2020/06/microformats-logo-150x150.png": {
            "rels": [
                "icon"
            ]
        },
        "https://microformats.org/media/2020/06/microformats-logo.png": {
            "rels": [
                "apple-touch-icon",
                "icon"
            ]
        },
        "https://gregorlove.com/2017/06/improving-the-php-mf2-parser/": {
            "text": "https://gregorlove.com/2017/06/improving-the-php-mf2-parser/",
            "rels": [
                "canonical"
            ]
        }
    },
    "debug": {
        "package": "https://packagist.org/packages/mf2/mf2",
        "source": "https://github.com/indieweb/php-mf2",
        "version": "v0.5.0",
        "note": [
            "This output was generated from the php-mf2 library available at https://github.com/indieweb/php-mf2",
            "Please file any issues with the parser at https://github.com/indieweb/php-mf2/issues",
            "Using the Masterminds HTML5 parser"
        ]
    }
}