Skip to content Skip to sidebar Skip to footer

How To Find And Read Metadata Using Jquery (schema.org Microformat)?

I'm building a Google Maps application and I'd like to read out the metadata, as specified by schema.org, from my HTML to plot my map markers. For example:
  • ).attr("content"); var longitude = $('.geo meta[itemprop="longitude"]').attr("content"); });
  • Solution 2:

    You can get at the data like so:

    $('meta[itemprop="latitude"]').attr('content')

    Post a Comment for "How To Find And Read Metadata Using Jquery (schema.org Microformat)?"