Simple-Calendar icon indicating copy to clipboard operation
Simple-Calendar copied to clipboard

Google structured data corrections / fix schema.org errors

Open binjetztauchimnetz opened this issue 9 years ago • 12 comments

before: <span class="simcal-event-start simcal-event-start-time" data-event-start="1460563200" data-event-format="H:i" itemprop="startDate" data-content="2016-04-13T19:00:00+0300">19:00</span> after: <span class="simcal-event-start simcal-event-start-time" data-event-start="1460563200" data-event-format="H:i" itemprop="startDate" content="2016-04-13T19:00:00+0300">19:00</span>

data-content= is not working anymore and events are no longer crawled due to errors below.

reproduce:

  1. http://demo.simplecalendar.io/list-view
  2. in https://developers.google.com/structured-data/testing-tool
  3. Errors: location [Place]: address: missing and required name: missing and required startDate: missing and required

fix: events-builder.php:714 'itemprop="' . $bound . 'Date" data-content="' . $event_dt->toIso8601String() . '" content="' . $event_dt->toIso8601String() . '">'

binjetztauchimnetz avatar Apr 10 '16 15:04 binjetztauchimnetz

@binjetztauchimnetz If you would like to make a PR for this I would be glad to look it over and get it added in.

nickyoung87 avatar May 07 '16 18:05 nickyoung87

@pderksen I think this is the biggest one for 3.1.2. A few users asking about this now.

nickyoung87 avatar Jun 17 '16 17:06 nickyoung87

Also a new ref: https://wordpress.org/support/topic/structured-data-testing-tool-6

nickyoung87 avatar Aug 24 '16 17:08 nickyoung87

location, location.name, location.address (type PostalAddress) all required. Need to use event name where location data doesn't exist.

Refs:

  • http://schema.org/Event
  • https://developers.google.com/search/docs/data-types/events

pderksen avatar Sep 07 '16 17:09 pderksen

  • https://github.com/moonstonemedia/Simple-Calendar/commit/5aa5dc2ab6dc1da151e31d35f2c2adb5b57a92c6
  • https://github.com/moonstonemedia/Simple-Calendar/commit/7e2e94d158aa3052595bd3394006712f5a083e69
  • https://github.com/moonstonemedia/Simple-Calendar/commit/993bbe53e69bd687fd090d3d0dfd4eb4e8756b87

pderksen avatar Sep 07 '16 18:09 pderksen

Fixed. Tested on test sites & demo site, both list & grid views using https://developers.google.com/structured-data/testing-tool

pderksen avatar Sep 07 '16 19:09 pderksen

@pderksen Looks like there is still possibly an issue here: https://wordpress.org/support/topic/structured-data-testing-tool-6/#post-8179729

Will let you re-open as you see fit.

nickyoung87 avatar Sep 20 '16 16:09 nickyoung87

Hi @nickyoung87, is this issue already fixed? I am still getting errors on Google Search Console for both location and name (version 3.1.9). Thanks in advance!

fer-sd avatar Jun 06 '17 14:06 fer-sd

No this is not quite fixed yet. We tried making it better but there are still some things not working properly.

nickyoung87 avatar Jun 13 '17 17:06 nickyoung87

Thanks a lot @nickyoung87, please let us know when it is fixed. Next release maybe?

fer-sd avatar Jun 15 '17 15:06 fer-sd

@fer-sd Thanks for understanding. I honestly am not sure when this will get done for sure and I don't want to promise a date and potentially let down on that promise.

nickyoung87 avatar Jun 21 '17 07:06 nickyoung87

Need to also look into missing Structured data fields as well such as;

  • eventAttendanceMode
  • image
  • performer
  • eventStatus
  • organizer
  • offers

Ref: https://wordpress.org/support/topic/structured-data-issues-reported-by-google-search-console/

gacharijohn avatar Aug 22 '23 09:08 gacharijohn