Skip to content

Instantly share code, notes, and snippets.

@dissolve
Created November 22, 2014 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dissolve/2911540317b48514f4c6 to your computer and use it in GitHub Desktop.
Save dissolve/2911540317b48514f4c6 to your computer and use it in GitHub Desktop.
Parsing
<span class="h-entry"><area class="p-category h-card" href="http://personB.example.com" alt="Person Bee" shape="rect" coords="100,100,120,120"></span>
Array
(
[items] => Array
(
[0] => Array
(
[type] => Array
(
[0] => h-entry
)
[properties] => Array
(
[category] => Array
(
[0] => Array
(
[type] => Array
(
[0] => h-card
)
[properties] => Array
(
[name] => Array
(
[0] => Person Bee
)
[url] => Array
(
[0] => http://personB.example.com
)
)
[shape] => rect
[coords] => 100,100,120,120
[value] => Person Bee
)
)
[name] => Array
(
[0] => Person Bee
)
[url] => Array
(
[0] => http://personB.example.com
)
)
)
)
[rels] => Array
(
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment