Click this button to launch WordPress Playground with the XFN demo:
๐ Launch Playground DemoNote: This uses the GitHub version after you push
To test your local blueprint before pushing to GitHub:
cd /Users/crobertson/Downloads/xfn/link-extension-for-xfn
python3 -m http.server 8000
https://playground.wordpress.net/?blueprint-url=http://localhost:8000/assets/blueprints/blueprint.json
/xfn-demo/rel="..." attributesrel="friend met colleague"data-xfn-rel="friend met"Once Playground loads:
<a href="..." rel="colleague met co-worker"><a ... rel="friend met colleague"><figure ... data-xfn-rel="friend met">If the demo doesn't load:
If XFN attributes are missing:
| Element | Expected HTML |
|---|---|
| Sarah link | rel="colleague met co-worker" |
| John link | rel="friend met" |
| Personal website | rel="me" |
| Brother link | rel="sibling met" |
| Button | rel="friend met colleague" |
| YouTube embed | data-xfn-rel="friend met" |