Comments (2)
The twitter mapping doesn't work and will be removed in the next (first) major release. Check out https://github.com/indieweb/php-mf2-shim, that’s what aaronpk and myself are using in production. I’ll write up a proper readme with usage examples tomorrow.
from php-mf2.
So “tomorrow” took a little longer than I expected, but over the last month or so mf2-shim has become suitable for use, with mappings for twitter.com and facebook.com, as well as installation and usage instructions: https://github.com/indieweb/php-mf2-shim
php-mf2 v0.2.0 removes the ability to add custom class maps, mf2-shim is now the official way of shimming support for sites which don’t use mf2 yet.
Let me know if you need any help getting mf2 shim set up!
from php-mf2.
Related Issues (20)
- Try to parse any file with the HTML parser HOT 1
- ParsefromID should include the element it is Parsing HOT 1
- wrong order of property values (if nested object is present?)
- parse an img element for src and alt HOT 1
- Correcting tags in content HOT 7
- Parser returns empty string/unicode entity HOT 3
- Migrating from travis-ci.org due to shutdown HOT 1
- Review test matrix and fix failing tests
- Non-recognized root class aborts element processing HOT 6
- Improve main parser entry point API and config
- Proposal: enable language parsing by default
- Add img srcset parsing
- Fix parsing class properties with newlines
- Properties not parsed when using Tailwind height class HOT 2
- This HTML fragment produces an endless loop in public function parse_recursive HOT 1
- properties with invalid names are not properly ignored HOT 5
- mb_convert_encoding() throws error in PHP 8.1 HOT 1
- Introduce Metaformats Support
- Remove unused deprecated functions
- Improve parse_url usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-mf2.