If this the new format expected from a module implemented hook_gsitemap?

function mybox_gsitemap() {
  ...  
  $entries = array();
  foreach ($hits as $hit) {
    $entry = array();
    $entry['#loc'] = "http://www.../mybox/" . $hit->messageid;  // url
    $entry['#lastmod'] = strtotime($date); // unix seconds
    $entry['#changefreq'] = "30000000";    // seconds
    $entry['#priority'] = 0.6;
    $entries[] = $entry;
  }

  return $entries;
}

I was using an xml style date string and the text changefreq like 'yearly' and they stopped working at some point.

Comments

darren oh’s picture

Status: Active » Closed (works as designed)

That's correct. You can also submit a complete site to be parsed and included. Complete documentation is in docs/gsitemap.php.