Microdata-JS icon indicating copy to clipboard operation
Microdata-JS copied to clipboard

The `.properties` is not working properly (tested on Chromium)

Open mvaled opened this issue 12 years ago • 3 comments

Hi,

I'm trying to use your shims. My currents scripts includes:

<script src="{{STATIC_URL}}js/shims/a.js"></script>
<script>
  window.microdata_liveProperties=true;
</script>
<script src="{{STATIC_URL}}js/shims/microdata-js.js">

(Not yet prepared to IE8+).

On Chromium (Version 28.0.1500.71 Ubuntu 13.04 (28.0.1500.71-0ubuntu1.13.04.1)) however, the properties is not working properly

This is what get in the browser's console:

document.getItems()[0].properties
[]

But, see that there are indeed itemprops:

$(document.getItems()[0]).find('[itemprop]').size()
14

Furthermore, on Firefox (no shim needed since they support the Microdata API) the properties work as excepted.

mvaled avatar Nov 11 '13 18:11 mvaled

Will fix it soon. But now I am in hospital, so sorry for delay. Please provide your htnl-file with microdata markup

termi avatar Nov 28 '13 14:11 termi

You may see the microdata in this site: http://www.cubaautrement.com/products/festival-jazz-plaza/

On the site, I have not deployed your shims yet. In my development branch I'm using a jQuery plugin that has a microdata API.

Hope you get well soon.

mvaled avatar Nov 28 '13 15:11 mvaled

Any update on this?

edsu avatar Apr 01 '14 15:04 edsu