Open aspencer opened 13 years ago
The first location or the first event?
Only the first event. Sorry for being unclear.
In The example above (not my code but a decent example), if you use the Google Rich Snippets Testing Tool (http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fgrasshopperinn.co.uk%2Fwhats-on&view=), 3 events are displayed instead of the 1 from michromeformats.
The locations in the example are using hcards as their location fields, but I can confirm with my code (not live yet) that the same thing is happening from "vanilla" locations. Hope this helps.
I think I have a related issue: it seems the location
element is not being parsed properly. In my mark-up, I have the following:
<p class="location">Malaga, Spain</p>
But it, and any other location
elements, don't seem to be getting parsed correctly, as when I use the extension to export to Google Calendar, the entry in my Calendar is [object Object]
and not "Malaga, Spain" as would be expected.
When you include the 'location' property on a list of events, the extension only displays the first one.
Example: http://grasshopperinn.co.uk/whats-on