Google and gigpress dont get along

  • Problem
  • Updated 4 years ago
  • Acknowledged
Google and Gigpress dont get a long together... using the google http://www.google.com/webmasters/tool... tool i checked the page that has gigpress on it and i get all kinda of errors..

Example)

hcalendar
date start = 2011-08-01
summary = Ana Lobe in Bloomfield Hills
location
Geiger Classic Ballet Academy
date end = 2011-08-05
description = Box office: 248.334.1300. Address: 782 Denison Court. Venue phone: 248.334.1300. We are proud to announce that Ana Lobe will be joining us to teacher the Summer Intensive Program from August...
Warning: In order to generate a preview, the start date and summary are required. Additionally, if the webpage contains a list of events, the URL is required. Otherwise, if the webpage is about a single event, the location is required. See the events help page for more information.

hcalendar
Warning: At least one field must be set for Hcalendar.
Warning: Missing required field "dtstart".
Warning: Missing required field "summary".

how is that fixed
Photo of

  • 3 Posts
  • 0 Reply Likes
  • confused and sad

Posted 4 years ago

  • 1
Photo of Derek

Derek, Developer

  • 2043 Posts
  • 105 Reply Likes
Hmm, well it appears as though Google requires a 'url' in the hCalendar markup for each event.

You can try putting this in your template (shows-list.php), somewhere in the 'gigpress-date' cell preferably, and it should fix most of Google's complaining.

<span class="hide url"><?php echo $showdata['url']; ?></span>

I'll think about a better solution for feeding Google the URL of each show though.

It's also seeing extra hCalendars that aren't there and are empty for some reason, but I'm not sure at first glance why that is.
Photo of

  • 3 Posts
  • 0 Reply Likes
o there are two other events. i just did a quick cute and paste.
Photo of

  • 3 Posts
  • 0 Reply Likes
Thank you Derek that solved the error of google not even reading the microformat

i figured you would still like to see the updated output info from google

hcalendar
date start = 2011-08-01
summary = Ana Lobe in Bloomfield Hills
location
Geiger Classic Ballet Academy
date end = 2011-08-05
description = Box office: 248.334.1300. Address: 782 Denison Court. Venue phone: 248.334.1300. We are proud to announce that Ana Lobe will be joining us to teacher the Summer Intensive Program from August...
Warning: Event urls are pointing to a different domain than the base url.
hcalendar
Warning: At least one field must be set for Hcalendar.
Warning: Missing required field "dtstart".
Warning: Missing required field "summary".
hcalendar
date start = 2011-08-08
summary = Deborah Hadley in Bloomfield Hills
location
Geiger Classic Ballet Academy
date end = 2011-08-12
description = Box office: 248.334.1300. Address: 782 Denison Court. Venue phone: 248.334.1300. We are proud to announce that Deborah Hadley will be joining us to teacher the Summer Intensive Program from...
Warning: Event urls are pointing to a different domain than the base url.
hcalendar
Warning: At least one field must be set for Hcalendar.
Warning: Missing required field "dtstart".
Warning: Missing required field "summary".
hcalendar
date start = 2011-08-15
summary = Roger Van Fleteren in Bloomfield Hills
location
Geiger Classic Ballet Academy
date end = 2011-08-19
description = Box office: 248.334.1300. Address: 782 Denison Court. Venue phone: 248.334.1300. We are proud to announce that Roger Van Fleteren will be joining us to teacher the Summer Intensive Program...
Warning: Event urls are pointing to a different domain than the base url.
hcalendar
Warning: At least one field must be set for Hcalendar.
Warning: Missing required field "dtstart".
Warning: Missing required field "summary".
hfeed
hentry
entry-title = Events
entry-content = Ana Lobe Date City Venue Country 08/01/11 - 08/05/11 Ana Lobe in Bloomfield Hills Geiger Classic Ballet Academy United States Add Add to Google Calendar Download iCal Box office: 248.334.1300....
Warning: Missing required field "updated".
Warning: Missing required hCard "author".



thats what i get now

googles example



Minus the event url issue...

there is still some errors, but that addition line u gave me helps me out.

THANK!