technosophos/querypath — Issue #68: Support microdata attributes search
Author: smarek
Created: 2012-01-29 13:04:02+00:00
State: open

When having document, with custom Schema defining microdata structure, I'd like to filter it like this:

$qp->find('[itemprop=description]')->toArray();
// or
$qp->find('p[itemprop=description]')->toArray();

Schema like this http://schema.org/Movie

Code structure like we can find for example on IMDb Title Detail page eg. http://www.imdb.com/title/tt0111161/