lawrencewoodman / mida

A Microdata parser/extractor library for Ruby
http://lawrencewoodman.github.io/mida
Other
77 stars 18 forks source link

Feature: element field on Item #7

Open nyarly opened 11 years ago

nyarly commented 11 years ago

Would it be possible to get the Nokogiro Element that the itemscope is on in an Item? The DOM Microdata interface returns a NodeList, and it would useful to be able to be able to access the elements themselves. I'm specifically considering circumstances.

lawrencewoodman commented 11 years ago

If I understand what your asking, this goes beyond the Microdata spec, which is meant to be independent of the elements used to present it.